ATLAS Offline Software
Trigger
TrigT1
TrigT1TGC
src
TGCTrackSelectorOut.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
TrigT1TGC/TGCTrackSelectorOut.h
"
5
6
namespace
LVL1TGCTrigger
{
7
8
TGCTrackSelectorOut::TGCTrackSelectorOut
()
9
{
10
11
12
13
for
(
int
i
=0;
i
<
NCandidateInTrackSelector
;
i
+=1){
14
m_ptLevel
[
i
]=0;
15
m_r
[
i
]=0;
16
m_phi
[
i
]=0;
17
m_dr
[
i
]=99;
18
m_dphi
[
i
]=99;
19
m_iVeto
[
i
]=
false
;
20
m_charge
[
i
]=0;
21
m_coincidenceTypeFlag
[
i
]=-1;
22
m_goodMFFlag
[
i
]=
false
;
23
m_innerCoincidenceFlag
[
i
]=
false
;
24
}
25
m_nCandidate
=0;
26
}
27
28
29
30
void
TGCTrackSelectorOut::reset
()
31
{
32
for
(
int
i
=0;
i
<
NCandidateInTrackSelector
;
i
+=1){
33
m_ptLevel
[
i
]=0;
34
m_r
[
i
]=0;
35
m_phi
[
i
]=0;
36
m_dr
[
i
]=99;
37
m_dphi
[
i
]=99;
38
m_iVeto
[
i
]=
false
;
39
m_charge
[
i
]=0;
40
m_coincidenceTypeFlag
[
i
]=-1;
41
m_goodMFFlag
[
i
]=
false
;
42
m_innerCoincidenceFlag
[
i
]=
false
;
43
}
44
m_nCandidate
=0;
45
}
46
47
48
49
TGCTrackSelectorOut::~TGCTrackSelectorOut()
50
{
51
}
52
53
54
void
TGCTrackSelectorOut::setPtLevel
(
int
order
,
int
ptLevelIn)
55
{
56
57
if
(
order
<
NCandidateInTrackSelector
){
58
m_ptLevel
[
order
]=ptLevelIn;
59
m_nCandidate
++;
60
}
61
62
}
63
64
65
66
}
//end of namespace bracket
LVL1TGCTrigger::TGCTrackSelectorOut::m_coincidenceTypeFlag
bool m_coincidenceTypeFlag[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:57
LVL1TGCTrigger::TGCTrackSelectorOut::reset
void reset()
Definition:
TGCTrackSelectorOut.cxx:30
LVL1TGCTrigger::TGCTrackSelectorOut::m_ptLevel
int m_ptLevel[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:50
LVL1TGCTrigger::TGCTrackSelectorOut::setPtLevel
void setPtLevel(int order, int ptLevel)
Definition:
TGCTrackSelectorOut.cxx:54
LVL1TGCTrigger::TGCTrackSelectorOut::m_nCandidate
int m_nCandidate
Definition:
TGCTrackSelectorOut.h:49
LVL1TGCTrigger::TGCTrackSelectorOut::m_innerCoincidenceFlag
bool m_innerCoincidenceFlag[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:59
LVL1TGCTrigger::TGCTrackSelectorOut::m_iVeto
bool m_iVeto[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:55
LVL1TGCTrigger::TGCTrackSelectorOut::m_phi
int m_phi[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:52
LVL1TGCTrigger::TGCTrackSelectorOut::m_dr
int m_dr[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:53
LVL1TGCTrigger::TGCTrackSelectorOut::m_charge
int m_charge[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:56
LVL1TGCTrigger::TGCTrackSelectorOut::m_r
int m_r[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:51
lumiFormat.i
int i
Definition:
lumiFormat.py:85
mc.order
order
Configure Herwig7.
Definition:
mc.Herwig7_Dijet.py:12
LVL1TGCTrigger::TGCTrackSelectorOut::m_dphi
int m_dphi[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:54
LVL1TGCTrigger
Definition:
LVL1TGCTrigger.cxx:47
TGCTrackSelectorOut.h
LVL1TGCTrigger::TGCTrackSelectorOut::TGCTrackSelectorOut
TGCTrackSelectorOut()
Definition:
TGCTrackSelectorOut.cxx:8
LVL1TGCTrigger::TGCTrackSelectorOut::m_goodMFFlag
bool m_goodMFFlag[NCandidateInTrackSelector]
Definition:
TGCTrackSelectorOut.h:58
LVL1TGCTrigger::TGCTrackSelectorOut::NCandidateInTrackSelector
@ NCandidateInTrackSelector
Definition:
TGCTrackSelectorOut.h:39
Generated on Thu Nov 7 2024 21:27:49 for ATLAS Offline Software by
1.8.18