ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSegmentTruthAssociationAlg.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 TRUTHPARTICLEALGS_MUONSEGMENTTRUTHASSOCIATION_H
6#define TRUTHPARTICLEALGS_MUONSEGMENTTRUTHASSOCIATION_H
7
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ToolHandle.h"
22
23namespace Muon {
24
26 public:
27 // Constructor with parameters:
28 MuonSegmentTruthAssociationAlg(const std::string &name, ISvcLocator *pSvcLocator);
29
30 // Basic algorithm methods:
31 virtual StatusCode initialize() override;
32 virtual StatusCode execute(const EventContext &ctx) const override;
33
34 private:
35 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36
37 PublicToolHandle<Muon::MuonEDMPrinterTool> m_printer{this, "Printer", "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"};
38 ToolHandle<Muon::IMuonTrackTruthTool> m_muonTrackTruthTool{this, "MuonTrackTruthTool",
39 "Muon::MuonTrackTruthTool/MuonTrackTruthTool"};
40
42 this, "MuonTruthSegmentName", "MuonTruthSegments", "muon truth segment container name"};
44 "muon segment container name"};
45
46 SG::ReadHandleKey<McEventCollection> m_mcEventColl{this, "McEventCollectionKey", "TruthEvent", "McEventCollection"};
48 this, "MuonSimDataNames", {"MDT_SDO", "RPC_SDO", "TGC_SDO", "sTGC_SDO", "MM_SDO"}, "Muon SDO maps"};
49 SG::ReadHandleKey<CscSimDataCollection> m_cscSimData{this, "CSC_SDO_Container", "CSC_SDO", "CSC SDO"};
50 SG::ReadHandleKey<TrackRecordCollection> m_trackRecord{this, "TrackRecord", "MuonEntryLayerFilter", "Track Record Collection"};
51
52 };
53
54} // namespace Muon
55
56#endif // TRUTHPARTICLEALGS_MUONTRUTHDECORATIONALG_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< Muon::IMuonTrackTruthTool > m_muonTrackTruthTool
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_muonSegmentCollectionName
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MuonSegmentTruthAssociationAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKeyArray< MuonSimDataCollection > m_muonSimData
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
SG::ReadHandleKey< McEventCollection > m_mcEventColl
SG::ReadHandleKey< CscSimDataCollection > m_cscSimData
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_muonTruthSegmentContainerName
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< TrackRecordCollection > m_trackRecord
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray