CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
25 class CastorCalibrationQIEData: public CastorCondObjectContainer<CastorCalibrationQIECoder>
26 {
27  public:
28 
30  const CastorCalibrationQIECoder* getCoder (DetId fId) const { return getValues(fId); }
31  // check if data are sorted
32  bool sorted () const {return true;}
33  // fill values [capid][range]
34  bool addCoder (const CastorCalibrationQIECoder& fCoder) { return addValues(fCoder); }
35  // sort values by channelId
36  void sort () {}
37 
38 
40 };
41 
42 #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:18
#define COND_SERIALIZABLE
Definition: Serializable.h:37
bool addValues(const CastorCalibrationQIECoder &myItem)