ATLAS Offline Software
Trigger
TrigTools
TrigMuonBackExtrapolator
src
TrigMuonBackExtrapolator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGMUONBACKEXTRAPOLATOR_H
6
#define TRIGMUONBACKEXTRAPOLATOR_H
7
8
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
TrigMuonToolInterfaces/ITrigMuonBackExtrapolator.h
"
11
12
13
14
class
TrigMuonBackExtrapolator
:
public
AthAlgTool
,
15
virtual
public
ITrigMuonBackExtrapolator
16
{
17
public
:
18
TrigMuonBackExtrapolator
(
const
std::string&,
19
const
std::string&,
20
const
IInterface* );
21
22
~TrigMuonBackExtrapolator
();
23
24
virtual
StatusCode
initialize
();
25
virtual
StatusCode
finalize
();
26
27
28
StatusCode
give_eta_phi_at_vertex
(
const
MuonFeature
*,
// input muon track
29
double
& extEta,
// vertex eta
30
double
& sigmaEta,
// sigma vertex eta
31
double
& extPhi,
// vertex phi
32
double
& sigmaPhi,
// sigma vertex phi
33
double
PT
)
const
;
// PT of the window
34
35
StatusCode
give_eta_phi_at_vertex
(
double
pt
,
// pt of muon track
36
const
MuonFeature
*,
// input muon track
37
double
& extEta,
// vertex eta
38
double
& sigmaEta,
// sigma vertex eta
39
double
& extPhi,
// vertex phi
40
double
& sigmaPhi,
// sigma vertex phi
41
double
PT
)
const
;
// PT of the window
42
43
44
StatusCode
give_eta_phi_at_vertex
(
const
MuonFeature
*,
// input muon track
45
double
ZetaID,
// Z vertex from ID
46
double
& extEta,
// vertex eta
47
double
& sigmaEta,
// sigma vertex eta
48
double
& extPhi,
// vertex phi
49
double
& sigmaPhi,
// sigma vertex phi
50
double
PT
)
const
;
// PT of the window
51
52
StatusCode
give_eta_phi_at_vertex
(
double
pt
,
// pt of muon track
53
const
MuonFeature
*,
// input muon track
54
double
ZetaID,
// Z vertex from ID
55
double
& extEta,
// vertex eta
56
double
& sigmaEta,
// sigma vertex eta
57
double
& extPhi,
// vertex phi
58
double
& sigmaPhi,
// sigma vertex phi
59
double
PT
)
const
;
// PT of the window
60
61
62
StatusCode
loose_window_match
(
const
MuonFeature
*,
// input muon track
63
const
TrigInDetTrack
*,
// input ID track
64
double
winPT,
// PT of the window
65
double
weight
);
// weight of window
66
67
StatusCode
loose_window_match
(
double
pt
,
// pt of muon track
68
const
MuonFeature
*,
// input muon track
69
const
TrigInDetTrack
*,
// input ID track
70
double
winPT,
// PT of the window
71
double
weight
);
// weight of window
72
73
StatusCode
tight_window_match
(
const
MuonFeature
*,
// input muon track
74
const
TrigInDetTrack
*,
// input ID track
75
double
winPT,
// PT of the window
76
double
weight
);
// weight of window
77
78
StatusCode
tight_window_match
(
double
pt
,
// pt of muon track
79
const
MuonFeature
*,
// input muon track
80
const
TrigInDetTrack
*,
// input ID track
81
double
winPT,
// PT of the window
82
double
weight
);
// weight of window
83
84
85
double
give_loose_chi2
(
const
MuonFeature
*,
// input muon track
86
const
TrigInDetTrack
*);
// input ID track
87
88
89
double
give_tight_chi2
(
const
MuonFeature
*,
// input muon track
90
const
TrigInDetTrack
*);
// input ID track
91
92
// Use xAOD EDM
93
StatusCode
give_eta_phi_at_vertex
(
const
xAOD::L2StandAloneMuon
*,
// input muon track
94
double
& extEta,
// vertex eta
95
double
& sigmaEta,
// sigma vertex eta
96
double
& extPhi,
// vertex phi
97
double
& sigmaPhi,
// sigma vertex phi
98
double
PT
)
const
;
// PT of the window
99
100
StatusCode
give_eta_phi_at_vertex
(
double
pt
,
// pt of muon track
101
const
xAOD::L2StandAloneMuon
*,
// input muon track
102
double
& extEta,
// vertex eta
103
double
& sigmaEta,
// sigma vertex eta
104
double
& extPhi,
// vertex phi
105
double
& sigmaPhi,
// sigma vertex phi
106
double
PT
)
const
;
// PT of the window
107
108
109
StatusCode
give_eta_phi_at_vertex
(
const
xAOD::L2StandAloneMuon
*,
// input muon track
110
double
ZetaID,
// Z vertex from ID
111
double
& extEta,
// vertex eta
112
double
& sigmaEta,
// sigma vertex eta
113
double
& extPhi,
// vertex phi
114
double
& sigmaPhi,
// sigma vertex phi
115
double
PT
)
const
;
// PT of the window
116
117
StatusCode
give_eta_phi_at_vertex
(
double
pt
,
// pt of muon track
118
const
xAOD::L2StandAloneMuon
*,
// input muon track
119
double
ZetaID,
// Z vertex from ID
120
double
& extEta,
// vertex eta
121
double
& sigmaEta,
// sigma vertex eta
122
double
& extPhi,
// vertex phi
123
double
& sigmaPhi,
// sigma vertex phi
124
double
PT
)
const
;
// PT of the window
125
126
127
StatusCode
loose_window_match
(
const
xAOD::L2StandAloneMuon
*,
// input muon track
128
const
TrigInDetTrack
*,
// input ID track
129
double
winPT,
// PT of the window
130
double
weight
);
// weight of window
131
132
StatusCode
loose_window_match
(
double
pt
,
// pt of muon track
133
const
xAOD::L2StandAloneMuon
*,
// input muon track
134
const
TrigInDetTrack
*,
// input ID track
135
double
winPT,
// PT of the window
136
double
weight
);
// weight of window
137
138
StatusCode
tight_window_match
(
const
xAOD::L2StandAloneMuon
*,
// input muon track
139
const
TrigInDetTrack
*,
// input ID track
140
double
winPT,
// PT of the window
141
double
weight
);
// weight of window
142
143
StatusCode
tight_window_match
(
double
pt
,
// pt of muon track
144
const
xAOD::L2StandAloneMuon
*,
// input muon track
145
const
TrigInDetTrack
*,
// input ID track
146
double
winPT,
// PT of the window
147
double
weight
);
// weight of window
148
149
150
void
init_LUT
();
151
152
153
private
:
154
BooleanProperty
m_aligned
;
155
BooleanProperty
m_dataset
;
156
157
double
m_data_Barrel_Param
[2][2][2];
158
double
m_data_Barrel_Sigmas
[2][2][2][2];
159
double
m_data_Endcap_TriggerST_Param
[4][12][2][2][2][2];
160
double
m_data_Endcap_TriggerST_Sigmas
[4][12][2][2][2][2];
161
double
m_data_Endcap_InnerST_Param
[4][12][2][2][2];
162
double
m_data_Endcap_InnerST_PhiSigmas
[4][12][2][2][2];
163
double
m_data_Endcap_InnerST_EtaSigmas
[2][2][2][2][2];
164
165
};
166
167
#endif // TRIGMUONBACKEXTRAPOLATOR_H
TrigMuonBackExtrapolator::tight_window_match
StatusCode tight_window_match(const MuonFeature *, const TrigInDetTrack *, double winPT, double weight)
Definition:
TrigMuonBackExtrapolator.cxx:233
TrigMuonBackExtrapolator::m_data_Endcap_TriggerST_Param
double m_data_Endcap_TriggerST_Param[4][12][2][2][2][2]
Definition:
TrigMuonBackExtrapolator.h:159
TrigMuonBackExtrapolator::finalize
virtual StatusCode finalize()
Definition:
TrigMuonBackExtrapolator.cxx:42
TrigMuonBackExtrapolator::m_data_Barrel_Sigmas
double m_data_Barrel_Sigmas[2][2][2][2]
Definition:
TrigMuonBackExtrapolator.h:158
TrigMuonBackExtrapolator::m_aligned
BooleanProperty m_aligned
Definition:
TrigMuonBackExtrapolator.h:154
ITrigMuonBackExtrapolator.h
xAOD::L2StandAloneMuon_v2
Class describing standalone muons reconstructed in the LVL2 trigger.
Definition:
L2StandAloneMuon_v2.h:36
TrigMuonBackExtrapolator::give_loose_chi2
double give_loose_chi2(const MuonFeature *, const TrigInDetTrack *)
Definition:
TrigMuonBackExtrapolator.cxx:295
TrigMuonBackExtrapolator::loose_window_match
StatusCode loose_window_match(const MuonFeature *, const TrigInDetTrack *, double winPT, double weight)
Definition:
TrigMuonBackExtrapolator.cxx:175
TrigMuonBackExtrapolator::init_LUT
void init_LUT()
Definition:
TrigMuonBackExtrapolator.cxx:555
TrigMuonBackExtrapolator::give_tight_chi2
double give_tight_chi2(const MuonFeature *, const TrigInDetTrack *)
Definition:
TrigMuonBackExtrapolator.cxx:302
test_pyathena.pt
pt
Definition:
test_pyathena.py:11
TrigMuonBackExtrapolator::m_data_Endcap_TriggerST_Sigmas
double m_data_Endcap_TriggerST_Sigmas[4][12][2][2][2][2]
Definition:
TrigMuonBackExtrapolator.h:160
TrigMuonBackExtrapolator
Definition:
TrigMuonBackExtrapolator.h:16
TrigInDetTrack
Definition:
TrigInDetTrack.h:34
dqt_zlumi_pandas.weight
int weight
Definition:
dqt_zlumi_pandas.py:189
TrigMuonBackExtrapolator::m_data_Barrel_Param
double m_data_Barrel_Param[2][2][2]
Definition:
TrigMuonBackExtrapolator.h:157
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
MuonFeature
Definition:
MuonFeature.h:21
TrigMuonBackExtrapolator::give_eta_phi_at_vertex
StatusCode give_eta_phi_at_vertex(const MuonFeature *, double &extEta, double &sigmaEta, double &extPhi, double &sigmaPhi, double PT) const
Definition:
TrigMuonBackExtrapolator.cxx:51
TrigMuonBackExtrapolator::~TrigMuonBackExtrapolator
~TrigMuonBackExtrapolator()
Definition:
TrigMuonBackExtrapolator.cxx:26
TrigMuonBackExtrapolator::initialize
virtual StatusCode initialize()
Definition:
TrigMuonBackExtrapolator.cxx:33
TrigMuonBackExtrapolator::m_data_Endcap_InnerST_EtaSigmas
double m_data_Endcap_InnerST_EtaSigmas[2][2][2][2][2]
Definition:
TrigMuonBackExtrapolator.h:163
TrigMuonBackExtrapolator::m_data_Endcap_InnerST_Param
double m_data_Endcap_InnerST_Param[4][12][2][2][2]
Definition:
TrigMuonBackExtrapolator.h:161
AthAlgTool
Definition:
AthAlgTool.h:26
H5Utils::internal::PT
H5::PredType PT
Definition:
H5Traits.cxx:15
TrigMuonBackExtrapolator::m_data_Endcap_InnerST_PhiSigmas
double m_data_Endcap_InnerST_PhiSigmas[4][12][2][2][2]
Definition:
TrigMuonBackExtrapolator.h:162
TrigMuonBackExtrapolator::m_dataset
BooleanProperty m_dataset
Definition:
TrigMuonBackExtrapolator.h:155
ITrigMuonBackExtrapolator
Definition:
ITrigMuonBackExtrapolator.h:17
TrigMuonBackExtrapolator::TrigMuonBackExtrapolator
TrigMuonBackExtrapolator(const std::string &, const std::string &, const IInterface *)
Definition:
TrigMuonBackExtrapolator.cxx:10
Generated on Thu Nov 7 2024 21:29:59 for ATLAS Offline Software by
1.8.18