CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondFormats/CastorObjects/interface/CastorPedestals.h

Go to the documentation of this file.
00001 #ifndef CastorPedestals_h
00002 #define CastorPedestals_h
00003 
00011 #include "CondFormats/CastorObjects/interface/CastorPedestal.h"
00012 #include "CondFormats/CastorObjects/interface/CastorCondObjectContainer.h"
00013 
00014 //typedef CastorCondObjectContainer<CastorPedestal> CastorPedestals;
00015 
00016 class CastorPedestals: public CastorCondObjectContainer<CastorPedestal>
00017 {
00018  public:
00019   //constructor definition: has to contain 
00020   CastorPedestals():CastorCondObjectContainer<CastorPedestal>(), unitIsADC(false) {}
00021   CastorPedestals(bool isADC):CastorCondObjectContainer<CastorPedestal>(), unitIsADC(isADC) {}
00022 
00023   // are the units ADC ? (true=ADC, false=fC)
00024   bool isADC() const {return unitIsADC;} 
00025   // set unit boolean
00026   void setUnitADC(bool isADC) {unitIsADC = isADC;}
00027 
00028  private:
00029   bool unitIsADC;
00030 
00031 };
00032 
00033 #endif