File indexing completed on 2024-04-06 12:01:57
0001 #ifndef CastorPedestalWidths_h
0002 #define CastorPedestalWidths_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "CondFormats/Serialization/interface/Serializable.h"
0012
0013 #include "CondFormats/CastorObjects/interface/CastorCondObjectContainer.h"
0014 #include "CondFormats/CastorObjects/interface/CastorPedestalWidth.h"
0015
0016
0017
0018 class CastorPedestalWidths : public CastorCondObjectContainer<CastorPedestalWidth> {
0019 public:
0020
0021 CastorPedestalWidths() : CastorCondObjectContainer<CastorPedestalWidth>(), unitIsADC(false) {}
0022 CastorPedestalWidths(bool isADC) : CastorCondObjectContainer<CastorPedestalWidth>(), unitIsADC(isADC) {}
0023
0024
0025 bool isADC() const { return unitIsADC; }
0026
0027 void setUnitADC(bool isADC) { unitIsADC = isADC; }
0028
0029 std::string const myname() { return (std::string) "CastorPedestalWidths"; }
0030
0031 private:
0032 bool unitIsADC;
0033
0034 COND_SERIALIZABLE;
0035 };
0036
0037 #endif