CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalXtalGroupId.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalXtalGroupId_H
2 #define CondFormats_EcalObjects_EcalXtalGroupId_H
3 
10 public:
12  EcalXtalGroupId(const unsigned int& id) : id_(id){}
13 
14  bool operator>(const EcalXtalGroupId& rhs) const{ return ( id_>rhs.id() ); }
15  bool operator>=(const EcalXtalGroupId& rhs) const { return ( id_>=rhs.id() ); }
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 
20  const unsigned int id() const { return id_; }
21 
22 private:
23  unsigned int id_;
24 
25 };
26 #endif
bool operator>=(const EcalXtalGroupId &rhs) const
const unsigned int id() const
unsigned int id_
bool operator<(const EcalXtalGroupId &rhs) const
EcalXtalGroupId(const unsigned int &id)
bool operator>(const EcalXtalGroupId &rhs) const
bool operator==(const EcalXtalGroupId &rhs) const
bool operator<=(const EcalXtalGroupId &rhs) const