CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCCluster.h
Go to the documentation of this file.
1 #ifndef RecoLocalMuon_RPCCluster_h
2 #define RecoLocalMuon_RPCCluster_h
3 #include <boost/cstdint.hpp>
4 class RPCCluster{
5  public:
6  RPCCluster();
7  RPCCluster(int fs,int ls, int bx);
8  ~RPCCluster();
9 
10  int firstStrip() const;
11  int lastStrip() const;
12  int clusterSize() const;
13  int bx() const;
14 
15  void merge(const RPCCluster& cl);
16 
17  bool operator<(const RPCCluster& cl) const;
18  bool operator==(const RPCCluster& cl) const;
19  bool isAdjacent(const RPCCluster& cl) const;
20 
21  private:
22  uint16_t fstrip;
23  uint16_t lstrip;
24  int16_t bunchx;
25 };
26 #endif
int16_t bunchx
Definition: RPCCluster.h:24
bool operator==(const RPCCluster &cl) const
Definition: RPCCluster.cc:67
void merge(const RPCCluster &cl)
Definition: RPCCluster.cc:50
int clusterSize() const
Definition: RPCCluster.cc:33
uint16_t lstrip
Definition: RPCCluster.h:23
bool operator<(const RPCCluster &cl) const
Definition: RPCCluster.cc:58
int bx() const
Definition: RPCCluster.cc:39
int lastStrip() const
Definition: RPCCluster.cc:27
uint16_t fstrip
Definition: RPCCluster.h:22
int firstStrip() const
Definition: RPCCluster.cc:21
bool isAdjacent(const RPCCluster &cl) const
Definition: RPCCluster.cc:44