ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMuons
src
PflowIsolationDecorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef DERIVATIONFRAMEWORKMUONS_PFLOWISOLATIONDECORALG_H
5
#define DERIVATIONFRAMEWORKMUONS_PFLOWISOLATIONDECORALG_H
6
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
StoreGate/ReadHandleKey.h
"
9
#include "
StoreGate/WriteDecorHandleKey.h
"
10
#include "
xAODPrimitives/IsolationType.h
"
11
#include "
xAODTracking/TrackParticleContainer.h
"
12
#include "
StoreGate/ReadDecorHandleKeyArray.h
"
13
#include "
RecoToolInterfaces/INeutralEFlowIsolationTool.h
"
14
16
17
namespace
DerivationFramework
{
18
class
PflowIsolationDecorAlg
:
public
AthReentrantAlgorithm
{
19
public
:
21
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
22
24
~PflowIsolationDecorAlg
() =
default
;
25
27
StatusCode
initialize
()
override
;
28
StatusCode
execute
(
const
EventContext& ctx)
const override
;
29
30
private
:
32
ToolHandle<xAOD::INeutralEFlowIsolationTool>
m_isoTool
{
this
,
"IsolationTool"
,
""
};
33
xAOD::CaloCorrection
m_calo_corr
;
34
36
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trk_key
{
this
,
"TrackCollection"
,
"InDetTrackParticles"
};
37
39
Gaudi::Property<float>
m_pt_min
{
this
,
"PtMin"
, 3. * Gaudi::Units::GeV};
40
41
Gaudi::Property<std::string>
m_customName
{
this
,
"customName"
,
""
};
42
45
Gaudi::Property<std::vector<std::string>>
m_trkSel_Decors
{
this
,
"TrackSelections"
, {},
46
"List of decorator names of which one needs to be true to run the isolation"
};
47
SG::ReadDecorHandleKeyArray<xAOD::TrackParticleContainer>
m_trkSel_keys
{
this
,
"SelectionKeys"
, {},
48
"Will be overwritten in initialize"
};
49
50
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_neflowCone20_key
{
this
,
"NeflowCone20Key"
,
m_trk_key
,
""
,
51
"Will be overwritten in initialize"
};
52
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_neflowCone30_key
{
this
,
"NeflowCone30Key"
,
m_trk_key
,
""
,
53
"Will be overwritten in initialize"
};
54
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_neflowCone40_key
{
this
,
"NeflowCone40Key"
,
m_trk_key
,
""
,
55
"Will be overwritten in initialize"
};
56
57
std::vector<xAOD::Iso::IsolationType>
m_pflow_isos
{
xAOD::Iso::neflowisol40
,
xAOD::Iso::neflowisol30
,
xAOD::Iso::neflowisol20
};
58
};
59
}
60
#endif
AthReentrantAlgorithm.h
TrackParticleContainer.h
INeutralEFlowIsolationTool.h
IsolationType.h
ReadDecorHandleKeyArray.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DerivationFramework::PflowIsolationDecorAlg
Definition
PflowIsolationDecorAlg.h:18
DerivationFramework::PflowIsolationDecorAlg::m_neflowCone30_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone30_key
Definition
PflowIsolationDecorAlg.h:52
DerivationFramework::PflowIsolationDecorAlg::m_pt_min
Gaudi::Property< float > m_pt_min
pt threshold to apply
Definition
PflowIsolationDecorAlg.h:39
DerivationFramework::PflowIsolationDecorAlg::m_calo_corr
xAOD::CaloCorrection m_calo_corr
Definition
PflowIsolationDecorAlg.h:33
DerivationFramework::PflowIsolationDecorAlg::m_pflow_isos
std::vector< xAOD::Iso::IsolationType > m_pflow_isos
Definition
PflowIsolationDecorAlg.h:57
DerivationFramework::PflowIsolationDecorAlg::~PflowIsolationDecorAlg
~PflowIsolationDecorAlg()=default
Destructor:
DerivationFramework::PflowIsolationDecorAlg::m_isoTool
ToolHandle< xAOD::INeutralEFlowIsolationTool > m_isoTool
Athena configured tools.
Definition
PflowIsolationDecorAlg.h:32
DerivationFramework::PflowIsolationDecorAlg::m_neflowCone40_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone40_key
Definition
PflowIsolationDecorAlg.h:54
DerivationFramework::PflowIsolationDecorAlg::m_trk_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trk_key
track collection to decorate
Definition
PflowIsolationDecorAlg.h:36
DerivationFramework::PflowIsolationDecorAlg::m_trkSel_keys
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkSel_keys
Definition
PflowIsolationDecorAlg.h:47
DerivationFramework::PflowIsolationDecorAlg::m_neflowCone20_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_neflowCone20_key
Definition
PflowIsolationDecorAlg.h:50
DerivationFramework::PflowIsolationDecorAlg::m_customName
Gaudi::Property< std::string > m_customName
Definition
PflowIsolationDecorAlg.h:41
DerivationFramework::PflowIsolationDecorAlg::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition
PflowIsolationDecorAlg.cxx:15
DerivationFramework::PflowIsolationDecorAlg::m_trkSel_Decors
Gaudi::Property< std::vector< std::string > > m_trkSel_Decors
Optional list of decorators to select only the good tracks for the isolation decoration.
Definition
PflowIsolationDecorAlg.h:45
DerivationFramework::PflowIsolationDecorAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
PflowIsolationDecorAlg.cxx:40
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::ReadDecorHandleKeyArray
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
Definition
StoreGate/StoreGate/ReadDecorHandleKeyArray.h:35
xAOD::Iso::neflowisol40
@ neflowisol40
Definition
IsolationType.h:66
xAOD::Iso::neflowisol30
@ neflowisol30
Definition
IsolationType.h:65
xAOD::Iso::neflowisol20
@ neflowisol20
Neutral eflow isolation.
Definition
IsolationType.h:64
xAOD::CaloCorrection
Definition
IsolationCommon.h:14
Generated on
for ATLAS Offline Software by
1.17.0