CMS 3D CMS Logo

CastorCalibrationQIEData.h
Go to the documentation of this file.
1 #ifndef CastorCalibrationQIEData_h
2 #define CastorCalibrationQIEData_h
3 
15 
16 #include <vector>
17 #include <algorithm>
18 
20 
23 
24 class CastorCalibrationQIEData : public CastorCondObjectContainer<CastorCalibrationQIECoder> {
25 public:
27  const CastorCalibrationQIECoder* getCoder(DetId fId) const { return getValues(fId); }
28  // check if data are sorted
29  bool sorted() const { return true; }
30  // fill values [capid][range]
31  bool addCoder(const CastorCalibrationQIECoder& fCoder) { return addValues(fCoder); }
32  // sort values by channelId
33  void sort() {}
34 
36 };
37 
38 #endif
CastorCondObjectContainer< CastorCalibrationQIECoder >::getValues
const CastorCalibrationQIECoder * getValues(DetId fId, bool throwOnFail=true) const
Definition: CastorCondObjectContainer.h:65
CastorCalibrationQIEData::getCoder
const CastorCalibrationQIECoder * getCoder(DetId fId) const
get QIE parameters
Definition: CastorCalibrationQIEData.h:27
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
DetId
Definition: DetId.h:17
CastorCalibrationQIEData::sorted
bool sorted() const
Definition: CastorCalibrationQIEData.h:29
CastorCondObjectContainer
Definition: CastorCondObjectContainer.h:16
Serializable.h
CastorCondObjectContainer< CastorCalibrationQIECoder >::addValues
bool addValues(const CastorCalibrationQIECoder &myItem)
Definition: CastorCondObjectContainer.h:98
CastorCalibrationQIEData::addCoder
bool addCoder(const CastorCalibrationQIECoder &fCoder)
Definition: CastorCalibrationQIEData.h:31
CastorCondObjectContainer.h
CastorCalibrationQIECoder.h
CastorCalibrationQIEData::sort
void sort()
Definition: CastorCalibrationQIEData.h:33
DetId.h
CastorCalibrationQIEData
Definition: CastorCalibrationQIEData.h:24
CastorCalibrationQIECoder
Definition: CastorCalibrationQIECoder.h:17