 |
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "GaudiKernel/ServiceHandle.h"
20 #include "Identifier/Identifier.h"
33 class MuonDetectorManager;
42 using AthReentrantAlgorithm::AthReentrantAlgorithm;
52 using ChamberIdMap = std::map<Muon::MuonStationIndex::ChIndex, std::vector<Identifier>>;
102 this,
"SDOs", {
"RPC_SDO",
"TGC_SDO",
"MDT_SDO" },
"remove NSW by default for now, can always be changed in the configuration"};
110 "Key of input MuonDetectorManager condition data"};
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadDecorHandleKeyArray< xAOD::TruthParticleContainer, std::vector< unsigned long long > > m_truthHitsKeyArray
Keys of the truth muon decorations that we need to read to (re-)fill the chamberIdMap.
Ensure that the Athena extensions are properly loaded.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
SG::ReadHandleKey< CscSimDataCollection > m_CSC_SDO_TruthNames
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_truthOriginKey
virtual StatusCode initialize() override
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
MuonDetectorManager from the conditions store.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
StatusCode createSegments(const EventContext &ctx, const ElementLink< xAOD::TruthParticleContainer > &truthLink, const ChamberIdMap &ids, xAOD::MuonSegmentContainer &segmentContainer) const
This function performs, for each truth muon, the actual segment creation and stores segments into a n...
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_muonTruthSegmentContainerName
Key for segment container that will be populated with segments.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_muonTruth
Key for the truth muon container and muon origin decoration.
SG::ReadHandleKeyArray< MuonSimDataCollection > m_SDO_TruthNames
Keys for all çontainers of muon hit simulation data, classified by detector technology.
StatusCode fillChamberIdMap(const EventContext &ctx, const xAOD::TruthParticle &truthParticle, ChamberIdMap &ids) const
This function uses the 6 vectors, contained in.
ElementLink implementation for ROOT usage.
Property holding a SG store/key/clid from which a WriteHandle is made.
std::map< Muon::MuonStationIndex::ChIndex, std::vector< Identifier > > ChamberIdMap
This map contains all the hits corresponding to truth muons classified by chamber layer that recorded...
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Handle for the muonIdHelper service.