CMS 3D CMS Logo

EcalXtalGroupId.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalXtalGroupId_H
2 #define CondFormats_EcalObjects_EcalXtalGroupId_H
3 
12 public:
13  EcalXtalGroupId() : id_(0) {}
14  EcalXtalGroupId(const unsigned int& id) : id_(id) {}
15 
16  bool operator>(const EcalXtalGroupId& rhs) const { return (id_ > rhs.id()); }
17  bool operator>=(const EcalXtalGroupId& rhs) const { return (id_ >= rhs.id()); }
18  bool operator==(const EcalXtalGroupId& rhs) const { return (id_ == rhs.id()); }
19  bool operator<(const EcalXtalGroupId& rhs) const { return (id_ < rhs.id()); }
20  bool operator<=(const EcalXtalGroupId& rhs) const { return (id_ <= rhs.id()); }
21 
22  unsigned int id() const { return id_; }
23 
24 private:
25  unsigned int id_;
26 
28 };
29 #endif
bool operator<(const EcalXtalGroupId &rhs) const
bool operator==(const EcalXtalGroupId &rhs) const
bool operator<=(const EcalXtalGroupId &rhs) const
unsigned int id() const
unsigned int id_
bool operator>(const EcalXtalGroupId &rhs) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalXtalGroupId(const unsigned int &id)
bool operator>=(const EcalXtalGroupId &rhs) const