|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRUTHPARTICLEALGS_MUONTRUTHDECORATIONALG_H
6 #define TRUTHPARTICLEALGS_MUONTRUTHDECORATIONALG_H
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
34 class MuonDetectorManager;
41 typedef std::map<Muon::MuonStationIndex::ChIndex, std::vector<Identifier> >
ChamberIdMap;
68 "MuonTruthParticles"};
72 this,
"TrackRecordCollectionNames", {
"CaloEntryLayer",
"MuonEntryLayer",
"MuonExitLayer"}};
76 {
"CSC_TruthMap",
"RPC_TruthMap",
"TGC_TruthMap",
"MDT_TruthMap"},
77 "remove NSW by default for now, can always be changed in the configuration"};
79 this,
"SDOs", {
"RPC_SDO",
"TGC_SDO",
"MDT_SDO"},
"remove NSW by default for now, can always be changed in the configuration"};
84 ToolHandle<IMCTruthClassifier>
m_truthClassifier{
this,
"MCTruthClassifier",
"MCTruthClassifier/MCTruthClassifier"};
85 ToolHandle<Trk::IExtrapolator>
m_extrapolator{
this,
"Extrapolator",
"Trk::Extrapolator/AtlasExtrapolator"};
91 "Key of input MuonDetectorManager condition data"};
97 #endif // TRUTHPARTICLEALGS_MUONTRUTHDECORATIONALG_H
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_detMgrKey
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode addTrackRecords(const EventContext &ctx, xAOD::TruthParticle &truthParticle) const
Ensure that the Athena extensions are properly loaded.
SG::ReadHandleKeyArray< MuonSimDataCollection > m_SDO_TruthNames
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
SG::WriteHandleKey< xAOD::MuonSegmentContainer > m_muonTruthSegmentContainerName
SG::ReadHandleKeyArray< TrackRecordCollection > m_trackRecordCollectionNames
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
StatusCode createSegments(const EventContext &ctx, const ElementLink< xAOD::TruthParticleContainer > &truthLink, SG::WriteHandle< xAOD::MuonSegmentContainer > &segmentContainer, const ChamberIdMap &ids) const
std::map< Muon::MuonStationIndex::ChIndex, std::vector< Identifier > > ChamberIdMap
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< Trk::IExtrapolator > m_extrapolator
Property holding a SG store/key/clid from which a WriteHandle is made.
void addHitIDVectors(xAOD::TruthParticle &truthParticle, const MuonTruthDecorationAlg::ChamberIdMap &ids) const
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
StatusCode addHitCounts(const EventContext &ctx, xAOD::TruthParticle &truthParticle, ChamberIdMap &ids) const
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_PRD_TruthNames
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_muonTruthParticleContainerName
ElementLink implementation for ROOT usage.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode initialize() override
ToolHandle< IMCTruthClassifier > m_truthClassifier
SG::ReadHandleKey< CscSimDataCollection > m_CSC_SDO_TruthNames
MuonTruthDecorationAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthParticleContainerName
Gaudi::Property< bool > m_createTruthSegment