CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
RPCLogHit Class Reference

#include <RPCLogHit.h>

Public Member Functions

RPCConst::l1RpcConeCrdnts getConeCrdnts () const
 
int getDigiIdx () const
 
int getlogPlaneNumber () const
 
int getLogSector () const
 
int getLogSegment () const
 
int getStripNumberInCone () const
 
int getTower () const
 
 RPCLogHit ()
 
 RPCLogHit (int m_tower, int m_PAC, int m_logplane, int m_posInCone)
 Default ctor. More...
 
void setDigiIdx (int)
 
 ~RPCLogHit ()
 

Private Attributes

RPCConst::l1RpcConeCrdnts m_ConeCrdnts
 
int m_digiIdx
 
int m_logPlaneNumber
 
int m_stripNumberInCone
 

Detailed Description

Class to store logical hit data: m_tower number (0, 16), coneNumber (in phi, 0 ,144), logical plane number (1, 6), strip number in cone (0, to maximum cone width in givel plane see RPCConst)

Author
Marcin Konecki, Warsaw Artur Kalinowski, Warsaw Karol Bunkowski, Warsaw

Definition at line 20 of file RPCLogHit.h.

Constructor & Destructor Documentation

◆ RPCLogHit() [1/2]

RPCLogHit::RPCLogHit ( )
inline

Default ctor.

Definition at line 25 of file RPCLogHit.h.

25 {};

◆ RPCLogHit() [2/2]

RPCLogHit::RPCLogHit ( int  m_tower,
int  m_PAC,
int  m_logplane,
int  m_posInCone 
)

Default ctor.

Definition at line 9 of file RPCLogHit.cc.

9  {
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 }

References m_ConeCrdnts, m_logPlaneNumber, RPCConst::l1RpcConeCrdnts::m_LogSector, RPCConst::l1RpcConeCrdnts::m_LogSegment, m_stripNumberInCone, and RPCConst::l1RpcConeCrdnts::m_Tower.

◆ ~RPCLogHit()

RPCLogHit::~RPCLogHit ( )
inline

Default dctor.

Definition at line 31 of file RPCLogHit.h.

31 {}

Member Function Documentation

◆ getConeCrdnts()

RPCConst::l1RpcConeCrdnts RPCLogHit::getConeCrdnts ( ) const

Definition at line 21 of file RPCLogHit.cc.

21 { return m_ConeCrdnts; }

References m_ConeCrdnts.

◆ getDigiIdx()

int RPCLogHit::getDigiIdx ( ) const

Definition at line 35 of file RPCLogHit.cc.

35 { return m_digiIdx; }

References m_digiIdx.

◆ getlogPlaneNumber()

int RPCLogHit::getlogPlaneNumber ( ) const

Definition at line 29 of file RPCLogHit.cc.

29 { return m_logPlaneNumber; }

References m_logPlaneNumber.

◆ getLogSector()

int RPCLogHit::getLogSector ( ) const

Definition at line 25 of file RPCLogHit.cc.

25 { return m_ConeCrdnts.m_LogSector; }

References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSector.

◆ getLogSegment()

int RPCLogHit::getLogSegment ( ) const

Definition at line 27 of file RPCLogHit.cc.

27 { return m_ConeCrdnts.m_LogSegment; }

References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_LogSegment.

◆ getStripNumberInCone()

int RPCLogHit::getStripNumberInCone ( ) const

Definition at line 31 of file RPCLogHit.cc.

31 { return m_stripNumberInCone; }

References m_stripNumberInCone.

◆ getTower()

int RPCLogHit::getTower ( ) const

Definition at line 23 of file RPCLogHit.cc.

23 { return m_ConeCrdnts.m_Tower; }

References m_ConeCrdnts, and RPCConst::l1RpcConeCrdnts::m_Tower.

◆ setDigiIdx()

void RPCLogHit::setDigiIdx ( int  digiIdx)

Definition at line 33 of file RPCLogHit.cc.

33 { m_digiIdx = digiIdx; }

References m_digiIdx.

Member Data Documentation

◆ m_ConeCrdnts

RPCConst::l1RpcConeCrdnts RPCLogHit::m_ConeCrdnts
private

Definition at line 50 of file RPCLogHit.h.

Referenced by getConeCrdnts(), getLogSector(), getLogSegment(), getTower(), and RPCLogHit().

◆ m_digiIdx

int RPCLogHit::m_digiIdx
private

Definition at line 54 of file RPCLogHit.h.

Referenced by getDigiIdx(), and setDigiIdx().

◆ m_logPlaneNumber

int RPCLogHit::m_logPlaneNumber
private

Definition at line 52 of file RPCLogHit.h.

Referenced by getlogPlaneNumber(), and RPCLogHit().

◆ m_stripNumberInCone

int RPCLogHit::m_stripNumberInCone
private

Definition at line 52 of file RPCLogHit.h.

Referenced by getStripNumberInCone(), and RPCLogHit().

RPCLogHit::m_ConeCrdnts
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Definition: RPCLogHit.h:50
RPCConst::l1RpcConeCrdnts::m_Tower
int m_Tower
Definition: RPCConst.h:119
RPCLogHit::m_digiIdx
int m_digiIdx
Definition: RPCLogHit.h:54
RPCLogHit::m_logPlaneNumber
int m_logPlaneNumber
Definition: RPCLogHit.h:52
RPCLogHit::m_stripNumberInCone
int m_stripNumberInCone
Definition: RPCLogHit.h:52
RPCConst::l1RpcConeCrdnts::m_LogSegment
int m_LogSegment
Definition: RPCConst.h:121
RPCConst::l1RpcConeCrdnts::m_LogSector
int m_LogSector
Definition: RPCConst.h:120