File indexing completed on 2023-03-17 10:46:36
0001 #ifndef CastorPedestals_h
0002 #define CastorPedestals_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "CondFormats/Serialization/interface/Serializable.h"
0012
0013 #include "CondFormats/CastorObjects/interface/CastorPedestal.h"
0014 #include "CondFormats/CastorObjects/interface/CastorCondObjectContainer.h"
0015
0016
0017
0018 class CastorPedestals : public CastorCondObjectContainer<CastorPedestal> {
0019 public:
0020
0021 CastorPedestals() : CastorCondObjectContainer<CastorPedestal>(), unitIsADC(false) {}
0022 CastorPedestals(bool isADC) : CastorCondObjectContainer<CastorPedestal>(), unitIsADC(isADC) {}
0023
0024
0025 bool isADC() const { return unitIsADC; }
0026
0027 void setUnitADC(bool isADC) { unitIsADC = isADC; }
0028
0029 private:
0030 bool unitIsADC;
0031
0032 COND_SERIALIZABLE;
0033 };
0034
0035 #endif