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