ATLAS Offline Software
MuonTrkAEOTDecorationAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCOMBINEDALGS_MUONAEOTDECORATIONALG_H
6 #define MUONCOMBINEDALGS_MUONAEOTDECORATIONALG_H
7 
8 
10 #include "GaudiKernel/ToolHandle.h"
15 /*
16  Algorithm to decorate the alignment effect on track information on a muon track particle
17 */
18 
20  public:
21  MuonTrkAEOTDecorationAlg(const std::string& name, ISvcLocator* pSvcLocator);
23 
24  virtual StatusCode initialize() override;
25  virtual StatusCode execute(const EventContext& ctx) const override;
26  private:
27  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
28 
30  "", "Track particles to use for the decoration"};
31 
32  SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_chIdKey{this, "ChambedIds", "", "alignEffectChId decoration key"};
33  SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_deltaTransKey{this, "deltaTrans", "", "alignEffectDeltaTrans decoration"};
34  SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_sigmaDeltaTransKey{this, "sigmaDeltaTrans", "", "alignEffectSigmaDeltaTrans decoration key"};
35 
36  SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_deltaAngleKey{this, "deltaAngle", "" , "alignEffectDeltaAngle decoration"};
37  SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_sigmaDeltaAngleKey{this, "sigmaDeltaAngle", "" , "alignEffectSigmaDeltaAngle decoration"};
38 
39 };
40 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer >
MuonTrkAEOTDecorationAlg::initialize
virtual StatusCode initialize() override
Definition: MuonTrkAEOTDecorationAlg.cxx:12
MuonTrkAEOTDecorationAlg::m_TrkContainer
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkContainer
Definition: MuonTrkAEOTDecorationAlg.h:29
MuonTrkAEOTDecorationAlg::m_deltaTransKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTransKey
Definition: MuonTrkAEOTDecorationAlg.h:33
MuonTrkAEOTDecorationAlg::MuonTrkAEOTDecorationAlg
MuonTrkAEOTDecorationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonTrkAEOTDecorationAlg.cxx:9
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonTrkAEOTDecorationAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: MuonTrkAEOTDecorationAlg.cxx:32
AthReentrantAlgorithm.h
MuonTrkAEOTDecorationAlg::~MuonTrkAEOTDecorationAlg
~MuonTrkAEOTDecorationAlg()=default
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MuonTrkAEOTDecorationAlg
Definition: MuonTrkAEOTDecorationAlg.h:19
MuonTrkAEOTDecorationAlg::m_chIdKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chIdKey
Definition: MuonTrkAEOTDecorationAlg.h:32
MuonTrkAEOTDecorationAlg::m_deltaAngleKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaAngleKey
Definition: MuonTrkAEOTDecorationAlg.h:36
MuonTrkAEOTDecorationAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonTrkAEOTDecorationAlg.h:27
TrackParticleContainer.h
IMuonIdHelperSvc.h
MuonTrkAEOTDecorationAlg::m_sigmaDeltaAngleKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaAngleKey
Definition: MuonTrkAEOTDecorationAlg.h:37
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonTrkAEOTDecorationAlg::m_sigmaDeltaTransKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTransKey
Definition: MuonTrkAEOTDecorationAlg.h:34