Main Page
Namespaces
Classes
Package Documentation
CondFormats
CastorObjects
interface
CastorPedestalWidths.h
Go to the documentation of this file.
1
#ifndef CastorPedestalWidths_h
2
#define CastorPedestalWidths_h
3
11
#include "
CondFormats/Serialization/interface/Serializable.h
"
12
13
#include "
CondFormats/CastorObjects/interface/CastorCondObjectContainer.h
"
14
#include "
CondFormats/CastorObjects/interface/CastorPedestalWidth.h
"
15
16
//typedef CastorCondObjectContainer<CastorPedestalWidth> CastorPedestalWidths;
17
18
class
CastorPedestalWidths
:
public
CastorCondObjectContainer
<CastorPedestalWidth>
19
{
20
public
:
21
//constructor definition: has to contain
22
CastorPedestalWidths
():
CastorCondObjectContainer
<
CastorPedestalWidth
>(),
unitIsADC
(
false
) {}
23
CastorPedestalWidths
(
bool
isADC
):
CastorCondObjectContainer
<
CastorPedestalWidth
>(),
unitIsADC
(isADC) {}
24
25
// are the units ADC ? (true=ADC, false=fC)
26
bool
isADC
()
const
{
return
unitIsADC
;}
27
// set unit boolean
28
void
setUnitADC
(
bool
isADC
) {
unitIsADC
=
isADC
;}
29
30
std::string
const
myname
() {
return
(
std::string
)
"CastorPedestalWidths"
;}
31
32
private
:
33
bool
unitIsADC
;
34
35
36
COND_SERIALIZABLE
;
37
};
38
39
#endif
CastorPedestalWidths::setUnitADC
void setUnitADC(bool isADC)
Definition:
CastorPedestalWidths.h:28
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths(bool isADC)
Definition:
CastorPedestalWidths.h:23
funct::false
false
Definition:
Factorize.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorPedestalWidths::unitIsADC
bool unitIsADC
Definition:
CastorPedestalWidths.h:33
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths()
Definition:
CastorPedestalWidths.h:22
CastorPedestalWidths
Definition:
CastorPedestalWidths.h:18
CastorPedestalWidths::isADC
bool isADC() const
Definition:
CastorPedestalWidths.h:26
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
CastorPedestalWidth.h
CastorCondObjectContainer.h
CastorCondObjectContainer
Definition:
CastorCondObjectContainer.h:16
CastorPedestalWidth
Definition:
CastorPedestalWidth.h:17
Serializable.h
CastorPedestalWidths::myname
std::string const myname()
Definition:
CastorPedestalWidths.h:30
Generated for CMSSW Reference Manual by
1.8.11