ATLAS Offline Software
Loading...
Searching...
No Matches
ProtoTrackCreationAndFitAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ACTSTRACKRECONSTRUCTION_PROTOTRACKCREATIONANDFITALG_H
5#define ACTSTRACKRECONSTRUCTION_PROTOTRACKCREATIONANDFITALG_H 1
6
9
19
20namespace ActsTrk{
22 public:
23
24 using ::AthReentrantAlgorithm::AthReentrantAlgorithm;
25 virtual ~ProtoTrackCreationAndFitAlg() = default;
26
28
29 //IS EXECUTED:
30 virtual StatusCode initialize() override final; //once, before any input is loaded
31 virtual StatusCode execute(const EventContext & ctx) const override final;
32
33 private:
34
35 // the pixel clusters to read as input
36 SG::ReadHandleKey<xAOD::PixelClusterContainer> m_PixelClusters{this, "PixelClusterContainer","","the pix clusters"};
37 // the strip clusters to read as input
38 SG::ReadHandleKey<xAOD::StripClusterContainer> m_StripClusters{this, "StripClusterContainer","","the strip clusters"};
39 // the user-provided pattern recognition tool to test
40 ToolHandle<IProtoTrackCreatorTool> m_patternBuilder{this, "PatternBuilder", "", "the pattern builder to use"};
41 // the track fitter to use for the refit
42 ToolHandle<IFitterTool> m_actsFitter{this, "ActsFitter", "", "Choice of Acts Fitter (Kalman by default)"};
43
46 // output location to write to
47 SG::WriteHandleKey<TrackContainer> m_trackContainerKey{this, "ACTSTracksLocation", "", "Output track collection (ActsTrk variant)"};
48
49 // output location for proto tracks (can be empty)
50 SG::WriteHandleKey<ProtoTrackCollection> m_protoTrackCollectionKey{this, "ProtoTracksLocation", "", "Output proto tracks as well"};
51 Gaudi::Property<bool> m_copyParametersFromFit{this, "copyParametersFromFit", true, "If enabled proto tracks will have the same parameters as fitted tracks"};
52 // acts helper for the output
54
55
56
57 };
58
59}
60
61#endif //> !ACTSTRACKRECONSTRUCTION_PROTOTRACKCREATIONANDFITALG_H
Utility class to handle the three contexts neeeded in an ACTS reconstruction job 1) GeometryContext -...
ToolHandle< IProtoTrackCreatorTool > m_patternBuilder
SG::ReadHandleKey< xAOD::StripClusterContainer > m_StripClusters
virtual StatusCode execute(const EventContext &ctx) const override final
MutableTrackContainerHandlesHelper m_tracksBackendHandlesHelper
SG::WriteHandleKey< ProtoTrackCollection > m_protoTrackCollectionKey
ContextUtility m_ctxProvider
Utility to fetch the geometry, magnetic field and calibration context in the event.
virtual ~ProtoTrackCreationAndFitAlg()=default
SG::WriteHandleKey< TrackContainer > m_trackContainerKey
SG::ReadHandleKey< xAOD::PixelClusterContainer > m_PixelClusters
virtual StatusCode initialize() override final
uncomment and implement methods as required
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private
Definition testRead.cxx:27