CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCLogHit.cc
Go to the documentation of this file.
2 
3 
10 RPCLogHit::RPCLogHit(int m_tower, int m_PAC, int m_logplane, int m_posInCone){
11 
12  m_ConeCrdnts.m_Tower=m_tower;
13  m_ConeCrdnts.m_LogSector=m_PAC/12;
14  m_ConeCrdnts.m_LogSegment=m_PAC%12;
15  m_stripNumberInCone = m_posInCone;
16  m_logPlaneNumber = m_logplane;
17 
18 }
19 //###################################################################
20 //
21 // Simple getters and setters
22 //
23 //###################################################################
25  return m_ConeCrdnts;
26 }
27 
28 int RPCLogHit::getTower() const {
29  return m_ConeCrdnts.m_Tower;
30 }
31 
34 }
35 
38 }
39 
41  return m_logPlaneNumber;
42 }
43 
45  return m_stripNumberInCone;
46 }
47 
48 void RPCLogHit::setDigiIdx(int digiIdx) {
49  m_digiIdx = digiIdx;
50 }
51 
52 int RPCLogHit::getDigiIdx() const {
53  return m_digiIdx;
54 }
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Definition: RPCLogHit.h:54
int getLogSegment() const
Definition: RPCLogHit.cc:36
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:119
int m_stripNumberInCone
Definition: RPCLogHit.h:56
int m_digiIdx
Definition: RPCLogHit.h:58
void setDigiIdx(int)
Definition: RPCLogHit.cc:48
RPCConst::l1RpcConeCrdnts getConeCrdnts() const
Definition: RPCLogHit.cc:24
RPCLogHit()
Definition: RPCLogHit.h:27
int getStripNumberInCone() const
Definition: RPCLogHit.cc:44
int m_logPlaneNumber
Definition: RPCLogHit.h:56
int getTower() const
Definition: RPCLogHit.cc:28
int getlogPlaneNumber() const
Definition: RPCLogHit.cc:40
int getLogSector() const
Definition: RPCLogHit.cc:32
int getDigiIdx() const
Definition: RPCLogHit.cc:52