ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPRD_MultiTruthMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MuonPRD_MultiTruthMaker_H
5#define MuonPRD_MultiTruthMaker_H
6
7
20
22public:
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
24 virtual StatusCode initialize() override final;
25 virtual StatusCode execute(const EventContext& ctx) const override final;
26
27private:
28 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
29
30 SG::ReadHandleKey<Muon::MdtPrepDataContainer> m_MdtPrdKey{this, "MdtPrdKey", "MDT_DriftCircles" };
32 SG::ReadHandleKey<Muon::RpcPrepDataContainer> m_RpcPrdKey{this, "RpcPrdKey", "RPC_Measurements"};
33 SG::ReadHandleKey<Muon::TgcPrepDataContainer> m_TgcPrdKey{this, "TgcPrdKey", "TGC_Measurements" };
34 SG::ReadHandleKey<Muon::sTgcPrepDataContainer> m_sTgcPrdKey{this, "sTgcPrdKey", "STGC_Measurements" };
35 SG::ReadHandleKey<Muon::MMPrepDataContainer> m_MmPrdKey{this, "MmPrdKey", "MM_Measurements"};
36
43
44 SG::WriteHandleKey<PRD_MultiTruthCollection> m_MdtTruthMapKey{this, "MdtTruthMapKey", "MDT_TruthMap"};
45 SG::WriteHandleKey<PRD_MultiTruthCollection> m_RpcTruthMapKey{this, "RpcTruthMapKey", "RPC_TruthMap"};
46 SG::WriteHandleKey<PRD_MultiTruthCollection> m_CscTruthMapKey{this, "CscTruthMapKey", "CSC_TruthMap"};
47 SG::WriteHandleKey<PRD_MultiTruthCollection> m_TgcTruthMapKey{this, "TgcTruthMapKey", "TGC_TruthMap"};
48 SG::WriteHandleKey<PRD_MultiTruthCollection> m_sTgcTruthMapKey{this, "sTgcTruthMapKey", "STGC_TruthMap"};
49 SG::WriteHandleKey<PRD_MultiTruthCollection> m_MmTruthMapKey{this, "MmTruthMapKey", "MM_TruthMap" };
50
51 //----------------------------------------------------------------
52 template <class PrdType, class SimCollection>
53 StatusCode buildPRD_Truth(const EventContext& ctx,
57};
58
59#endif // PRD_MULTITRUTHMAKER_H
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.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_MdtPrdKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_CscTruthMapKey
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_CscPrdKey
SG::ReadHandleKey< MuonSimDataCollection > m_TgcSDOKey
SG::ReadHandleKey< MuonSimDataCollection > m_sTgcSDOKey
SG::ReadHandleKey< CscSimDataCollection > m_CscSDOKey
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_MmPrdKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_MmTruthMapKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::ReadHandleKey< MuonSimDataCollection > m_MdtSDOKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_MdtTruthMapKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_RpcTruthMapKey
virtual StatusCode initialize() override final
SG::ReadHandleKey< MuonSimDataCollection > m_RpcSDOKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_TgcTruthMapKey
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_RpcPrdKey
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_TgcPrdKey
SG::WriteHandleKey< PRD_MultiTruthCollection > m_sTgcTruthMapKey
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_sTgcPrdKey
SG::ReadHandleKey< MuonSimDataCollection > m_MmSDOKey
StatusCode buildPRD_Truth(const EventContext &ctx, const SG::ReadHandleKey< Muon::MuonPrepDataContainerT< PrdType > > &prepDataKey, const SG::ReadHandleKey< SimCollection > &sdoKey, const SG::WriteHandleKey< PRD_MultiTruthCollection > &outputKey) const
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.
MuonPrepDataContainer< MuonPrepDataCollection< PrdType > > MuonPrepDataContainerT