CMS 3D CMS Logo

CastorPedestalWidths.h
Go to the documentation of this file.
1 #ifndef CastorPedestalWidths_h
2 #define CastorPedestalWidths_h
3 
12 
15 
16 //typedef CastorCondObjectContainer<CastorPedestalWidth> CastorPedestalWidths;
17 
18 class CastorPedestalWidths : public CastorCondObjectContainer<CastorPedestalWidth> {
19 public:
20  //constructor definition: has to contain
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 
35 };
36 
37 #endif
CastorPedestalWidths::myname
const std::string myname()
Definition: CastorPedestalWidths.h:29
funct::false
false
Definition: Factorize.h:34
CastorPedestalWidths::setUnitADC
void setUnitADC(bool isADC)
Definition: CastorPedestalWidths.h:27
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths()
Definition: CastorPedestalWidths.h:21
CastorPedestalWidth
Definition: CastorPedestalWidth.h:16
CastorPedestalWidths::unitIsADC
bool unitIsADC
Definition: CastorPedestalWidths.h:32
CastorPedestalWidth.h
CastorPedestalWidths::CastorPedestalWidths
CastorPedestalWidths(bool isADC)
Definition: CastorPedestalWidths.h:22
CastorPedestalWidths::isADC
bool isADC() const
Definition: CastorPedestalWidths.h:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CastorCondObjectContainer
Definition: CastorCondObjectContainer.h:16
Serializable.h
CastorCondObjectContainer.h
CastorPedestalWidths
Definition: CastorPedestalWidths.h:18