Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
public
:
20
//constructor definition: has to contain
21
CastorPedestals
() :
CastorCondObjectContainer
<
CastorPedestal
>(),
unitIsADC
(
false
) {}
22
CastorPedestals
(
bool
isADC
) :
CastorCondObjectContainer
<
CastorPedestal
>(),
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
private
:
30
bool
unitIsADC
;
31
32
COND_SERIALIZABLE
;
33
};
34
35
#endif
CastorPedestals::CastorPedestals
CastorPedestals(bool isADC)
Definition:
CastorPedestals.h:22
funct::false
false
Definition:
Factorize.h:29
CastorPedestals
Definition:
CastorPedestals.h:18
CastorPedestals::CastorPedestals
CastorPedestals()
Definition:
CastorPedestals.h:21
CastorPedestal
Definition:
CastorPedestal.h:16
CastorPedestals::setUnitADC
void setUnitADC(bool isADC)
Definition:
CastorPedestals.h:27
CastorPedestals::isADC
bool isADC() const
Definition:
CastorPedestals.h:25
CastorPedestals::unitIsADC
bool unitIsADC
Definition:
CastorPedestals.h:30
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CastorCondObjectContainer.h
CastorCondObjectContainer
Definition:
CastorCondObjectContainer.h:16
CastorPedestal.h
Serializable.h
Generated for CMSSW Reference Manual by
1.8.5