ATLAS Offline Software
PhysicsAnalysis
AnalysisTrigger
AnalysisTriggerEvent
src
Jet_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/Jet_ROI.h
"
8
9
#include <algorithm>
10
15
Jet_ROI::Jet_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_ET4x4(0),
19
m_ET6x6(0),
20
m_ET8x8(0) {
21
22
}
23
27
Jet_ROI::Jet_ROI
()
28
: m_roiWord( 0 ), m_eta( 0. ), m_phi( 0. ), m_thrPattern( 0 ),
29
m_thresholdNames( 0 ), m_thresholdValues( 0 ),
30
m_ET4x4(0),
31
m_ET6x6(0),
32
m_ET8x8(0) {
33
34
}
35
40
Jet_ROI::~Jet_ROI
() {
41
42
}
43
52
double
Jet_ROI::pt
()
const
{
53
auto
itr = std::max_element(
m_thresholdValues
.begin(),
m_thresholdValues
.end());
54
return
(itr !=
m_thresholdValues
.end() ? *itr : -1);
55
}
phi
Scalar phi() const
phi method
Definition:
AmgMatrixBasePlugin.h:67
xAOD::uint32_t
setEventNumber uint32_t
Definition:
EventInfo_v1.cxx:127
Jet_ROI::m_thresholdValues
thr_value_type m_thresholdValues
Values of the passed thresholds.
Definition:
Jet_ROI.h:95
eta
Scalar eta() const
pseudorapidity method
Definition:
AmgMatrixBasePlugin.h:83
Jet_ROI::Jet_ROI
Jet_ROI()
Default constructor (for persistency purposes)
Definition:
Jet_ROI.cxx:27
Jet_ROI::pt
virtual double pt() const
Return the pT of the highest threshold passed.
Definition:
Jet_ROI.cxx:52
xAOD::roiWord
roiWord
Definition:
TrigMissingET_v1.cxx:36
Jet_ROI::~Jet_ROI
virtual ~Jet_ROI()
Destructor.
Definition:
Jet_ROI.cxx:40
xAOD::thrPattern
thrPattern
Definition:
EmTauRoI_v2.cxx:60
Jet_ROI.h
Generated on Thu Nov 7 2024 21:17:58 for ATLAS Offline Software by
1.8.18