CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalPedestals.h
Go to the documentation of this file.
1 #ifndef HcalPedestals_h
2 #define HcalPedestals_h
3 
12 
13 //typedef HcalCondObjectContainer<HcalPedestal> HcalPedestals;
14 
15 class HcalPedestals: public HcalCondObjectContainer<HcalPedestal>
16 {
17  public:
18  //constructor definition: has to contain
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
void setUnitADC(bool isADC)
Definition: HcalPedestals.h:25
bool isADC() const
Definition: HcalPedestals.h:23
HcalPedestals(bool isADC)
Definition: HcalPedestals.h:20
std::string myname() const
Definition: HcalPedestals.h:27