ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMuons
src
CaloIsolationDecorAlg.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_CALOISOLATIONDECORALG_H_
5
#define DERIVATIONFRAMEWORKMUONS_CALOISOLATIONDECORALG_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/ICaloTopoClusterIsolationTool.h
>
14
16
namespace
DerivationFramework
{
17
class
CaloIsolationDecorAlg
:
public
AthReentrantAlgorithm
{
18
public
:
20
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
21
23
~CaloIsolationDecorAlg
() =
default
;
24
26
StatusCode
initialize
()
override
;
27
StatusCode
execute
(
const
EventContext& ctx)
const override
;
28
29
private
:
31
ToolHandle<xAOD::ICaloTopoClusterIsolationTool>
m_isoTool
{
this
,
"IsolationTool"
,
""
};
32
xAOD::CaloCorrection
m_calo_corr
;
33
35
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trk_key
{
this
,
"TrackCollection"
,
"InDetTrackParticles"
};
36
38
Gaudi::Property<float>
m_pt_min
{
this
,
"PtMin"
, 3. * Gaudi::Units::GeV};
39
40
Gaudi::Property<std::string>
m_customName
{
this
,
"customName"
,
""
};
41
44
Gaudi::Property<std::vector<std::string>>
m_trkSel_Decors
{
this
,
"TrackSelections"
, {},
45
"List of decorator names of which one needs to be true to run the isolation"
};
46
SG::ReadDecorHandleKeyArray<xAOD::TrackParticleContainer>
m_trkSel_keys
{
this
,
"SelectionKeys"
, {},
47
"Will be overwritten in initialize"
};
48
49
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_topocone20_key
{
this
,
"TopoCone20Key"
,
m_trk_key
,
""
,
50
"Will be overwritten in initialize"
};
51
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_topocone30_key
{
this
,
"TopoCone30Key"
,
m_trk_key
,
""
,
52
"Will be overwritten in initialize"
};
53
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_topocone40_key
{
this
,
"TopoCone40Key"
,
m_trk_key
,
""
,
54
"Will be overwritten in initialize"
};
55
SG::WriteDecorHandleKey<xAOD::TrackParticleContainer>
m_corr_key
{
this
,
"CorrDecorKey"
,
m_trk_key
,
""
,
56
"Will be overwritten in initialize"
};
57
58
std::vector<xAOD::Iso::IsolationType>
m_calo_isos
{
xAOD::Iso::topoetcone40
,
xAOD::Iso::topoetcone30
,
xAOD::Iso::topoetcone20
};
59
};
60
}
61
#endif
/* CaloIsolationDecorAlg_H_ */
AthReentrantAlgorithm.h
TrackParticleContainer.h
ICaloTopoClusterIsolationTool.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::CaloIsolationDecorAlg
Definition
CaloIsolationDecorAlg.h:17
DerivationFramework::CaloIsolationDecorAlg::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
CaloIsolationDecorAlg.h:44
DerivationFramework::CaloIsolationDecorAlg::m_pt_min
Gaudi::Property< float > m_pt_min
pt threshold to apply
Definition
CaloIsolationDecorAlg.h:38
DerivationFramework::CaloIsolationDecorAlg::m_trk_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trk_key
track collection to decorate
Definition
CaloIsolationDecorAlg.h:35
DerivationFramework::CaloIsolationDecorAlg::m_topocone20_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_topocone20_key
Definition
CaloIsolationDecorAlg.h:49
DerivationFramework::CaloIsolationDecorAlg::m_corr_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_corr_key
Definition
CaloIsolationDecorAlg.h:55
DerivationFramework::CaloIsolationDecorAlg::~CaloIsolationDecorAlg
~CaloIsolationDecorAlg()=default
Destructor:
DerivationFramework::CaloIsolationDecorAlg::m_calo_corr
xAOD::CaloCorrection m_calo_corr
Definition
CaloIsolationDecorAlg.h:32
DerivationFramework::CaloIsolationDecorAlg::m_topocone30_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_topocone30_key
Definition
CaloIsolationDecorAlg.h:51
DerivationFramework::CaloIsolationDecorAlg::m_customName
Gaudi::Property< std::string > m_customName
Definition
CaloIsolationDecorAlg.h:40
DerivationFramework::CaloIsolationDecorAlg::m_trkSel_keys
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkSel_keys
Definition
CaloIsolationDecorAlg.h:46
DerivationFramework::CaloIsolationDecorAlg::initialize
StatusCode initialize() override
Athena algorithm's Hooks.
Definition
CaloIsolationDecorAlg.cxx:15
DerivationFramework::CaloIsolationDecorAlg::m_calo_isos
std::vector< xAOD::Iso::IsolationType > m_calo_isos
Definition
CaloIsolationDecorAlg.h:58
DerivationFramework::CaloIsolationDecorAlg::m_isoTool
ToolHandle< xAOD::ICaloTopoClusterIsolationTool > m_isoTool
Athena configured tools.
Definition
CaloIsolationDecorAlg.h:31
DerivationFramework::CaloIsolationDecorAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
CaloIsolationDecorAlg.cxx:39
DerivationFramework::CaloIsolationDecorAlg::m_topocone40_key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_topocone40_key
Definition
CaloIsolationDecorAlg.h:53
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::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition
IsolationType.h:48
xAOD::Iso::topoetcone40
@ topoetcone40
Definition
IsolationType.h:50
xAOD::Iso::topoetcone30
@ topoetcone30
Definition
IsolationType.h:49
xAOD::CaloCorrection
Definition
IsolationCommon.h:14
Generated on
for ATLAS Offline Software by
1.17.0