CMS 3D CMS Logo

HcalCalibrationQIEData.h
Go to the documentation of this file.
1 #ifndef HcalCalibrationQIEData_h
2 #define HcalCalibrationQIEData_h
3 
13 
14 #include <vector>
15 #include <algorithm>
16 
18 
21 
22 class HcalCalibrationQIEData : public HcalCondObjectContainer<HcalCalibrationQIECoder> {
23 public:
26  const HcalCalibrationQIECoder* getCoder(DetId fId) const { return getValues(fId); }
27  // check if data are sorted
28  bool sorted() const { return true; }
29  // fill values [capid][range]
30  bool addCoder(const HcalCalibrationQIECoder& fCoder) { return addValues(fCoder); }
31  // sort values by channelId
32  void sort() {}
33 
35 };
36 
37 #endif
HcalCalibrationQIEData(const HcalTopology *ht)
const HcalCalibrationQIECoder * getValues(DetId fId, bool throwOnFail=true) const
const HcalCalibrationQIECoder * getCoder(DetId fId) const
get QIE parameters
Definition: DetId.h:17
#define COND_SERIALIZABLE
Definition: Serializable.h:38
bool addCoder(const HcalCalibrationQIECoder &fCoder)
bool addValues(const HcalCalibrationQIECoder &myItem)