ATLAS Offline Software
Loading...
Searching...
No Matches
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
13
14namespace DerivationFramework {
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:
27 "Key of the container to run the truth isolation on "};
28 SG::ReadHandleKey<xAOD::TruthEventContainer> m_truthSGKey{this, "TruthContainerKey", "TruthEvents"};
29
41 };
42} // namespace DerivationFramework
43#endif //
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptcone20_pt500_Key
PtCone20.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone20_pt500_Key
PtVarCone20.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_topoetcone20_Key
Decor handle keys. Never set them via the JO as they're overwritten.
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone30_Key
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone20_Key
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptvarcone30_pt500_Key
Pt varcone 30.
MuonTruthIsolationDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
virtual ~MuonTruthIsolationDecorAlg()=default
Destructor.
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthSGKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_partSGKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_ptcone20_Key
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
THE reconstruction tool.