Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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/CastorObjects/interface/CastorPedestal.h
"
12
#include "
CondFormats/CastorObjects/interface/CastorCondObjectContainer.h
"
13
14
//typedef CastorCondObjectContainer<CastorPedestal> CastorPedestals;
15
16
class
CastorPedestals
:
public
CastorCondObjectContainer
<CastorPedestal>
17
{
18
public
:
19
//constructor definition: has to contain
20
CastorPedestals
():
CastorCondObjectContainer
<
CastorPedestal
>(),
unitIsADC
(
false
) {}
21
CastorPedestals
(
bool
isADC
):
CastorCondObjectContainer
<
CastorPedestal
>(),
unitIsADC
(isADC) {}
22
23
// are the units ADC ? (true=ADC, false=fC)
24
bool
isADC
()
const
{
return
unitIsADC
;}
25
// set unit boolean
26
void
setUnitADC
(
bool
isADC
) {
unitIsADC
=
isADC
;}
27
28
private
:
29
bool
unitIsADC
;
30
31
};
32
33
#endif
CastorPedestals::CastorPedestals
CastorPedestals(bool isADC)
Definition:
CastorPedestals.h:21
funct::false
false
Definition:
Factorize.h:34
CastorPedestals
Definition:
CastorPedestals.h:16
CastorPedestals::CastorPedestals
CastorPedestals()
Definition:
CastorPedestals.h:20
CastorPedestal
Definition:
CastorPedestal.h:15
CastorPedestals::setUnitADC
void setUnitADC(bool isADC)
Definition:
CastorPedestals.h:26
CastorPedestals::isADC
bool isADC() const
Definition:
CastorPedestals.h:24
CastorPedestals::unitIsADC
bool unitIsADC
Definition:
CastorPedestals.h:29
CastorCondObjectContainer.h
CastorCondObjectContainer
Definition:
CastorCondObjectContainer.h:14
CastorPedestal.h
Generated for CMSSW Reference Manual by
1.8.5