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