ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigTools
TrigInDetR3PattRecoTools
src
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
10
#include "
TrigInDetToolInterfaces/ITrigInDetTrackSeedingTool.h
"
11
12
#include "
AthenaBaseComps/AthAlgTool.h
"
13
#include "
StoreGate/ReadHandleKey.h
"
14
#include <string>
15
#include <vector>
16
17
#include "
TrkSpacePoint/SpacePointContainer.h
"
18
#include "
BeamSpotConditionsData/BeamSpotData.h
"
19
20
//for GPU offloading
21
22
// #include "TrigInDetR3AccelerationService/ITrigInDetR3AccelerationSvc.h"
23
// #include "TrigInDetAccelerationService/ITrigInDetAccelerationSvc.h"
24
25
#include "
IRegionSelector/IRegSelTool.h
"
26
#include "
TrigInDetToolInterfaces/ITrigL2LayerNumberTool.h
"
27
28
#include "
GNNR3_FasTrackConnector.h
"
29
#include "
GNNR3_Geometry.h
"
30
#include "
GNNR3_DataStorage.h
"
31
32
#include "
SeedingToolBase.h
"
33
34
class
AtlasDetectorID
;
35
class
SCT_ID
;
36
class
PixelID
;
37
38
class
TrigInDetR3TrackSeedingTool
:
public
SeedingToolBase
,
public
ITrigInDetTrackSeedingTool
{
39
public
:
40
41
// standard AlgTool methods
42
TrigInDetR3TrackSeedingTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
43
virtual
~TrigInDetR3TrackSeedingTool
(){};
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
AthAlgTool.h
BeamSpotData.h
GNNR3_DataStorage.h
GNNR3_FasTrackConnector.h
GNNR3_Geometry.h
IRegSelTool.h
ITrigInDetTrackSeedingTool.h
ITrigL2LayerNumberTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SpacePointContainer.h
SeedingToolBase.h
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
IRoiDescriptor
Describes the API of the Region of Ineterest geometry.
Definition
IRoiDescriptor.h:23
ITrigInDetTrackSeedingTool
provides the abstract interface for track seeding tool for TrigFastTrackFinder
Definition
ITrigInDetTrackSeedingTool.h:19
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SeedingToolBase::SeedingToolBase
SeedingToolBase(const std::string &t, const std::string &n, const IInterface *p)
Definition
TrigInDetPattRecoTools/src/SeedingToolBase.h:31
SpacePointCollection
Definition
SpacePointCollection.h:40
TrigInDetR3TrackSeedingTool::m_useGPU
BooleanProperty m_useGPU
Definition
TrigInDetR3TrackSeedingTool.h:72
TrigInDetR3TrackSeedingTool::initialize
virtual StatusCode initialize() override
Definition
TrigInDetR3TrackSeedingTool.cxx:34
TrigInDetR3TrackSeedingTool::m_sctSpacePointsContainerKey
SG::ReadHandleKey< SpacePointContainer > m_sctSpacePointsContainerKey
Definition
TrigInDetR3TrackSeedingTool.h:62
TrigInDetR3TrackSeedingTool::findSeeds
virtual TrigInDetTrackSeedingResult findSeeds(const IRoiDescriptor &, std::vector< TrigInDetTracklet > &, const EventContext &) const override final
Definition
TrigInDetR3TrackSeedingTool.cxx:75
TrigInDetR3TrackSeedingTool::m_regsel_pix
ToolHandle< IRegSelTool > m_regsel_pix
region selector tools
Definition
TrigInDetR3TrackSeedingTool.h:67
TrigInDetR3TrackSeedingTool::createGraphNodes
void createGraphNodes(const SpacePointCollection *, std::vector< GNNR3_Node > &, std::vector< const Trk::SpacePoint * > &, unsigned short, float, float) const
Definition
TrigInDetR3TrackSeedingTool.cxx:634
TrigInDetR3TrackSeedingTool::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition
TrigInDetR3TrackSeedingTool.h:56
TrigInDetR3TrackSeedingTool::finalize
virtual StatusCode finalize() override
Definition
TrigInDetR3TrackSeedingTool.cxx:70
TrigInDetR3TrackSeedingTool::TrigInDetR3TrackSeedingTool
TrigInDetR3TrackSeedingTool(const std::string &, const std::string &, const IInterface *)
Definition
TrigInDetR3TrackSeedingTool.cxx:27
TrigInDetR3TrackSeedingTool::m_usePixelSpacePoints
BooleanProperty m_usePixelSpacePoints
Definition
TrigInDetR3TrackSeedingTool.h:58
TrigInDetR3TrackSeedingTool::~TrigInDetR3TrackSeedingTool
virtual ~TrigInDetR3TrackSeedingTool()
Definition
TrigInDetR3TrackSeedingTool.h:43
TrigInDetR3TrackSeedingTool::m_pixelSpacePointsContainerKey
SG::ReadHandleKey< SpacePointContainer > m_pixelSpacePointsContainerKey
Definition
TrigInDetR3TrackSeedingTool.h:63
TrigInDetR3TrackSeedingTool::m_useSctSpacePoints
BooleanProperty m_useSctSpacePoints
Definition
TrigInDetR3TrackSeedingTool.h:59
TrigInDetR3TrackSeedingTool::m_regsel_sct
ToolHandle< IRegSelTool > m_regsel_sct
Definition
TrigInDetR3TrackSeedingTool.h:68
TrigInDetTrackSeedingResult
Definition
TrigInDetTrackSeedingResult.h:8
Generated on
for ATLAS Offline Software by
1.17.0