ATLAS Offline Software
Loading...
Searching...
No Matches
MuonTrkIDMSScatterDecorAlg.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_MUONTRKIDMSSCATTERDECPRALG_H
6#define MUONCOMBINEDALGS_MUONTRKIDMSSCATTERDECPRALG_H
7
8
10#include "GaudiKernel/ToolHandle.h"
15/*
16 Algorithm to decorate the scattering positions of the track in the calorimter to the TrackParticle
17*/
18
20 public:
21 MuonTrkIDMSScatterDecorAlg(const std::string& name, ISvcLocator* pSvcLocator);
23
24 virtual StatusCode initialize() override;
25 virtual StatusCode execute(const EventContext& ctx) const override;
26 private:
27 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_TrkContainer{this, "TrackContainer", "", "track particle container"};
28
29 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_deltaPhi1Key{this, "deltaPhi1", "", "deltaphi_1 decoration key"};
30 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_deltaTheta1Key{this, "deltaTheta1", "", "deltatheta_1 decoration key"};
31
32 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_sigmaDeltaPhi1Key{this, "sigmaDeltaPhi1", "", "sigmadeltaphi_1 decoration key"};
33 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_sigmaDeltaTheta1Key{this, "sigmaDeltaTheta1", "", "sigmadeltatheta_1 decoration key"};
34
35 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_deltaPhi0Key{this, "deltaPhi0", "", "deltaphi_0 decoration key"};
36 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_deltaTheta0Key{this, "deltaTheta0", "", "deltatheta_0 decoration key"};
37
38 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_sigmaDeltaPhi0Key{this, "sigmaDeltaPhi0", "", "sigmadeltaphi_0 decoration key"};
39 SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> m_sigmaDeltaTheta0Key{this, "sigmaDeltaTheta0", "", "sigmadeltatheta_0 decoration key"};
40
41};
42#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::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkContainer
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTheta0Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaPhi0Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTheta0Key
~MuonTrkIDMSScatterDecorAlg()=default
virtual StatusCode initialize() override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaPhi1Key
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaPhi0Key
MuonTrkIDMSScatterDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTheta1Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaPhi1Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTheta1Key
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.