Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
HcalObjects
interface
HcalPedestalWidths.h
Go to the documentation of this file.
1
#ifndef HcalPedestalWidths_h
2
#define HcalPedestalWidths_h
3
10
#include "
CondFormats/HcalObjects/interface/HcalCondObjectContainer.h
"
11
#include "
CondFormats/HcalObjects/interface/HcalPedestalWidth.h
"
12
13
//typedef HcalCondObjectContainer<HcalPedestalWidth> HcalPedestalWidths;
14
15
class
HcalPedestalWidths
:
public
HcalCondObjectContainer
<HcalPedestalWidth>
16
{
17
public
:
18
//constructor definition: has to contain
19
HcalPedestalWidths
():
HcalCondObjectContainer
<
HcalPedestalWidth
>(),
unitIsADC
(
false
) {}
20
HcalPedestalWidths
(
bool
isADC
):
HcalCondObjectContainer
<
HcalPedestalWidth
>(),
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
const
myname
() {
return
(std::string)
"HcalPedestalWidths"
;}
28
29
private
:
30
bool
unitIsADC
;
31
32
};
33
34
#endif
HcalPedestalWidths::HcalPedestalWidths
HcalPedestalWidths(bool isADC)
Definition:
HcalPedestalWidths.h:20
funct::false
false
Definition:
Factorize.h:34
HcalPedestalWidth
Definition:
HcalPedestalWidth.h:14
HcalCondObjectContainer
Definition:
HcalCondObjectContainer.h:13
HcalPedestalWidth.h
HcalPedestalWidths
Definition:
HcalPedestalWidths.h:15
HcalCondObjectContainer.h
HcalPedestalWidths::myname
std::string const myname()
Definition:
HcalPedestalWidths.h:27
HcalPedestalWidths::setUnitADC
void setUnitADC(bool isADC)
Definition:
HcalPedestalWidths.h:25
HcalPedestalWidths::unitIsADC
bool unitIsADC
Definition:
HcalPedestalWidths.h:30
HcalPedestalWidths::HcalPedestalWidths
HcalPedestalWidths()
Definition:
HcalPedestalWidths.h:19
HcalPedestalWidths::isADC
bool isADC() const
Definition:
HcalPedestalWidths.h:23
Generated for CMSSW Reference Manual by
1.8.5