ATLAS Offline Software
MuonCombinedAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCOMBINEDALGS_MUONCOMBINEDALG_H
6 #define MUONCOMBINEDALGS_MUONCOMBINEDALG_H
7 
8 #include <string>
9 #include <vector>
10 
12 #include "GaudiKernel/ToolHandle.h"
21 
23 public:
24  MuonCombinedAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 
26  ~MuonCombinedAlg() = default;
27 
28  StatusCode execute(const EventContext& ctx) const override;
29  StatusCode initialize() override;
30 
31 private:
32  ToolHandle<MuonCombined::IMuonCombinedTool> m_muonCombinedTool{this, "MuonCombinedTool",
33  "MuonCombined::MuonCombinedTool/MuonCombinedTool", "muon combined tool"};
34  SG::ReadHandleKey<InDetCandidateCollection> m_indetCandidateCollectionName{this, "InDetCandidateLocation", "InDetCandidates",
35  "name of ID candidate collection"};
36  SG::ReadHandleKey<MuonCandidateCollection> m_muonCandidateCollectionName{this, "MuonCandidateLocation", "MuonCandidates",
37  "name of muon candidate collection"};
39  this, "CombinedTagMaps", {"muidcoTagMap", "stacoTagMap"}, "combined muon tag maps"};
40  SG::WriteHandleKey<TrackCollection> m_muidCombinedTracks{this, "MuidCombinedTracksLocation", "MuidCombinedTracks",
41  "Muidco combined Tracks"};
42  SG::WriteHandleKey<TrackCollection> m_muidMETracks{this, "MuidMETracksLocation", "MuidMETracks", "Muidco ME Tracks"};
43 };
44 
45 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonCombinedAlg::~MuonCombinedAlg
~MuonCombinedAlg()=default
MuonCombinedAlg::MuonCombinedAlg
MuonCombinedAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonCombinedAlg.cxx:7
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
MuonCombinedAlg::initialize
StatusCode initialize() override
Definition: MuonCombinedAlg.cxx:9
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
MuonCombinedAlg::m_muidCombinedTracks
SG::WriteHandleKey< TrackCollection > m_muidCombinedTracks
Definition: MuonCombinedAlg.h:40
MuonCombinedAlg::m_muonCombinedTool
ToolHandle< MuonCombined::IMuonCombinedTool > m_muonCombinedTool
Definition: MuonCombinedAlg.h:32
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
MuonCombinedAlg::m_muonCandidateCollectionName
SG::ReadHandleKey< MuonCandidateCollection > m_muonCandidateCollectionName
Definition: MuonCombinedAlg.h:36
InDetCandidate.h
MuonCandidateCollection.h
AthReentrantAlgorithm.h
InDetCandidateToTagMap.h
MuonCombinedAlg
Definition: MuonCombinedAlg.h:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonCandidate.h
MuonCombinedAlg::m_indetCandidateCollectionName
SG::ReadHandleKey< InDetCandidateCollection > m_indetCandidateCollectionName
Definition: MuonCombinedAlg.h:34
MuonCombinedAlg::m_muidMETracks
SG::WriteHandleKey< TrackCollection > m_muidMETracks
Definition: MuonCombinedAlg.h:42
MuonCombinedAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: MuonCombinedAlg.cxx:20
IMuonCombinedTool.h
InDetCandidateCollection.h
MuonCombinedAlg::m_combTagMaps
SG::WriteHandleKeyArray< MuonCombined::InDetCandidateToTagMap > m_combTagMaps
Definition: MuonCombinedAlg.h:38