ATLAS Offline Software
MuonInDetExtensionMergerAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCOMBINEDALGS_MUONINDETEXTENSIONMERGERALG_H
6 #define MUONCOMBINEDALGS_MUONINDETEXTENSIONMERGERALG_H
7 
8 
9 
14 
18 public:
19  MuonInDetExtensionMergerAlg(const std::string& name, ISvcLocator* pSvcLocator);
21 
22  StatusCode initialize() override;
23  StatusCode execute(const EventContext& ctx) const override;
24 
25 private:
26  SG::ReadHandleKeyArray<InDetCandidateCollection> m_inputCandidates{this, "ToMerge", {"InDetCandidatesStausPromp", "InDetCandidatesStausLRT"}};
28  SG::WriteHandleKey<InDetCandidateCollection> m_writeKey{this, "ToWrite", "InDetCandidatesStaus"};
29 
30 };
31 
32 #endif
ReadHandleKeyArray.h
MuonInDetExtensionMergerAlg::m_writeKey
SG::WriteHandleKey< InDetCandidateCollection > m_writeKey
Output Key.
Definition: MuonInDetExtensionMergerAlg.h:28
MuonInDetExtensionMergerAlg::~MuonInDetExtensionMergerAlg
~MuonInDetExtensionMergerAlg()=default
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
MuonInDetExtensionMergerAlg::m_inputCandidates
SG::ReadHandleKeyArray< InDetCandidateCollection > m_inputCandidates
Definition: MuonInDetExtensionMergerAlg.h:26
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
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
MuonInDetExtensionMergerAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: MuonInDetExtensionMergerAlg.cxx:15
MuonInDetExtensionMergerAlg::MuonInDetExtensionMergerAlg
MuonInDetExtensionMergerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonInDetExtensionMergerAlg.cxx:6
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:221
MuonInDetExtensionMergerAlg::initialize
StatusCode initialize() override
Definition: MuonInDetExtensionMergerAlg.cxx:9
MuonInDetExtensionMergerAlg
The MuonInDetExtensionMergerAlg merges several InDetCandidate collections and dumps them into a singl...
Definition: MuonInDetExtensionMergerAlg.h:17
InDetCandidateCollection.h