Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
HcalObjects
interface
HcalPedestals.h
Go to the documentation of this file.
1
#ifndef HcalPedestals_h
2
#define HcalPedestals_h
3
10
#include "
CondFormats/HcalObjects/interface/HcalPedestal.h
"
11
#include "
CondFormats/HcalObjects/interface/HcalCondObjectContainer.h
"
12
13
//typedef HcalCondObjectContainer<HcalPedestal> HcalPedestals;
14
15
class
HcalPedestals
:
public
HcalCondObjectContainer
<HcalPedestal>
16
{
17
public
:
18
//constructor definition: has to contain
19
HcalPedestals
():
HcalCondObjectContainer
<
HcalPedestal
>(),
unitIsADC
(
false
) {}
20
HcalPedestals
(
bool
isADC
):
HcalCondObjectContainer
<
HcalPedestal
>(),
unitIsADC
(isADC) {}
21
22
// are the units ADC ? (true=ADC, false=fC)
23
bool
isADC
()
const
{
return
unitIsADC
;}
24
// set unit boolean
25
void
setUnitADC
(
bool
isADC
) {
unitIsADC
=
isADC
;}
26
27
std::string
myname
()
const
{
return
(std::string)
"HcalPedestals"
;}
28
29
private
:
30
bool
unitIsADC
;
31
32
};
33
34
#endif
HcalPedestals::setUnitADC
void setUnitADC(bool isADC)
Definition:
HcalPedestals.h:25
HcalPedestals::isADC
bool isADC() const
Definition:
HcalPedestals.h:23
HcalPedestals::unitIsADC
bool unitIsADC
Definition:
HcalPedestals.h:30
HcalPedestals::HcalPedestals
HcalPedestals()
Definition:
HcalPedestals.h:19
funct::false
false
Definition:
Factorize.h:34
HcalPedestals::HcalPedestals
HcalPedestals(bool isADC)
Definition:
HcalPedestals.h:20
HcalCondObjectContainer
Definition:
HcalCondObjectContainer.h:12
HcalCondObjectContainer.h
HcalPedestal
Definition:
HcalPedestal.h:14
HcalPedestals::myname
std::string myname() const
Definition:
HcalPedestals.h:27
HcalPedestal.h
HcalPedestals
Definition:
HcalPedestals.h:15
Generated for CMSSW Reference Manual by
1.8.5