ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDetailedTrackTruthMaker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONDETAILEDTRACKTRUTHMAKER_H
6#define MUONDETAILEDTRACKTRUTHMAKER_H
7
8#include <string>
9
11#include "GaudiKernel/ToolHandle.h"
18
25
27public:
28 using AthReentrantAlgorithm::AthReentrantAlgorithm;
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute(const EventContext &ctx) const override;
32
33private:
34 // PRD truth maps in any order
36
37 // Track input
39 this, "TrackCollectionNames", {"MuonSpectrometerTracks"}, "track collections"};
40
41 // DetailedTrackTruthCollection output
43 this, "DetailedTrackTruthNames", {""}, "output collections"};
44
45 ToolHandle<Trk::IDetailedTrackTruthBuilder> m_truthTool{this, "TruthTool", "Trk::DetailedTrackTruthBuilder"};
46};
47
48#endif /*MUONDETAILEDTRACKTRUTHMAKER_H*/
An algorithm that can be simultaneously executed in multiple threads.
This algorithm produces track truth data using Muon PRD truth collections.
SG::WriteHandleKeyArray< DetailedTrackTruthCollection > m_detailedTrackTruthNames
ToolHandle< Trk::IDetailedTrackTruthBuilder > m_truthTool
virtual StatusCode initialize() override
SG::ReadHandleKeyArray< PRD_MultiTruthCollection > m_PRD_TruthNames
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKeyArray< TrackCollection > m_trackCollectionNames
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray