CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorCalibrationWidthsSet.h
Go to the documentation of this file.
1 #ifndef CALIBFORMATS_HCALOBJECTS_HCALCALIBRATIONWIDTHSSET_H
2 #define CALIBFORMATS_HCALOBJECTS_HCALCALIBRATIONWIDTHSSET_H 1
3 
6 #include <vector>
7 
16 public:
18  const CastorCalibrationWidths& getCalibrationWidths(const DetId id) const;
19  void setCalibrationWidths(const DetId id, const CastorCalibrationWidths& ca);
20  void sort();
21  void clear();
22 private:
24  CalibWidthSetObject(const DetId& aid) : id(aid) { }
27  bool operator<(const CalibWidthSetObject& cso) const { return id < cso.id; }
28  bool operator==(const CalibWidthSetObject& cso) const { return id == cso.id; }
29  };
32  std::vector<CalibWidthSetObject> mItems;
33  bool sorted_;
34 };
35 
36 #endif
bool operator==(const CalibWidthSetObject &cso) const
void setCalibrationWidths(const DetId id, const CastorCalibrationWidths &ca)
const CastorCalibrationWidths & getCalibrationWidths(const DetId id) const
bool operator<(const CalibWidthSetObject &cso) const
std::vector< CalibWidthSetObject > mItems
Definition: DetId.h:20