Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CondFormats
CastorObjects
interface
CastorPedestalWidths.h
Go to the documentation of this file.
1
#ifndef CastorPedestalWidths_h
2
#define CastorPedestalWidths_h
3
11
#include "
CondFormats/Serialization/interface/Serializable.h
"
12
13
#include "
CondFormats/CastorObjects/interface/CastorCondObjectContainer.h
"
14
#include "
CondFormats/CastorObjects/interface/CastorPedestalWidth.h
"
15
16
//typedef CastorCondObjectContainer<CastorPedestalWidth> CastorPedestalWidths;
17
18
class
CastorPedestalWidths
:
public
CastorCondObjectContainer
<CastorPedestalWidth> {
19
public
:
20
//constructor definition: has to contain
21
CastorPedestalWidths
() :
CastorCondObjectContainer
<
CastorPedestalWidth
>(),
unitIsADC
(
false
) {}
22
CastorPedestalWidths
(
bool
isADC
) :
CastorCondObjectContainer
<
CastorPedestalWidth
>(),
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
std::string
const
myname
() {
return
(
std::string
)
"CastorPedestalWidths"
; }
30
31
private
:
32
bool
unitIsADC
;
33
34
COND_SERIALIZABLE
;
35
};
36
37
#endif
CastorPedestalWidths::setUnitADC
void setUnitADC(bool isADC)
Definition:
CastorPedestalWidths.h:27
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths(bool isADC)
Definition:
CastorPedestalWidths.h:22
funct::false
false
Definition:
Factorize.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorPedestalWidths::unitIsADC
bool unitIsADC
Definition:
CastorPedestalWidths.h:32
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths()
Definition:
CastorPedestalWidths.h:21
CastorPedestalWidths
Definition:
CastorPedestalWidths.h:18
CastorPedestalWidths::isADC
bool isADC() const
Definition:
CastorPedestalWidths.h:25
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CastorPedestalWidth.h
CastorCondObjectContainer.h
CastorCondObjectContainer
Definition:
CastorCondObjectContainer.h:16
CastorPedestalWidth
Definition:
CastorPedestalWidth.h:16
Serializable.h
CastorPedestalWidths::myname
std::string const myname()
Definition:
CastorPedestalWidths.h:29
Generated for CMSSW Reference Manual by
1.8.5