File indexing completed on 2024-04-06 12:02:11
0001 #ifndef CondFormats_ESObjects_ESStripGroupId_H
0002 #define CondFormats_ESObjects_ESStripGroupId_H
0003
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005
0006 class ESStripGroupId {
0007 public:
0008 ESStripGroupId() : id_(0) {}
0009 ESStripGroupId(const unsigned int& id) : id_(id) {}
0010
0011 bool operator>(const ESStripGroupId& rhs) const { return (id_ > rhs.id()); }
0012 bool operator>=(const ESStripGroupId& rhs) const { return (id_ >= rhs.id()); }
0013 bool operator==(const ESStripGroupId& rhs) const { return (id_ == rhs.id()); }
0014 bool operator<(const ESStripGroupId& rhs) const { return (id_ < rhs.id()); }
0015 bool operator<=(const ESStripGroupId& rhs) const { return (id_ <= rhs.id()); }
0016
0017 const unsigned int id() const { return id_; }
0018
0019 private:
0020 unsigned int id_;
0021
0022 COND_SERIALIZABLE;
0023 };
0024 #endif