ATLAS Offline Software
MuonPrecisionLayerDecorAlg.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 MUONCOMBINEDDECORATIONALGS_MONPRECISIONLAYERDECORALG_H
6 #define MUONCOMBINEDDECORATIONALGS_MONPRECISIONLAYERDECORALG_H
7 
8 
10 #include "GaudiKernel/ToolHandle.h"
11 
12 #include "xAODMuon/MuonContainer.h"
16 
17 /*
18  Algorithm to decorate the muon precision layers to the muon
19 */
20 
22  public:
23  MuonPrecisionLayerDecorAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode execute(const EventContext& ctx) const override;
28  private:
29 
31  "Muons", "Muon container for AEOT decoration"};
32 
34  {"ExtrapolatedMuonTrackParticles",
35  "CombinedMuonTrackParticles",
36  "MSOnlyExtrapolatedMuonTrackParticles"},
37  "List of track containers serving as primary tracks"};
39  "Use the alignEffectChId decoration as hook to schedule this alg correctly." };
40 
42  "" , "numberOfGoodPrecisionLayers decoration"};
43  SG::WriteDecorHandleKey<xAOD::MuonContainer> m_isGoodSmallKey{this, "SmallGoodSectors", "" , "isSmallGoodSectors decoration"};
44  SG::WriteDecorHandleKey<xAOD::MuonContainer> m_isEndcapGoodLayersKey{this, "EndCapGoodLayers", "" , "isEndcapGoodLayers decoration"};
45 
46 };
47 #endif
ReadHandleKeyArray.h
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
MuonPrecisionLayerDecorAlg::m_isEndcapGoodLayersKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_isEndcapGoodLayersKey
Definition: MuonPrecisionLayerDecorAlg.h:44
MuonPrecisionLayerDecorAlg::m_isGoodSmallKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_isGoodSmallKey
Definition: MuonPrecisionLayerDecorAlg.h:43
MuonPrecisionLayerDecorAlg::m_trkAlignReadKey
SG::ReadDecorHandleKeyArray< xAOD::TrackParticleContainer > m_trkAlignReadKey
Definition: MuonPrecisionLayerDecorAlg.h:38
MuonPrecisionLayerDecorAlg::m_MuonContainer
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonContainer
Definition: MuonPrecisionLayerDecorAlg.h:30
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
MuonPrecisionLayerDecorAlg::initialize
virtual StatusCode initialize() override
Definition: MuonPrecisionLayerDecorAlg.cxx:16
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonPrecisionLayerDecorAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: MuonPrecisionLayerDecorAlg.cxx:34
MuonPrecisionLayerDecorAlg::~MuonPrecisionLayerDecorAlg
~MuonPrecisionLayerDecorAlg()=default
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
MuonPrecisionLayerDecorAlg
Definition: MuonPrecisionLayerDecorAlg.h:21
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonPrecisionLayerDecorAlg::m_TrackContainer
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_TrackContainer
Definition: MuonPrecisionLayerDecorAlg.h:33
MuonContainer.h
MuonPrecisionLayerDecorAlg::m_goodPrecLayerKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_goodPrecLayerKey
Definition: MuonPrecisionLayerDecorAlg.h:41
MuonPrecisionLayerDecorAlg::MuonPrecisionLayerDecorAlg
MuonPrecisionLayerDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonPrecisionLayerDecorAlg.cxx:13
ReadDecorHandleKeyArray.h