ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMuons
src
MuonTruthIsolationDecorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef DERIVATIONFRAMEWORK_MuonTruthIsolationDecorAlg_H
5
#define DERIVATIONFRAMEWORK_MuonTruthIsolationDecorAlg_H
6
7
// Gaudi & Athena basics
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
#include "
xAODBase/IParticleContainer.h
"
12
#include "
xAODTruth/TruthEventContainer.h
"
13
14
namespace
DerivationFramework
{
15
class
MuonTruthIsolationDecorAlg
:
public
AthReentrantAlgorithm
{
16
public
:
18
MuonTruthIsolationDecorAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
20
virtual
~MuonTruthIsolationDecorAlg
() =
default
;
21
22
StatusCode
initialize
()
override
;
23
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
24
25
private
:
26
SG::ReadHandleKey<xAOD::IParticleContainer>
m_partSGKey
{
this
,
"ContainerKey"
,
""
,
27
"Key of the container to run the truth isolation on "
};
28
SG::ReadHandleKey<xAOD::TruthEventContainer>
m_truthSGKey
{
this
,
"TruthContainerKey"
,
"TruthEvents"
};
29
31
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_topoetcone20_Key
{
this
,
"Key_TopoEtCone20"
,
m_partSGKey
,
""
};
33
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_ptcone20_pt500_Key
{
this
,
"Key_PtCone20_pt500"
,
m_partSGKey
,
""
};
34
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_ptcone20_Key
{
this
,
"Key_PtCone20"
,
m_partSGKey
,
""
};
36
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_ptvarcone20_pt500_Key
{
this
,
"Key_PtVarCone20_pt500"
,
m_partSGKey
,
""
};
37
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_ptvarcone20_Key
{
this
,
"Key_PtVarCone20"
,
m_partSGKey
,
""
};
39
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_ptvarcone30_pt500_Key
{
this
,
"Key_PtVarCone30_pt500"
,
m_partSGKey
,
""
};
40
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_ptvarcone30_Key
{
this
,
"Key_PtVarCone30"
,
m_partSGKey
,
""
};
41
};
42
}
// namespace DerivationFramework
43
#endif
//
AthReentrantAlgorithm.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.
TruthEventContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DerivationFramework::MuonTruthIsolationDecorAlg::m_ptcone20_pt500_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptcone20_pt500_Key
PtCone20.
Definition
MuonTruthIsolationDecorAlg.h:33
DerivationFramework::MuonTruthIsolationDecorAlg::m_ptvarcone20_pt500_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone20_pt500_Key
PtVarCone20.
Definition
MuonTruthIsolationDecorAlg.h:36
DerivationFramework::MuonTruthIsolationDecorAlg::m_topoetcone20_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_topoetcone20_Key
Decor handle keys. Never set them via the JO as they're overwritten.
Definition
MuonTruthIsolationDecorAlg.h:31
DerivationFramework::MuonTruthIsolationDecorAlg::initialize
StatusCode initialize() override
Definition
MuonTruthIsolationDecorAlg.cxx:37
DerivationFramework::MuonTruthIsolationDecorAlg::m_ptvarcone30_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone30_Key
Definition
MuonTruthIsolationDecorAlg.h:40
DerivationFramework::MuonTruthIsolationDecorAlg::m_ptvarcone20_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone20_Key
Definition
MuonTruthIsolationDecorAlg.h:37
DerivationFramework::MuonTruthIsolationDecorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MuonTruthIsolationDecorAlg.cxx:64
DerivationFramework::MuonTruthIsolationDecorAlg::m_ptvarcone30_pt500_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone30_pt500_Key
Pt varcone 30.
Definition
MuonTruthIsolationDecorAlg.h:39
DerivationFramework::MuonTruthIsolationDecorAlg::MuonTruthIsolationDecorAlg
MuonTruthIsolationDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition
MuonTruthIsolationDecorAlg.cxx:33
DerivationFramework::MuonTruthIsolationDecorAlg::~MuonTruthIsolationDecorAlg
virtual ~MuonTruthIsolationDecorAlg()=default
Destructor.
DerivationFramework::MuonTruthIsolationDecorAlg::m_truthSGKey
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthSGKey
Definition
MuonTruthIsolationDecorAlg.h:28
DerivationFramework::MuonTruthIsolationDecorAlg::m_partSGKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_partSGKey
Definition
MuonTruthIsolationDecorAlg.h:26
DerivationFramework::MuonTruthIsolationDecorAlg::m_ptcone20_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptcone20_Key
Definition
MuonTruthIsolationDecorAlg.h:34
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
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0