|
ATLAS Offline Software
|
Go to the documentation of this file.
27 if (!track_to_truth_handle.
isValid()) {
29 return StatusCode::FAILURE;
35 track_to_truth_handle->size());
43 track_to_truth_handle->size(),
45 return StatusCode::SUCCESS;
void postProcessEventStat(const TruthParticleHitCounts &truth_particle_hit_counts, std::size_t n_tracks, EventStat &event_stat) const
Container for hit counts per track Contains hit counts per associated truth particle and the total hi...
virtual StatusCode initialize() override
SG::ReadHandleKey< TrackToTruthParticleAssociation > m_trackToTruth
const IAthSelectionTool & truthSelectionTool() const
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute(const EventContext &ctx) const override
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual StatusCode finalize() override
std::size_t perEtaSize() const
std::unordered_map< const xAOD::TruthParticle *, HitCounterArray > TruthParticleHitCounts
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
TruthMatchResult analyseTrackTruth(const TruthParticleHitCounts &truth_particle_hit_counts, const HitCountsPerTrack &track_hit_counts, EventStat &event_stat) const
const TruthParticleHitCounts & getTruthParticleHitCounts(const EventContext &ctx) const
std::size_t perPdgIdSize() const
virtual StatusCode finalize() override