File indexing completed on 2024-04-06 12:01:57
0001 #ifndef CastorCalibrationQIEData_h
0002 #define CastorCalibrationQIEData_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "CondFormats/Serialization/interface/Serializable.h"
0015
0016 #include <vector>
0017 #include <algorithm>
0018
0019 #include "CondFormats/CastorObjects/interface/CastorCondObjectContainer.h"
0020
0021 #include "CondFormats/CastorObjects/interface/CastorCalibrationQIECoder.h"
0022 #include "DataFormats/DetId/interface/DetId.h"
0023
0024 class CastorCalibrationQIEData : public CastorCondObjectContainer<CastorCalibrationQIECoder> {
0025 public:
0026
0027 const CastorCalibrationQIECoder* getCoder(DetId fId) const { return getValues(fId); }
0028
0029 bool sorted() const { return true; }
0030
0031 bool addCoder(const CastorCalibrationQIECoder& fCoder) { return addValues(fCoder); }
0032
0033 void sort() {}
0034
0035 COND_SERIALIZABLE;
0036 };
0037
0038 #endif