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
public
:
20
//constructor definition: has to contain
21
CastorPedestalWidths
() :
CastorCondObjectContainer
<
CastorPedestalWidth
>(),
unitIsADC
(
false
) {}
22
CastorPedestalWidths
(
bool
isADC
) :
CastorCondObjectContainer
<
CastorPedestalWidth
>(),
unitIsADC
(
isADC
) {}
23
24
// are the units ADC ? (true=ADC, false=fC)
25
bool
isADC
()
const
{
return
unitIsADC
; }
26
// set unit boolean
27
void
setUnitADC
(
bool
isADC
) {
unitIsADC
=
isADC
; }
28
29
std::string
const
myname
() {
return
(
std::string
)
"CastorPedestalWidths"
; }
30
31
private
:
32
bool
unitIsADC
;
33
34
COND_SERIALIZABLE
;
35
};
36
37
#endif
CastorPedestalWidths::myname
const std::string myname()
Definition:
CastorPedestalWidths.h:29
funct::false
false
Definition:
Factorize.h:29
CastorPedestalWidths::setUnitADC
void setUnitADC(bool isADC)
Definition:
CastorPedestalWidths.h:27
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths()
Definition:
CastorPedestalWidths.h:21
CastorPedestalWidth
Definition:
CastorPedestalWidth.h:16
CastorPedestalWidths::unitIsADC
bool unitIsADC
Definition:
CastorPedestalWidths.h:32
CastorPedestalWidth.h
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths(bool isADC)
Definition:
CastorPedestalWidths.h:22
CastorPedestalWidths::isADC
bool isADC() const
Definition:
CastorPedestalWidths.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorCondObjectContainer
Definition:
CastorCondObjectContainer.h:16
Serializable.h
CastorCondObjectContainer.h
CastorPedestalWidths
Definition:
CastorPedestalWidths.h:18
Generated for CMSSW Reference Manual by
1.8.16