CMS 3D CMS Logo

GEMCluster.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_GEMRecHit_GEMCluster_h
2 #define RecoLocalMuon_GEMRecHit_GEMCluster_h
3 #include <boost/cstdint.hpp>
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
int16_t bunchx
Definition: GEMCluster.h:25
void merge(const GEMCluster &cl)
Definition: GEMCluster.cc:50
bool operator<(const GEMCluster &cl) const
Definition: GEMCluster.cc:58
uint16_t lstrip
Definition: GEMCluster.h:24
int lastStrip() const
Definition: GEMCluster.cc:27
def ls(path, rec=False)
Definition: eostools.py:349
int bx() const
Definition: GEMCluster.cc:39
int firstStrip() const
Definition: GEMCluster.cc:21
uint16_t fstrip
Definition: GEMCluster.h:23
int clusterSize() const
Definition: GEMCluster.cc:33
bool isAdjacent(const GEMCluster &cl) const
Definition: GEMCluster.cc:44
bool operator==(const GEMCluster &cl) const
Definition: GEMCluster.cc:67