Main Page
Namespaces
Classes
Package Documentation
CondFormats
CastorObjects
interface
CastorPedestals.h
Go to the documentation of this file.
1
#ifndef CastorPedestals_h
2
#define CastorPedestals_h
3
11
#include "
CondFormats/Serialization/interface/Serializable.h
"
12
13
#include "
CondFormats/CastorObjects/interface/CastorPedestal.h
"
14
#include "
CondFormats/CastorObjects/interface/CastorCondObjectContainer.h
"
15
16
//typedef CastorCondObjectContainer<CastorPedestal> CastorPedestals;
17
18
class
CastorPedestals
:
public
CastorCondObjectContainer
<CastorPedestal>
19
{
20
public
:
21
//constructor definition: has to contain
22
CastorPedestals
():
CastorCondObjectContainer
<
CastorPedestal
>(),
unitIsADC
(
false
) {}
23
CastorPedestals
(
bool
isADC
):
CastorCondObjectContainer
<
CastorPedestal
>(),
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
private
:
31
bool
unitIsADC
;
32
33
34
COND_SERIALIZABLE
;
35
};
36
37
#endif
CastorPedestals::CastorPedestals
CastorPedestals(bool isADC)
Definition:
CastorPedestals.h:23
funct::false
false
Definition:
Factorize.h:34
CastorPedestals
Definition:
CastorPedestals.h:18
CastorPedestals::CastorPedestals
CastorPedestals()
Definition:
CastorPedestals.h:22
CastorPedestal
Definition:
CastorPedestal.h:17
CastorPedestals::setUnitADC
void setUnitADC(bool isADC)
Definition:
CastorPedestals.h:28
CastorPedestals::isADC
bool isADC() const
Definition:
CastorPedestals.h:26
CastorPedestals::unitIsADC
bool unitIsADC
Definition:
CastorPedestals.h:31
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
CastorCondObjectContainer.h
CastorCondObjectContainer
Definition:
CastorCondObjectContainer.h:16
CastorPedestal.h
Serializable.h
Generated for CMSSW Reference Manual by
1.8.11