ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisTrigger
AnalysisTriggerEvent
src
EmTau_ROI.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
// Local include(s):
7
#include "
AnalysisTriggerEvent/EmTau_ROI.h
"
8
9
#include <algorithm>
10
15
EmTau_ROI::EmTau_ROI
( uint32_t roiWord,
float
eta
,
float
phi
, uint32_t thrPattern )
16
:
m_roiWord
( roiWord ),
m_eta
(
eta
),
m_phi
(
phi
),
m_thrPattern
( thrPattern ),
17
m_thresholdNames
( 0 ),
m_thresholdValues
( 0 ),
18
m_Core
(0),
19
m_EMClus
(0),
20
m_TauClus
(0),
21
m_EMIsol
(0),
22
m_HadIsol
(0),
23
m_HadCore
(0) {
24
25
}
26
30
EmTau_ROI::EmTau_ROI
()
31
:
m_roiWord
( 0 ),
m_eta
( 0. ),
m_phi
( 0. ),
m_thrPattern
( 0 ),
32
m_thresholdNames
( 0 ),
m_thresholdValues
( 0 ),
33
m_Core
(0),
34
m_EMClus
(0),
35
m_TauClus
(0),
36
m_EMIsol
(0),
37
m_HadIsol
(0),
38
m_HadCore
(0) {
39
40
}
41
46
EmTau_ROI::~EmTau_ROI
() {
47
48
}
49
58
double
EmTau_ROI::pt
()
const
{
59
auto
itr = std::max_element(
m_thresholdValues
.begin(),
m_thresholdValues
.end());
60
return
(itr !=
m_thresholdValues
.end() ? *itr : -1);
61
}
EmTau_ROI.h
EmTau_ROI::EmTau_ROI
EmTau_ROI()
Default constructor (for persistency purposes).
Definition
EmTau_ROI.cxx:30
EmTau_ROI::m_roiWord
uint32_t m_roiWord
32bit encoded ROI word
Definition
EmTau_ROI.h:103
EmTau_ROI::m_eta
float m_eta
eta coordinate of RoI
Definition
EmTau_ROI.h:105
EmTau_ROI::m_thresholdNames
thresholds_type m_thresholdNames
Names of the passed thresholds.
Definition
EmTau_ROI.h:110
EmTau_ROI::~EmTau_ROI
virtual ~EmTau_ROI()
Destructor.
Definition
EmTau_ROI.cxx:46
EmTau_ROI::pt
virtual double pt() const
Return the pT of the highest threshold passed.
Definition
EmTau_ROI.cxx:58
EmTau_ROI::m_Core
float m_Core
ET of RoI core cluster (used to select window).
Definition
EmTau_ROI.h:113
EmTau_ROI::m_TauClus
float m_TauClus
Deposited ET in the "tau cluster".
Definition
EmTau_ROI.h:115
EmTau_ROI::m_EMClus
float m_EMClus
Deposited ET in the "EM cluster".
Definition
EmTau_ROI.h:114
EmTau_ROI::m_thresholdValues
thr_value_type m_thresholdValues
Values of the passed thresholds.
Definition
EmTau_ROI.h:111
EmTau_ROI::eta
virtual double eta() const
Return the eta coordinate of the center of the RoI.
Definition
EmTau_ROI.h:96
EmTau_ROI::m_EMIsol
float m_EMIsol
EM calorimeter isolation.
Definition
EmTau_ROI.h:116
EmTau_ROI::m_HadCore
float m_HadCore
ET of inner hadronic isolation sum.
Definition
EmTau_ROI.h:118
EmTau_ROI::phi
virtual double phi() const
Return the phi coordinate of the center of the RoI.
Definition
EmTau_ROI.h:98
EmTau_ROI::m_thrPattern
uint32_t m_thrPattern
threshold bit pattern
Definition
EmTau_ROI.h:108
EmTau_ROI::m_HadIsol
float m_HadIsol
Outer Hadron calorimeter isolation.
Definition
EmTau_ROI.h:117
EmTau_ROI::m_phi
float m_phi
phi coordinate of RoI
Definition
EmTau_ROI.h:106
Generated on
for ATLAS Offline Software by
1.17.0