ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
IFPGATrackSimRoadFinderTool Class Referenceabstract

A road finder returns a vector of roads given a vector of hits. More...

#include <IFPGATrackSimRoadFinderTool.h>

Inheritance diagram for IFPGATrackSimRoadFinderTool:
Collaboration diagram for IFPGATrackSimRoadFinderTool:

Public Member Functions

 DeclareInterfaceID (IFPGATrackSimRoadFinderTool, 2, 0)
 
virtual StatusCode getRoads (const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits, std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads)=0
 
virtual int getSubRegion () const =0
 
StatusCode getRoads (const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits, std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads, std::vector< FPGATrackSimTruthTrack > const &truthtracks)
 
std::vector< FPGATrackSimTruthTrack > constgetTruthTracks ()
 

Private Attributes

std::vector< FPGATrackSimTruthTrackm_truthtracks
 

Detailed Description

A road finder returns a vector of roads given a vector of hits.

Note that the roads are owned by the tool, and are cleared at each successive call of getRoads().

Definition at line 39 of file IFPGATrackSimRoadFinderTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

IFPGATrackSimRoadFinderTool::DeclareInterfaceID ( IFPGATrackSimRoadFinderTool  ,
,
 
)

◆ getRoads() [1/2]

virtual StatusCode IFPGATrackSimRoadFinderTool::getRoads ( const std::vector< std::shared_ptr< const FPGATrackSimHit >> &  hits,
std::vector< std::shared_ptr< const FPGATrackSimRoad >> &  roads 
)
pure virtual

◆ getRoads() [2/2]

StatusCode IFPGATrackSimRoadFinderTool::getRoads ( const std::vector< std::shared_ptr< const FPGATrackSimHit >> &  hits,
std::vector< std::shared_ptr< const FPGATrackSimRoad >> &  roads,
std::vector< FPGATrackSimTruthTrack > const truthtracks 
)
inline

Definition at line 46 of file IFPGATrackSimRoadFinderTool.h.

49  {
50  m_truthtracks = truthtracks;
51  return getRoads(hits, roads);
52  }

◆ getSubRegion()

virtual int IFPGATrackSimRoadFinderTool::getSubRegion ( ) const
pure virtual

◆ getTruthTracks()

std::vector<FPGATrackSimTruthTrack> const* IFPGATrackSimRoadFinderTool::getTruthTracks ( )
inline

Definition at line 54 of file IFPGATrackSimRoadFinderTool.h.

54 { return &m_truthtracks; }

Member Data Documentation

◆ m_truthtracks

std::vector<FPGATrackSimTruthTrack> IFPGATrackSimRoadFinderTool::m_truthtracks
private

Definition at line 57 of file IFPGATrackSimRoadFinderTool.h.


The documentation for this class was generated from the following file:
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
IFPGATrackSimRoadFinderTool::m_truthtracks
std::vector< FPGATrackSimTruthTrack > m_truthtracks
Definition: IFPGATrackSimRoadFinderTool.h:57
IFPGATrackSimRoadFinderTool::getRoads
virtual StatusCode getRoads(const std::vector< std::shared_ptr< const FPGATrackSimHit >> &hits, std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads)=0