Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:35

0001 #ifndef L1Trigger_RPCLogHit_h
0002 #define L1Trigger_RPCLogHit_h
0003 
0004 /** \class RPCLogHit
0005  * 
0006  * Class to store logical hit data: m_tower number (0, 16), coneNumber (in phi, 0 ,144),
0007  * logical plane number (1, 6), strip number in cone (0, to maximum cone width in givel plane
0008  * see RPCConst)
0009  *
0010  * \author  Marcin Konecki, Warsaw
0011  *          Artur Kalinowski, Warsaw
0012  *          Karol Bunkowski, Warsaw
0013  *
0014  ********************************************************************/
0015 
0016 #include <vector>
0017 //#include "L1Trigger/RPCTrigger/src/l1RpcConeCrdnts.h"
0018 #include "L1Trigger/RPCTrigger/interface/RPCConst.h"
0019 
0020 class RPCLogHit {
0021 public:
0022   ///
0023   ///Default ctor.
0024   ///
0025   RPCLogHit(){};
0026 
0027   RPCLogHit(int m_tower, int m_PAC, int m_logplane, int m_posInCone);
0028   ///
0029   ///Default dctor.
0030   ///
0031   ~RPCLogHit() {}
0032 
0033   RPCConst::l1RpcConeCrdnts getConeCrdnts() const;
0034 
0035   int getTower() const;
0036 
0037   int getLogSector() const;
0038 
0039   int getLogSegment() const;
0040 
0041   int getlogPlaneNumber() const;
0042 
0043   int getStripNumberInCone() const;
0044 
0045   void setDigiIdx(int);
0046 
0047   int getDigiIdx() const;
0048 
0049 private:
0050   RPCConst::l1RpcConeCrdnts m_ConeCrdnts;
0051 
0052   int m_logPlaneNumber, m_stripNumberInCone;
0053 
0054   int m_digiIdx;
0055 };
0056 #endif