1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef CondFormats_ESObjects_ESStripGroupId_H
#define CondFormats_ESObjects_ESStripGroupId_H
#include "CondFormats/Serialization/interface/Serializable.h"
class ESStripGroupId {
public:
ESStripGroupId() : id_(0) {}
ESStripGroupId(const unsigned int& id) : id_(id) {}
bool operator>(const ESStripGroupId& rhs) const { return (id_ > rhs.id()); }
bool operator>=(const ESStripGroupId& rhs) const { return (id_ >= rhs.id()); }
bool operator==(const ESStripGroupId& rhs) const { return (id_ == rhs.id()); }
bool operator<(const ESStripGroupId& rhs) const { return (id_ < rhs.id()); }
bool operator<=(const ESStripGroupId& rhs) const { return (id_ <= rhs.id()); }
const unsigned int id() const { return id_; }
private:
unsigned int id_;
COND_SERIALIZABLE;
};
#endif
|