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:
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  const unsigned int id() const { return id_; }
23 
24 private:
25  unsigned int id_;
26 
27 
29 };
30 #endif
bool operator>=(const EcalXtalGroupId &rhs) const
const unsigned int id() const
unsigned int id_
bool operator<(const EcalXtalGroupId &rhs) const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
EcalXtalGroupId(const unsigned int &id)
bool operator>(const EcalXtalGroupId &rhs) const
bool operator==(const EcalXtalGroupId &rhs) const
bool operator<=(const EcalXtalGroupId &rhs) const