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
19 #ifndef HCAL_COND_SUPPRESS_DEFAULT
21 #endif
24 
25  // are the units ADC ? (true=ADC, false=fC)
26  bool isADC() const {return unitIsADC;}
27  // set unit boolean
28  void setUnitADC(bool isADC) {unitIsADC = isADC;}
29 
30  std::string myname() const {return (std::string)"HcalPedestals";}
31 
32  private:
33  bool unitIsADC;
34 
35 };
36 
37 #endif
void setUnitADC(bool isADC)
Definition: HcalPedestals.h:28
bool isADC() const
Definition: HcalPedestals.h:26
HcalPedestals(const HcalTopology *topo)
Definition: HcalPedestals.h:22
HcalPedestals(const HcalTopology *topo, bool isADC)
Definition: HcalPedestals.h:23
std::string myname() const
Definition: HcalPedestals.h:30
volatile std::atomic< bool > shutdown_flag false
const HcalTopology * topo() const