CMS 3D CMS Logo

GEMCluster.h
Go to the documentation of this file.
1 #include <cstdint>
2 #ifndef RecoLocalMuon_GEMRecHit_GEMCluster_h
3 #define RecoLocalMuon_GEMRecHit_GEMCluster_h
4 
5 class GEMCluster {
6 public:
7  GEMCluster();
8  GEMCluster(int fs, int ls, int bx);
9  ~GEMCluster();
10 
11  int firstStrip() const;
12  int lastStrip() const;
13  int clusterSize() const;
14  int bx() const;
15 
16  void merge(const GEMCluster& cl);
17 
18  bool operator<(const GEMCluster& cl) const;
19  bool operator==(const GEMCluster& cl) const;
20  bool isAdjacent(const GEMCluster& cl) const;
21 
22 private:
23  uint16_t fstrip;
24  uint16_t lstrip;
25  int16_t bunchx;
26 };
27 #endif
int lastStrip() const
Definition: GEMCluster.cc:15
bool operator==(const GEMCluster &cl) const
Definition: GEMCluster.cc:38
int16_t bunchx
Definition: GEMCluster.h:25
int clusterSize() const
Definition: GEMCluster.cc:17
int bx() const
Definition: GEMCluster.cc:19
bool isAdjacent(const GEMCluster &cl) const
Definition: GEMCluster.cc:21
void merge(const GEMCluster &cl)
Definition: GEMCluster.cc:25
uint16_t lstrip
Definition: GEMCluster.h:24
def ls(path, rec=False)
Definition: eostools.py:349
int firstStrip() const
Definition: GEMCluster.cc:13
bool operator<(const GEMCluster &cl) const
Definition: GEMCluster.cc:31
uint16_t fstrip
Definition: GEMCluster.h:23