ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
FPGATrackSim
FPGATrackSimHough
FPGATrackSimHough
IFPGATrackSimRoadFinderTool.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
#ifndef FPGATrackSimROADFINDERI_H
4
#define FPGATrackSimROADFINDERI_H
5
20
21
#include "GaudiKernel/IAlgTool.h"
22
23
#include "
FPGATrackSimObjects/FPGATrackSimRoad.h
"
24
#include "
FPGATrackSimObjects/FPGATrackSimTruthTrack.h
"
25
26
#include <vector>
27
28
class
FPGATrackSimHit
;
29
30
37
38
39
class
IFPGATrackSimRoadFinderTool
:
virtual
public
IAlgTool
40
{
41
public
:
42
DeclareInterfaceID
(
IFPGATrackSimRoadFinderTool
, 3, 0);
43
virtual
StatusCode
getRoads
(
const
std::vector<std::shared_ptr<const FPGATrackSimHit>> & hits, std::vector<FPGATrackSimRoad> & roads) = 0;
44
virtual
int
getSubRegion
()
const
= 0;
45
46
StatusCode
getRoads
(
const
std::vector<std::shared_ptr<const FPGATrackSimHit>> &hits,
47
std::vector<FPGATrackSimRoad> &roads,
48
std::vector<FPGATrackSimTruthTrack>
const
&truthtracks)
49
{
50
m_truthtracks
= truthtracks;
51
return
getRoads
(hits, roads);
52
}
53
54
std::vector<FPGATrackSimTruthTrack>
const
*
getTruthTracks
() {
return
&
m_truthtracks
; }
55
56
private
:
57
std::vector<FPGATrackSimTruthTrack>
m_truthtracks
;
58
59
};
60
61
62
#endif
FPGATrackSimRoad.h
Defines a class for roads.
FPGATrackSimTruthTrack.h
FPGATrackSimHit
Definition
FPGATrackSimHit.h:42
IFPGATrackSimRoadFinderTool
A road finder returns a vector of roads given a vector of hits.
Definition
IFPGATrackSimRoadFinderTool.h:40
IFPGATrackSimRoadFinderTool::getRoads
virtual StatusCode getRoads(const std::vector< std::shared_ptr< const FPGATrackSimHit > > &hits, std::vector< FPGATrackSimRoad > &roads)=0
IFPGATrackSimRoadFinderTool::getSubRegion
virtual int getSubRegion() const =0
IFPGATrackSimRoadFinderTool::m_truthtracks
std::vector< FPGATrackSimTruthTrack > m_truthtracks
Definition
IFPGATrackSimRoadFinderTool.h:57
IFPGATrackSimRoadFinderTool::getRoads
StatusCode getRoads(const std::vector< std::shared_ptr< const FPGATrackSimHit > > &hits, std::vector< FPGATrackSimRoad > &roads, std::vector< FPGATrackSimTruthTrack > const &truthtracks)
Definition
IFPGATrackSimRoadFinderTool.h:46
IFPGATrackSimRoadFinderTool::DeclareInterfaceID
DeclareInterfaceID(IFPGATrackSimRoadFinderTool, 3, 0)
IFPGATrackSimRoadFinderTool::getTruthTracks
std::vector< FPGATrackSimTruthTrack > const * getTruthTracks()
Definition
IFPGATrackSimRoadFinderTool.h:54
Generated on
for ATLAS Offline Software by
1.17.0