LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ShowerRecoException.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_SHOWERRECOEXCEPTION_H
15
#define RECOTOOL_SHOWERRECOEXCEPTION_H
16
17
#include <exception>
18
#include <string>
19
20
namespace
showerreco
{
25
class
ShowerRecoException
:
public
std::exception
{
26
27
public
:
28
ShowerRecoException
(std::string msg =
""
) :
std
::
exception
()
29
{
30
_msg
=
"\033[93m"
;
31
_msg
+= msg;
32
_msg
+=
"\033[00m"
;
33
}
34
35
virtual
~ShowerRecoException
() throw(){};
36
virtual
const
char
*
what
()
const
throw() {
return
_msg
.c_str(); }
37
38
private
:
39
std::string
_msg
;
40
};
41
42
}
43
#endif
44
// end of doxygen group
showerreco::ShowerRecoException::~ShowerRecoException
virtual ~ShowerRecoException()
Definition:
ShowerRecoException.h:35
showerreco
Definition:
ShowerCalo.cxx:7
std
STL namespace.
showerreco::ShowerRecoException::ShowerRecoException
ShowerRecoException(std::string msg="")
Definition:
ShowerRecoException.h:28
showerreco::ShowerRecoException
Definition:
ShowerRecoException.h:25
showerreco::ShowerRecoException::what
virtual const char * what() const
Definition:
ShowerRecoException.h:36
showerreco::ShowerRecoException::_msg
std::string _msg
Definition:
ShowerRecoException.h:39
fhicl::exception
cet::coded_exception< error, detail::translate > exception
Definition:
exception.h:33
larreco
v09_25_00
source
larreco
ShowerFinder
ShowerReco3D
ShowerRecoException.h
Generated on Thu May 2 2024 20:59:48 for LArSoft by
1.8.11