Main Page
Namespaces
Classes
Package Documentation
L1Trigger
RPCTrigger
src
RPCLogHit.cc
Go to the documentation of this file.
1
#include "
L1Trigger/RPCTrigger/interface/RPCLogHit.h
"
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
//###################################################################
24
RPCConst::l1RpcConeCrdnts
RPCLogHit::getConeCrdnts
()
const
{
25
return
m_ConeCrdnts
;
26
}
27
28
int
RPCLogHit::getTower
()
const
{
29
return
m_ConeCrdnts
.
m_Tower
;
30
}
31
32
int
RPCLogHit::getLogSector
()
const
{
33
return
m_ConeCrdnts
.
m_LogSector
;
34
}
35
36
int
RPCLogHit::getLogSegment
()
const
{
37
return
m_ConeCrdnts
.
m_LogSegment
;
38
}
39
40
int
RPCLogHit::getlogPlaneNumber
()
const
{
41
return
m_logPlaneNumber
;
42
}
43
44
int
RPCLogHit::getStripNumberInCone
()
const
{
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
}
RPCLogHit::m_ConeCrdnts
RPCConst::l1RpcConeCrdnts m_ConeCrdnts
Definition:
RPCLogHit.h:54
RPCLogHit::getLogSegment
int getLogSegment() const
Definition:
RPCLogHit.cc:36
RPCConst::l1RpcConeCrdnts::m_LogSegment
int m_LogSegment
Definition:
RPCConst.h:122
RPCConst::l1RpcConeCrdnts
The coordinates of Logic Cone: m_Tower, m_LogSector, m_LogSegment.
Definition:
RPCConst.h:119
RPCLogHit.h
RPCConst::l1RpcConeCrdnts::m_LogSector
int m_LogSector
Definition:
RPCConst.h:121
RPCLogHit::m_stripNumberInCone
int m_stripNumberInCone
Definition:
RPCLogHit.h:56
RPCLogHit::m_digiIdx
int m_digiIdx
Definition:
RPCLogHit.h:58
RPCLogHit::setDigiIdx
void setDigiIdx(int)
Definition:
RPCLogHit.cc:48
RPCLogHit::getConeCrdnts
RPCConst::l1RpcConeCrdnts getConeCrdnts() const
Definition:
RPCLogHit.cc:24
RPCLogHit::RPCLogHit
RPCLogHit()
Definition:
RPCLogHit.h:27
RPCConst::l1RpcConeCrdnts::m_Tower
int m_Tower
Definition:
RPCConst.h:120
RPCLogHit::getStripNumberInCone
int getStripNumberInCone() const
Definition:
RPCLogHit.cc:44
RPCLogHit::m_logPlaneNumber
int m_logPlaneNumber
Definition:
RPCLogHit.h:56
RPCLogHit::getTower
int getTower() const
Definition:
RPCLogHit.cc:28
RPCLogHit::getlogPlaneNumber
int getlogPlaneNumber() const
Definition:
RPCLogHit.cc:40
RPCLogHit::getLogSector
int getLogSector() const
Definition:
RPCLogHit.cc:32
RPCLogHit::getDigiIdx
int getDigiIdx() const
Definition:
RPCLogHit.cc:52
Generated for CMSSW Reference Manual by
1.8.11