CMS 3D CMS Logo

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 public:
19  //constructor definition: has to contain
20 #ifndef HCAL_COND_SUPPRESS_DEFAULT
22 #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) "HcalPedestalWidths"; }
33 
34 private:
35  bool unitIsADC;
36 
38 };
39 
40 #endif
HcalPedestalWidths(const HcalTopology *topo, bool isADC)
const HcalTopology * topo() const
void setUnitADC(bool isADC)
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::string myname() const override
HcalPedestalWidths(const HcalTopology *topo)