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
lardataobj
lardataobj
MCBase
MCBaseException.h
Go to the documentation of this file.
1
/**
2
* \file MCBaseException.h
3
*
4
* \ingroup MCBase
5
*
6
* \brief Class def header for exception classes for MC data products
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup MCBase
12
13
@{*/
14
#ifndef MCBASEEXCEPTION_H
15
#define MCBASEEXCEPTION_H
16
17
#include <string>
18
#include <exception>
19
20
namespace
sim {
21
/**
22
\class MCBaseException
23
Simple exception class for MCBase package
24
*/
25
class
MCBaseException
:
public
std::exception{
26
27
public
:
28
29
MCBaseException
(std::string
msg
=
""
) :
std
::exception(),
_msg
(
msg
)
30
{}
31
32
virtual
~MCBaseException
() throw(){}
33
virtual
const
char
*
what
()
const
throw()
34
{
return
_msg
.c_str(); }
35
36
private
:
37
38
std::string
_msg
;
39
};
40
41
}
42
#endif
43
/** @} */
// end of doxygen group
44
pmtana::std
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition:
UtilFunc.cxx:42
sim::MCBaseException
Definition:
MCBaseException.h:25
sim::MCBaseException::what
virtual const char * what() const
Definition:
MCBaseException.h:33
sim::MCBaseException::_msg
std::string _msg
Definition:
MCBaseException.h:38
sim::MCBaseException::~MCBaseException
virtual ~MCBaseException()
Definition:
MCBaseException.h:32
sim::MCBaseException::MCBaseException
MCBaseException(std::string msg="")
Definition:
MCBaseException.h:29
example_anaunit.msg
string msg
Definition:
Algorithms/mac/example_anaunit.py:4
Generated by
1.8.5