ATLAS Offline Software
Loading...
Searching...
No Matches
TrigInDetTrackSeedingTool.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
23
26
29#include "GNN_DataStorage.h"
30
31#include "SeedingToolBase.h"
32
33class AtlasDetectorID;
34class SCT_ID;
35class PixelID;
36
38 public:
39
40 // standard AlgTool methods
41 TrigInDetTrackSeedingTool(const std::string&,const std::string&,const IInterface*);
43
44 // standard Athena methods
45 virtual StatusCode initialize() override;
46 virtual StatusCode finalize() override;
47
48 //concrete implementations
49 virtual TrigInDetTrackSeedingResult findSeeds(const IRoiDescriptor&, std::vector<TrigInDetTracklet>&, const EventContext&) const override final;
50
51 protected:
52
53 void createGraphNodes(const SpacePointCollection*, std::vector<GNN_Node>&, std::vector<const Trk::SpacePoint*>&, unsigned short, float, float) const;
54
55 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
56
57 BooleanProperty m_usePixelSpacePoints{this, "UsePixelSpacePoints", true};
58 BooleanProperty m_useSctSpacePoints{this, "UseSctSpacePoints", false};
59
60 //offline/EF containers
61 SG::ReadHandleKey<SpacePointContainer> m_sctSpacePointsContainerKey{this, "SCT_SP_ContainerName", "ITkStripTrigSpacePoints"};
62 SG::ReadHandleKey<SpacePointContainer> m_pixelSpacePointsContainerKey{this, "PixelSP_ContainerName", "ITkPixelTrigSpacePoints"};
63
64
66 ToolHandle<IRegSelTool> m_regsel_pix { this, "RegSelTool_Pixel", "RegSelTool/RegSelTool_Pixel" };
67 ToolHandle<IRegSelTool> m_regsel_sct { this, "RegSelTool_SCT", "RegSelTool/RegSelTool_SCT" };
68
69 // for GPU offloading
70
71 BooleanProperty m_useGPU{this, "UseGPU", false};
72 ServiceHandle<ITrigInDetAccelerationSvc> m_accelSvc {this, "TrigAccelerationSvc", ""};
73
74};
75#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)
TrigInDetTrackSeedingTool(const std::string &, const std::string &, const IInterface *)
void createGraphNodes(const SpacePointCollection *, std::vector< GNN_Node > &, std::vector< const Trk::SpacePoint * > &, unsigned short, float, float) const
SG::ReadHandleKey< SpacePointContainer > m_pixelSpacePointsContainerKey
SG::ReadHandleKey< SpacePointContainer > m_sctSpacePointsContainerKey
virtual StatusCode finalize() override
ToolHandle< IRegSelTool > m_regsel_sct
ToolHandle< IRegSelTool > m_regsel_pix
region selector tools
ServiceHandle< ITrigInDetAccelerationSvc > m_accelSvc
virtual TrigInDetTrackSeedingResult findSeeds(const IRoiDescriptor &, std::vector< TrigInDetTracklet > &, const EventContext &) const override final
virtual StatusCode initialize() override
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey