 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef MUONTRUTHALGS_TruthTrackRecordsAlg_H
13 #define MUONTRUTHALGS_TruthTrackRecordsAlg_H
30 using AthReentrantAlgorithm::AthReentrantAlgorithm;
79 SummaryDecors& myDecors)
const;
97 this,
"TrackRecordCollectionNames", {
"CaloEntryLayer",
"MuonEntryLayer",
"MuonExitLayer"}};
124 ToolHandle<Trk::IExtrapolator>
m_extrapolator{
this,
"Extrapolator",
"Trk::Extrapolator/AtlasExtrapolator"};
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
WriteDecorArray_f eyDecor
DecorKey_t m_muonSnapShotEis
DecorHandlePtrVec_t< xAOD::TruthParticleContainer, float > WriteDecorArray_f
Struct object encapsulating all write-decorators.
DecorKey_t m_muonSnapShotMtc
DecorKey_t m_muonSnapShotEX
DecorHandlePtrVec_t< xAOD::TruthParticleContainer, std::vector< float > > WriteDecorArray_fvec
virtual StatusCode execute(const EventContext &ctx) const override
WriteDecorArray_f epzDecor
SG::ReadHandleKeyArray< TrackRecordCollection > m_trackRecords
Keys of the containers of track records in different detector positions.
StatusCode addTrackRecords(const EventContext &ctx, const xAOD::TruthParticle &truthParticle, SummaryDecors &myDecors) const
addTrackRecords is the actual function that decorates muons with track records.
WriteDecorArray_f epxDecor
DecorKey_t m_muonSnapShotEcov
DecorKey_t m_muonSnapShotPz
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
DecorKey_t m_muonSnapShotEPx
DecorKey_t m_muonSnapShotZ
An algorithm that can be simultaneously executed in multiple threads.
DecorKey_t m_muonSnapShotPx
DecorKey_t m_muonSnapShotX
DecorKey_t m_muonSnapShotEPy
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
StatusCode fillWriteDecorator(SG::WriteDecorHandleKeyArray< xAOD::TruthParticleContainer, T > &writeKey, const std::string &keyName) const
This function fills the arrays of write-decorator keys and initializes them.
WriteDecorArray_f exDecor
WriteDecorArray_b eisDecor
WriteDecorArray_f ezDecor
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_muonTruth
Key of the container of truth muons that will be decorated.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
WriteDecorArray_f pxDecor
DecorKey_t m_muonSnapShotEZ
WriteDecorArray_b matchedDecor
DecorKey_t m_muonSnapShotEY
DecorKey_t m_muonSnapShotPy
DecorKey_t m_muonSnapShotY
WriteDecorArray_f pzDecor
WriteDecorArray_fvec ecovDecor
WriteDecorArray_f epyDecor
ToolHandle< Trk::IExtrapolator > m_extrapolator
Extrapolation tool handle.
DecorKey_t m_muonSnapShotEPz
DecorHandlePtrVec_t< xAOD::TruthParticleContainer, char > WriteDecorArray_b
WriteDecorArray_f pyDecor
std::vector< DecorHandlePtr_wt< ContType, DataType > > DecorHandlePtrVec_t