CMS 3D CMS Logo

GEMCluster.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_GEMCluster_h
2 #define RecoLocalMuon_GEMCluster_h
3 #include <boost/cstdint.hpp>
4 class GEMCluster{
5  public:
6  GEMCluster();
7  GEMCluster(int fs,int ls, int bx);
8  ~GEMCluster();
9 
10  int firstStrip() const;
11  int lastStrip() const;
12  int clusterSize() const;
13  int bx() const;
14 
15  void merge(const GEMCluster& cl);
16 
17  bool operator<(const GEMCluster& cl) const;
18  bool operator==(const GEMCluster& cl) const;
19  bool isAdjacent(const GEMCluster& cl) const;
20 
21  private:
22  uint16_t fstrip;
23  uint16_t lstrip;
24  int16_t bunchx;
25 };
26 #endif
int16_t bunchx
Definition: GEMCluster.h:24
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:23
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:22
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