ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
}
Jet_ROI.h
Jet_ROI::m_phi
float m_phi
phi coordinate of RoI
Definition
Jet_ROI.h:90
Jet_ROI::eta
virtual double eta() const
Return the eta coordinate of the center of the RoI.
Definition
Jet_ROI.h:80
Jet_ROI::phi
virtual double phi() const
Return the phi coordinate of the center of the RoI.
Definition
Jet_ROI.h:82
Jet_ROI::m_thrPattern
uint32_t m_thrPattern
threshold bit pattern
Definition
Jet_ROI.h:92
Jet_ROI::~Jet_ROI
virtual ~Jet_ROI()
Destructor.
Definition
Jet_ROI.cxx:40
Jet_ROI::Jet_ROI
Jet_ROI()
Default constructor (for persistency purposes).
Definition
Jet_ROI.cxx:27
Jet_ROI::m_thresholdNames
thresholds_type m_thresholdNames
Names of the passed thresholds.
Definition
Jet_ROI.h:94
Jet_ROI::m_eta
float m_eta
eta coordinate of RoI
Definition
Jet_ROI.h:89
Jet_ROI::m_ET8x8
float m_ET8x8
ET sum in an 8x8 cluster.
Definition
Jet_ROI.h:99
Jet_ROI::m_ET6x6
float m_ET6x6
ET sum in a 6x6 cluster.
Definition
Jet_ROI.h:98
Jet_ROI::m_ET4x4
float m_ET4x4
ET sum in a 4x4 cluster.
Definition
Jet_ROI.h:97
Jet_ROI::pt
virtual double pt() const
Return the pT of the highest threshold passed.
Definition
Jet_ROI.cxx:52
Jet_ROI::m_roiWord
uint32_t m_roiWord
32bit encoded ROI word
Definition
Jet_ROI.h:87
Jet_ROI::m_thresholdValues
thr_value_type m_thresholdValues
Values of the passed thresholds.
Definition
Jet_ROI.h:95
Generated on
for ATLAS Offline Software by
1.17.0