CMS 3D CMS Logo

RPCLogHit.cc
Go to the documentation of this file.
2 
9 RPCLogHit::RPCLogHit(int m_tower, int m_PAC, int m_logplane, int m_posInCone) {
10  m_ConeCrdnts.m_Tower = m_tower;
11  m_ConeCrdnts.m_LogSector = m_PAC / 12;
12  m_ConeCrdnts.m_LogSegment = m_PAC % 12;
13  m_stripNumberInCone = m_posInCone;
14  m_logPlaneNumber = m_logplane;
15 }
16 //###################################################################
17 //
18 // Simple getters and setters
19 //
20 //###################################################################
22 
23 int RPCLogHit::getTower() const { return m_ConeCrdnts.m_Tower; }
24 
26 
28 
30 
32 
33 void RPCLogHit::setDigiIdx(int digiIdx) { m_digiIdx = digiIdx; }
34 
35 int RPCLogHit::getDigiIdx() const { return m_digiIdx; }
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Definition: RPCLogHit.h:50
int getLogSegment() const
Definition: RPCLogHit.cc:27
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition: RPCConst.h:118
int m_stripNumberInCone
Definition: RPCLogHit.h:52
int m_digiIdx
Definition: RPCLogHit.h:54
RPCConst::l1RpcConeCrdnts getConeCrdnts() const
Definition: RPCLogHit.cc:21
void setDigiIdx(int)
Definition: RPCLogHit.cc:33
int getTower() const
Definition: RPCLogHit.cc:23
int getLogSector() const
Definition: RPCLogHit.cc:25
int getStripNumberInCone() const
Definition: RPCLogHit.cc:31
RPCLogHit()
Definition: RPCLogHit.h:25
int getDigiIdx() const
Definition: RPCLogHit.cc:35
int m_logPlaneNumber
Definition: RPCLogHit.h:52
int getlogPlaneNumber() const
Definition: RPCLogHit.cc:29