ATLAS Offline Software
Loading...
Searching...
No Matches
SeedsToTrackParamsAlg.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 ACTSTRKANALYSIS_SEEDSTOTRACKPARAMSALG_H
6#define ACTSTRKANALYSIS_SEEDSTOTRACKPARAMSALG_H
7
9
11
16
20
22
23#include <vector>
24namespace ActsTrk {
25
27 public:
28 SeedsToTrackParamsAlg(const std::string& name, ISvcLocator* pSvcLocator);
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode execute(const EventContext &ctx) const override;
32
33 private:
34 ToolHandle<ActsTrk::IExtrapolationTool> m_extrapolationTool{this, "ExtrapolationTool", ""};
35 PublicToolHandle<ActsTrk::ITrackingGeometryTool> m_trackingGeometryTool{this, "TrackingGeometryTool", ""};
36 ToolHandle< ActsTrk::IActsToTrkConverterTool > m_ATLASConverterTool{this, "ATLASConverterTool", ""};
37 ToolHandle<ActsTrk::ITrackParamsEstimationTool> m_paramEstimationTool{this, "TrackParamsEstimationTool", "", "Track Param Estimation from Seeds"};
38
39 SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_detEleCollKey{this, "DetectorElementsKey", {}, "Key of input SiDetectorElementCollection"};
40
41 SG::ReadHandleKey<ActsTrk::SeedContainer> m_inputSeedContainerKey{this, "InputSeedContainerKey", "", "Name of the input seed container"};
42 SG::WriteHandleKey<ActsTrk::BoundTrackParametersContainer> m_outputTrackParamsCollectionKey{this, "OutputTrackParamsCollectionKey","", "Name of the output track parameters collection"};
43
44 Gaudi::Property<bool> m_autoReverseSearch{this, "autoReverseSearch", false, "Whether to run the finding in seed parameter direction (false or not specified) or reverse direction (true), automatically determined by the param estimation tool"};
45 Gaudi::Property<std::vector<double>> m_useTopSpRZboundary {this, "useTopSpRZboundary", {350. * Acts::UnitConstants::mm, 1060. * Acts::UnitConstants::mm}, "R/Z boundary for using the top space point in the track parameter estimation"};
46
47 bool shouldReverseSearch(const ActsTrk::Seed& seed) const;
48
49 };
50
51}
52
53#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
bool shouldReverseSearch(const ActsTrk::Seed &seed) const
ToolHandle< ActsTrk::IActsToTrkConverterTool > m_ATLASConverterTool
SeedsToTrackParamsAlg(const std::string &name, ISvcLocator *pSvcLocator)
PublicToolHandle< ActsTrk::ITrackingGeometryTool > m_trackingGeometryTool
ToolHandle< ActsTrk::ITrackParamsEstimationTool > m_paramEstimationTool
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_detEleCollKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< ActsTrk::SeedContainer > m_inputSeedContainerKey
Gaudi::Property< std::vector< double > > m_useTopSpRZboundary
virtual StatusCode initialize() override
Gaudi::Property< bool > m_autoReverseSearch
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
SG::WriteHandleKey< ActsTrk::BoundTrackParametersContainer > m_outputTrackParamsCollectionKey
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...