File indexing completed on 2023-03-17 10:50:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef DT_SECT_COLL_ID_H
0016 #define DT_SECT_COLL_ID_H
0017
0018 class DTSectCollId {
0019 public:
0020
0021 DTSectCollId() : _wheel(0), _sector(0) {}
0022
0023 DTSectCollId(int wheel_id, int sector_id) : _wheel(wheel_id), _sector(sector_id) {}
0024
0025 DTSectCollId(const DTSectCollId& statId) : _wheel(statId._wheel), _sector(statId._sector) {}
0026
0027
0028
0029
0030 inline int wheel() const { return _wheel; }
0031 inline int sector() const { return _sector; }
0032
0033 inline bool operator==(const DTSectCollId&) const;
0034 inline bool operator!=(const DTSectCollId&) const;
0035 inline bool operator<(const DTSectCollId&) const;
0036
0037 inline DTSectCollId& operator=(const DTSectCollId&);
0038
0039 private:
0040 int _wheel;
0041 int _sector;
0042 };
0043
0044 #include <iosfwd>
0045 std::ostream& operator<<(std::ostream& os, const DTSectCollId& id);
0046 #include "DataFormats/MuonDetId/interface/DTSectCollId.icc"
0047
0048 #endif