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