Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larreco
larreco
ShowerFinder
ShowerReco3D
ShowerRecoException.h
Go to the documentation of this file.
1
/**
2
* \file ShowerRecoException.h
3
*
4
* \ingroup ShowerReco3D
5
*
6
* \brief Class def header for exception classes in ShowerReco3D package
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup ShowerReco3D
12
13
@{*/
14
#ifndef RECOTOOL_SHOWERRECOEXCEPTION_H
15
#define RECOTOOL_SHOWERRECOEXCEPTION_H
16
17
#include <string>
18
#include <exception>
19
20
namespace
showerreco {
21
/**
22
\class ShowerRecoException
23
Generic (base) exception class
24
*/
25
class
ShowerRecoException
:
public
std::exception{
26
27
public
:
28
29
ShowerRecoException
(std::string
msg
=
""
) :
std
::exception()
30
{
31
_msg
=
"\033[93m"
;
32
_msg
+=
msg
;
33
_msg
+=
"\033[00m"
;
34
}
35
36
virtual
~ShowerRecoException
() throw(){};
37
virtual
const
char
*
what
()
const
throw()
38
{
return
_msg
.c_str(); }
39
40
private
:
41
42
std::string
_msg
;
43
};
44
45
}
46
#endif
47
/** @} */
// end of doxygen group
showerreco::ShowerRecoException::~ShowerRecoException
virtual ~ShowerRecoException()
Definition:
ShowerRecoException.h:36
pmtana::std
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition:
UtilFunc.cxx:42
showerreco::ShowerRecoException::ShowerRecoException
ShowerRecoException(std::string msg="")
Definition:
ShowerRecoException.h:29
showerreco::ShowerRecoException
Definition:
ShowerRecoException.h:25
showerreco::ShowerRecoException::what
virtual const char * what() const
Definition:
ShowerRecoException.h:37
showerreco::ShowerRecoException::_msg
std::string _msg
Definition:
ShowerRecoException.h:42
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
Generated by
1.8.5