ATLAS Offline Software
Loading...
Searching...
No Matches
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
23public:
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
31private:
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
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< MuonCombined::IMuonCombinedTool > m_muonCombinedTool
SG::ReadHandleKey< MuonCandidateCollection > m_muonCandidateCollectionName
SG::WriteHandleKey< TrackCollection > m_muidMETracks
StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< InDetCandidateCollection > m_indetCandidateCollectionName
SG::WriteHandleKey< TrackCollection > m_muidCombinedTracks
~MuonCombinedAlg()=default
SG::WriteHandleKeyArray< MuonCombined::InDetCandidateToTagMap > m_combTagMaps
StatusCode initialize() override
MuonCombinedAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray