ATLAS Offline Software
Loading...
Searching...
No Matches
GenericSeedingAlg.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 ACTSPATTERNRECOGNITION_GENERICSEEDINGALG_H
6#define ACTSPATTERNRECOGNITION_GENERICSEEDINGALG_H
7
8// Base Class
10
11// Gaudi includes
12#include "GaudiKernel/ToolHandle.h"
13
14// Tools
17
18// Athena
25
26// Handle Keys
32
33namespace ActsTrk {
34
36
37 public:
38 GenericSeedingAlg(const std::string &name, ISvcLocator *pSvcLocator);
39
40 virtual StatusCode initialize() override;
41 virtual StatusCode finalize() override;
42 virtual StatusCode execute(const EventContext &ctx) const override;
43
44 private:
45 // Tool Handles
46 ToolHandle<ActsTrk::ISeedingTool> m_seedsTool{this, "SeedTool", "",
47 "Seed Tool"};
48 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "",
49 "Monitoring tool"};
50
51 // Handle Keys
53 this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot"};
55 this, "AtlasFieldCacheCondObj", "fieldCondObj",
56 "Name of the Magnetic Field conditions object key"};
57
59 this, "InputSpacePoints", {}, "Input Space Points"};
61 "Output Seeds"};
62
63 Gaudi::Property<bool> m_fastTracking{this, "useFastTracking", false};
64 Gaudi::Property<bool> m_usePixel{this, "UsePixel", true};
65
66 public:
68
69 private:
70 mutable std::array<std::atomic<unsigned int>, kNStat> m_stat
72};
73
74} // namespace ActsTrk
75
76#endif
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.
GenericSeedingAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
Gaudi::Property< bool > m_usePixel
virtual StatusCode finalize() override
SG::ReadHandleKeyArray< xAOD::SpacePointContainer > m_spacePointKey
SG::WriteHandleKey< ActsTrk::SeedContainer > m_seedKey
ToolHandle< GenericMonitoringTool > m_monTool
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
virtual StatusCode initialize() override
std::array< std::atomic< unsigned int >, kNStat > m_stat ATLAS_THREAD_SAFE
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< bool > m_fastTracking
ToolHandle< ActsTrk::ISeedingTool > m_seedsTool
An algorithm that can be simultaneously executed in multiple threads.
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...
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray