L1Trigger
RPCTrigger
src
RPCLogHit.cc
Go to the documentation of this file.
1
#include "
L1Trigger/RPCTrigger/interface/RPCLogHit.h
"
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
//###################################################################
21
RPCConst::l1RpcConeCrdnts
RPCLogHit::getConeCrdnts
()
const
{
return
m_ConeCrdnts
; }
22
23
int
RPCLogHit::getTower
()
const
{
return
m_ConeCrdnts
.
m_Tower
; }
24
25
int
RPCLogHit::getLogSector
()
const
{
return
m_ConeCrdnts
.
m_LogSector
; }
26
27
int
RPCLogHit::getLogSegment
()
const
{
return
m_ConeCrdnts
.
m_LogSegment
; }
28
29
int
RPCLogHit::getlogPlaneNumber
()
const
{
return
m_logPlaneNumber
; }
30
31
int
RPCLogHit::getStripNumberInCone
()
const
{
return
m_stripNumberInCone
; }
32
33
void
RPCLogHit::setDigiIdx
(
int
digiIdx) {
m_digiIdx
= digiIdx; }
34
35
int
RPCLogHit::getDigiIdx
()
const
{
return
m_digiIdx
; }
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::getTower
int getTower() const
Definition:
RPCLogHit.cc:23
RPCConst::l1RpcConeCrdnts
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition:
RPCConst.h:118
RPCLogHit::getLogSector
int getLogSector() const
Definition:
RPCLogHit.cc:25
RPCLogHit::getStripNumberInCone
int getStripNumberInCone() const
Definition:
RPCLogHit.cc:31
RPCLogHit::RPCLogHit
RPCLogHit()
Definition:
RPCLogHit.h:25
RPCLogHit::m_stripNumberInCone
int m_stripNumberInCone
Definition:
RPCLogHit.h:52
RPCConst::l1RpcConeCrdnts::m_LogSegment
int m_LogSegment
Definition:
RPCConst.h:121
RPCLogHit::getlogPlaneNumber
int getlogPlaneNumber() const
Definition:
RPCLogHit.cc:29
RPCLogHit::getDigiIdx
int getDigiIdx() const
Definition:
RPCLogHit.cc:35
RPCLogHit::setDigiIdx
void setDigiIdx(int)
Definition:
RPCLogHit.cc:33
RPCLogHit::getLogSegment
int getLogSegment() const
Definition:
RPCLogHit.cc:27
RPCLogHit.h
RPCConst::l1RpcConeCrdnts::m_LogSector
int m_LogSector
Definition:
RPCConst.h:120
RPCLogHit::getConeCrdnts
RPCConst::l1RpcConeCrdnts getConeCrdnts() const
Definition:
RPCLogHit.cc:21
Generated for CMSSW Reference Manual by
1.8.16