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 
11 
14 
15 //typedef HcalCondObjectContainer<HcalPedestal> HcalPedestals;
16 
17 class HcalPedestals: public HcalCondObjectContainer<HcalPedestal>
18 {
19  public:
20  //constructor definition: has to contain
21 #ifndef HCAL_COND_SUPPRESS_DEFAULT
23 #endif
26 
27  // are the units ADC ? (true=ADC, false=fC)
28  bool isADC() const {return unitIsADC;}
29  // set unit boolean
30  void setUnitADC(bool isADC) {unitIsADC = isADC;}
31 
32  std::string myname() const {return (std::string)"HcalPedestals";}
33 
34  private:
35  bool unitIsADC;
36 
37 
39 };
40 
41 #endif
void setUnitADC(bool isADC)
Definition: HcalPedestals.h:30
bool isADC() const
Definition: HcalPedestals.h:28
HcalPedestals(const HcalTopology *topo)
Definition: HcalPedestals.h:24
HcalPedestals(const HcalTopology *topo, bool isADC)
Definition: HcalPedestals.h:25
std::string myname() const
Definition: HcalPedestals.h:32
#define COND_SERIALIZABLE
Definition: Serializable.h:37
volatile std::atomic< bool > shutdown_flag false
const HcalTopology * topo() const