CMS 3D CMS Logo

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 
14 public:
16  const CastorCalibrationWidths& getCalibrationWidths(const DetId id) const;
17  void setCalibrationWidths(const DetId id, const CastorCalibrationWidths& ca);
18  void sort();
19  void clear();
20 private:
22  CalibWidthSetObject(const DetId& aid) : id(aid) { }
25  bool operator<(const CalibWidthSetObject& cso) const { return id < cso.id; }
26  bool operator==(const CalibWidthSetObject& cso) const { return id == cso.id; }
27  };
30  std::vector<CalibWidthSetObject> mItems;
31  bool sorted_;
32 };
33 
34 #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:18