ATLAS Offline Software
Loading...
Searching...
No Matches
TrigInDetR3TrackSeedingTool.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 TRIGINDETPATTRECOTOOLS_TRIGINDETTRACKSEEDINGTOOL_H
6#define TRIGINDETPATTRECOTOOLS_TRIGINDETTRACKSEEDINGTOOL_H
7
8#include "GaudiKernel/ToolHandle.h"
9
11
14#include <string>
15#include <vector>
16
19
20//for GPU offloading
21
22// #include "TrigInDetR3AccelerationService/ITrigInDetR3AccelerationSvc.h"
23// #include "TrigInDetAccelerationService/ITrigInDetAccelerationSvc.h"
24
27
29#include "GNNR3_Geometry.h"
30#include "GNNR3_DataStorage.h"
31
32#include "SeedingToolBase.h"
33
34class AtlasDetectorID;
35class SCT_ID;
36class PixelID;
37
39 public:
40
41 // standard AlgTool methods
42 TrigInDetR3TrackSeedingTool(const std::string&,const std::string&,const IInterface*);
44
45 // standard Athena methods
46 virtual StatusCode initialize() override;
47 virtual StatusCode finalize() override;
48
49 //concrete implementations
50 virtual TrigInDetTrackSeedingResult findSeeds(const IRoiDescriptor&, std::vector<TrigInDetTracklet>&, const EventContext&) const override final;
51
52 protected:
53
54 void createGraphNodes(const SpacePointCollection*, std::vector<GNNR3_Node>&, std::vector<const Trk::SpacePoint*>&, unsigned short, float, float) const;
55
56 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
57
58 BooleanProperty m_usePixelSpacePoints{this, "UsePixelSpacePoints", true};
59 BooleanProperty m_useSctSpacePoints{this, "UseSctSpacePoints", false};
60
61 //offline/EF containers
62 SG::ReadHandleKey<SpacePointContainer> m_sctSpacePointsContainerKey{this, "SCT_SP_ContainerName", "ITkStripTrigSpacePoints"};
63 SG::ReadHandleKey<SpacePointContainer> m_pixelSpacePointsContainerKey{this, "PixelSP_ContainerName", "ITkPixelTrigSpacePoints"};
64
65
67 ToolHandle<IRegSelTool> m_regsel_pix { this, "RegSelTool_Pixel", "RegSelTool/RegSelTool_Pixel" };
68 ToolHandle<IRegSelTool> m_regsel_sct { this, "RegSelTool_SCT", "RegSelTool/RegSelTool_SCT" };
69
70 // for GPU offloading
71
72 BooleanProperty m_useGPU{this, "UseGPU", false};
73 // ServiceHandle<ITrigInDetR3AccelerationSvc> m_accelSvc {this, "TrigAccelerationSvc", ""};
74
75};
76#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Describes the API of the Region of Ineterest geometry.
provides the abstract interface for track seeding tool for TrigFastTrackFinder
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
SeedingToolBase(const std::string &t, const std::string &n, const IInterface *p)
virtual StatusCode initialize() override
SG::ReadHandleKey< SpacePointContainer > m_sctSpacePointsContainerKey
virtual TrigInDetTrackSeedingResult findSeeds(const IRoiDescriptor &, std::vector< TrigInDetTracklet > &, const EventContext &) const override final
ToolHandle< IRegSelTool > m_regsel_pix
region selector tools
void createGraphNodes(const SpacePointCollection *, std::vector< GNNR3_Node > &, std::vector< const Trk::SpacePoint * > &, unsigned short, float, float) const
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
virtual StatusCode finalize() override
TrigInDetR3TrackSeedingTool(const std::string &, const std::string &, const IInterface *)
SG::ReadHandleKey< SpacePointContainer > m_pixelSpacePointsContainerKey
ToolHandle< IRegSelTool > m_regsel_sct