ATLAS Offline Software
Loading...
Searching...
No Matches
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 > const * getTruthTracks ()

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 ,
2 ,
0  )

◆ 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 }
std::vector< FPGATrackSimTruthTrack > m_truthtracks
virtual StatusCode getRoads(const std::vector< std::shared_ptr< const FPGATrackSimHit > > &hits, std::vector< std::shared_ptr< const FPGATrackSimRoad > > &roads)=0

◆ 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: