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 
14 #include <vector>
15 #include <algorithm>
16 
18 
21 
22 
23 class CastorCalibrationQIEData: public CastorCondObjectContainer<CastorCalibrationQIECoder>
24 {
25  public:
26 
28  const CastorCalibrationQIECoder* 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 CastorCalibrationQIECoder& fCoder) { return addValues(fCoder); }
33  // sort values by channelId
34  void sort () {}
35 
36 };
37 
38 #endif
bool addCoder(const CastorCalibrationQIECoder &fCoder)
const CastorCalibrationQIECoder * getCoder(DetId fId) const
get QIE parameters
const CastorCalibrationQIECoder * getValues(DetId fId) const
Definition: DetId.h:20
bool addValues(const CastorCalibrationQIECoder &myItem)