CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalPedestalWidths.h
Go to the documentation of this file.
1 #ifndef HcalPedestalWidths_h
2 #define HcalPedestalWidths_h
3 
11 
14 
15 //typedef HcalCondObjectContainer<HcalPedestalWidth> HcalPedestalWidths;
16 
17 class HcalPedestalWidths: public HcalCondObjectContainer<HcalPedestalWidth>
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)"HcalPedestalWidths";}
33 
34  private:
35  bool unitIsADC;
36 
37 
39 };
40 
41 #endif
std::string myname() const
HcalPedestalWidths(const HcalTopology *topo, bool isADC)
void setUnitADC(bool isADC)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
volatile std::atomic< bool > shutdown_flag false
HcalPedestalWidths(const HcalTopology *topo)
const HcalTopology * topo() const