CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef CastorPedestalWidths_h
00002 #define CastorPedestalWidths_h
00003 
00011 #include "CondFormats/CastorObjects/interface/CastorCondObjectContainer.h"
00012 #include "CondFormats/CastorObjects/interface/CastorPedestalWidth.h"
00013 
00014 //typedef CastorCondObjectContainer<CastorPedestalWidth> CastorPedestalWidths;
00015 
00016 class CastorPedestalWidths: public CastorCondObjectContainer<CastorPedestalWidth>
00017 {
00018  public:
00019   //constructor definition: has to contain 
00020   CastorPedestalWidths():CastorCondObjectContainer<CastorPedestalWidth>(), unitIsADC(false) {}
00021   CastorPedestalWidths(bool isADC):CastorCondObjectContainer<CastorPedestalWidth>(), 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   std::string const myname() {return (std::string)"CastorPedestalWidths";}
00029 
00030  private:
00031   bool unitIsADC;
00032 
00033 };
00034 
00035 #endif