ATLAS Offline Software
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
}
phi
Scalar phi() const
phi method
Definition:
AmgMatrixBasePlugin.h:67
EmTau_ROI.h
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
eta
Scalar eta() const
pseudorapidity method
Definition:
AmgMatrixBasePlugin.h:83
EmTau_ROI::m_thresholdValues
thr_value_type m_thresholdValues
Values of the passed thresholds.
Definition:
EmTau_ROI.h:111
EmTau_ROI::pt
virtual double pt() const
Return the pT of the highest threshold passed.
Definition:
EmTau_ROI.cxx:58
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
EmTau_ROI::EmTau_ROI
EmTau_ROI()
Default constructor (for persistency purposes)
Definition:
EmTau_ROI.cxx:30
xAOD::thrPattern
thrPattern
Definition:
EmTauRoI_v2.cxx:60
EmTau_ROI::~EmTau_ROI
virtual ~EmTau_ROI()
Destructor.
Definition:
EmTau_ROI.cxx:46
Generated on Thu Nov 7 2024 21:14:43 for ATLAS Offline Software by
1.8.18