CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
int16_t bunchx
Definition: GEMCluster.h:25
def ls
Definition: eostools.py:349
tuple cl
Definition: haddnano.py:49
void merge(const GEMCluster &cl)
Definition: GEMCluster.cc:25
bool operator<(const GEMCluster &cl) const
Definition: GEMCluster.cc:31
uint16_t lstrip
Definition: GEMCluster.h:24
int lastStrip() const
Definition: GEMCluster.cc:15
int bx() const
Definition: GEMCluster.cc:19
int firstStrip() const
Definition: GEMCluster.cc:13
uint16_t fstrip
Definition: GEMCluster.h:23
int clusterSize() const
Definition: GEMCluster.cc:17
bool isAdjacent(const GEMCluster &cl) const
Definition: GEMCluster.cc:21
bool operator==(const GEMCluster &cl) const
Definition: GEMCluster.cc:38