ATLAS Offline Software
MuonCombinedMuonCandidateAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCOMBINEDALGS_MUONCOMBINEDMUONCANDIDATEALG_H
6 #define MUONCOMBINEDALGS_MUONCOMBINEDMUONCANDIDATEALG_H
7 
8 #include <string>
9 
11 #include "GaudiKernel/ToolHandle.h"
18 
20 public:
21  MuonCombinedMuonCandidateAlg(const std::string& name, ISvcLocator* pSvcLocator);
22 
24 
25  StatusCode initialize() override;
26  StatusCode execute(const EventContext& ctx) const override;
27 
28 private:
29  ToolHandle<MuonCombined::IMuonCandidateTool> m_muonCandidateTool{
30  this,
31  "MuonCandidateTool",
32  "MuonCombined::MuonCandidateTool/MuonCandidateTool",
33  };
35  this,
36  "MuonSpectrometerTrackParticleLocation",
37  "MuonSpectrometerTrackParticles",
38  "MS Track Particle collection",
39  };
41  this,
42  "MuonCandidateLocation",
43  "MuonCandidates",
44  "Muon candidate collection",
45  };
47  this,
48  "MSOnlyExtrapolatedTrackLocation",
49  "MSOnlyExtrapolatedTracks",
50  "MS extrapolated muon tracks",
51  };
52 };
53 
54 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonCombinedMuonCandidateAlg::m_msOnlyTracks
SG::WriteHandleKey< TrackCollection > m_msOnlyTracks
Definition: MuonCombinedMuonCandidateAlg.h:46
MuonCombinedMuonCandidateAlg
Definition: MuonCombinedMuonCandidateAlg.h:19
SG::ReadHandleKey< xAOD::TrackParticleContainer >
MuonCombinedMuonCandidateAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: MuonCombinedMuonCandidateAlg.cxx:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonCombinedMuonCandidateAlg::m_candidateCollectionName
SG::WriteHandleKey< MuonCandidateCollection > m_candidateCollectionName
Definition: MuonCombinedMuonCandidateAlg.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackCollection.h
MuonCombinedMuonCandidateAlg::MuonCombinedMuonCandidateAlg
MuonCombinedMuonCandidateAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonCombinedMuonCandidateAlg.cxx:7
MuonCombinedMuonCandidateAlg::initialize
StatusCode initialize() override
Definition: MuonCombinedMuonCandidateAlg.cxx:10
MuonCandidateCollection.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MuonCombinedMuonCandidateAlg::m_muonTrackParticleLocation
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_muonTrackParticleLocation
Definition: MuonCombinedMuonCandidateAlg.h:34
MuonCombinedMuonCandidateAlg::m_muonCandidateTool
ToolHandle< MuonCombined::IMuonCandidateTool > m_muonCandidateTool
Definition: MuonCombinedMuonCandidateAlg.h:29
MuonCombinedMuonCandidateAlg::~MuonCombinedMuonCandidateAlg
~MuonCombinedMuonCandidateAlg()=default
IMuonCandidateTool.h
TrackParticleContainer.h