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 
23 class HcalCalibrationQIEData: public HcalCondObjectContainer<HcalCalibrationQIECoder>
24 {
25  public:
28  const HcalCalibrationQIECoder* getCoder (DetId fId) const { return getValues(fId); }
29  // check if data are sorted
30  bool sorted () const {return true;}
31  // fill values [capid][range]
32  bool addCoder (const HcalCalibrationQIECoder& fCoder) { return addValues(fCoder); }
33  // sort values by channelId
34  void sort () {}
35 
36 
38 };
39 
40 #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:18
#define COND_SERIALIZABLE
Definition: Serializable.h:38
bool addCoder(const HcalCalibrationQIECoder &fCoder)
bool addValues(const HcalCalibrationQIECoder &myItem)