CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoLocalMuon/RPCRecHit/src/RPCCluster.h

Go to the documentation of this file.
00001 #ifndef RecoLocalMuon_RPCCluster_h
00002 #define RecoLocalMuon_RPCCluster_h
00003 #include <boost/cstdint.hpp>
00004 class RPCCluster{
00005  public:
00006   RPCCluster();
00007   RPCCluster(int fs,int ls, int bx);
00008   ~RPCCluster();
00009 
00010   int firstStrip() const;
00011   int lastStrip() const;
00012   int clusterSize() const;
00013   int bx() const;
00014 
00015   void merge(const RPCCluster& cl);
00016 
00017   bool operator<(const RPCCluster& cl) const;
00018   bool operator==(const RPCCluster& cl) const;
00019   bool isAdjacent(const RPCCluster& cl) const;
00020 
00021  private:
00022   uint16_t fstrip;
00023   uint16_t lstrip;
00024   int16_t bunchx;
00025 };
00026 #endif