CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
bool addCoder(const CastorCalibrationQIECoder &fCoder)
const CastorCalibrationQIECoder * getCoder(DetId fId) const
get QIE parameters
const CastorCalibrationQIECoder * getValues(DetId fId, bool throwOnFail=true) const
Definition: DetId.h:17
#define COND_SERIALIZABLE
Definition: Serializable.h:39
bool addValues(const CastorCalibrationQIECoder &myItem)