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
larana
larana
OpticalDetector
OpHitFinder
OpticalRecoException.cxx
Go to the documentation of this file.
1
#include "
OpticalRecoException.h
"
2
//#include "StackTrace.h"
3
namespace
pmtana {
4
5
OpticalRecoException::OpticalRecoException
(
const
std::string&
msg
)
6
:
std
::exception()
7
{
8
// print_stacktrace();
9
_msg
=
"\033[93m EXCEPTION \033[00m\033[95m"
;
10
_msg
+=
msg
;
11
_msg
+=
"\033[00m\n"
;
12
}
13
14
const
char
*
OpticalRecoException::what
()
const
throw()
15
{
return
_msg
.c_str(); }
16
17
}
OpticalRecoException.h
Class def header for exception classes in OpticalDetector package.
pmtana::std
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition:
UtilFunc.cxx:42
pmtana::OpticalRecoException::what
virtual const char * what() const
Definition:
OpticalRecoException.cxx:14
pmtana::OpticalRecoException::_msg
std::string _msg
Definition:
OpticalRecoException.h:35
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
pmtana::OpticalRecoException::OpticalRecoException
OpticalRecoException(const std::string &msg="")
Definition:
OpticalRecoException.cxx:5
Generated by
1.8.5