CMS 3D CMS Logo

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 override {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
#define nullptr
HcalPedestals(const HcalTopology *topo)
Definition: HcalPedestals.h:24
HcalPedestals(const HcalTopology *topo, bool isADC)
Definition: HcalPedestals.h:25
std::string myname() const override
Definition: HcalPedestals.h:32
#define COND_SERIALIZABLE
Definition: Serializable.h:38
const HcalTopology * topo() const