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
HcalCalibrationQIECoder
Definition: HcalCalibrationQIECoder.h:17
HcalTopology
Definition: HcalTopology.h:26
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
HcalCalibrationQIECoder.h
HcalCondObjectContainer< HcalCalibrationQIECoder >::getValues
const HcalCalibrationQIECoder * getValues(DetId fId, bool throwOnFail=true) const
Definition: HcalCondObjectContainer.h:159
HcalCondObjectContainer
Definition: HcalCondObjectContainer.h:55
DetId
Definition: DetId.h:17
HcalCalibrationQIEData::addCoder
bool addCoder(const HcalCalibrationQIECoder &fCoder)
Definition: HcalCalibrationQIEData.h:30
HcalCalibrationQIEData::HcalCalibrationQIEData
HcalCalibrationQIEData(const HcalTopology *ht)
Definition: HcalCalibrationQIEData.h:24
Serializable.h
HcalCalibrationQIEData::getCoder
const HcalCalibrationQIECoder * getCoder(DetId fId) const
get QIE parameters
Definition: HcalCalibrationQIEData.h:26
HcalCalibrationQIEData::sorted
bool sorted() const
Definition: HcalCalibrationQIEData.h:28
HcalCondObjectContainer.h
HcalCalibrationQIEData
Definition: HcalCalibrationQIEData.h:22
HcalCalibrationQIEData::sort
void sort()
Definition: HcalCalibrationQIEData.h:32
DetId.h
HcalCondObjectContainer< HcalCalibrationQIECoder >::addValues
bool addValues(const HcalCalibrationQIECoder &myItem)
Definition: HcalCondObjectContainer.h:234