File indexing completed on 2024-04-06 12:26:12
0001 #include <cstdint>
0002 #ifndef RecoLocalMuon_GEMRecHit_GEMCluster_h
0003 #define RecoLocalMuon_GEMRecHit_GEMCluster_h
0004
0005 class GEMCluster {
0006 public:
0007 GEMCluster();
0008 GEMCluster(int fs, int ls, int bx);
0009 ~GEMCluster();
0010
0011 int firstStrip() const;
0012 int lastStrip() const;
0013 int clusterSize() const;
0014 int bx() const;
0015
0016 void merge(const GEMCluster& cl);
0017
0018 bool operator<(const GEMCluster& cl) const;
0019 bool operator==(const GEMCluster& cl) const;
0020 bool isAdjacent(const GEMCluster& cl) const;
0021
0022 private:
0023 uint16_t fstrip;
0024 uint16_t lstrip;
0025 int16_t bunchx;
0026 };
0027 #endif