ForwardTracking  1.10.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
RecoTrack Class Reference

A class to make linking reconstructed tracks and true tracks easier. More...

#include <RecoTrack.h>

Public Member Functions

 RecoTrack (Track *track, MarlinTrk::IMarlinTrkSystem *trkSystem)
 
Track * getTrack ()
 
TrackType getType () const
 
void setType (TrackType type)
 
std::vector< const TrueTrack * > getTrueTracks () const
 
void addTrueTrack (TrueTrack *trueTrack)
 adds a true track
 
std::string getRecoTrackInfo () const
 

Static Public Member Functions

static std::string cellIDInfo (TrackerHit *hit)
 
static std::string positionInfo (TrackerHit *hit)
 

Protected Attributes

Track * _track
 
std::vector< const TrueTrack * > _trueTracks
 
TrackType _type
 
MarlinTrk::IMarlinTrkSystem * _trkSystem
 

Detailed Description

A class to make linking reconstructed tracks and true tracks easier.

It represents a reconstructed track, so i wrapps a Track* ( accessible by getTrack() ) and offers additional functionality:

It has a TrackType enum that tells what kind of reconstructed track it is. On construction it is a GHOST.

Also there is a vector of all assigned TrueTracks.

Member Function Documentation

std::string RecoTrack::cellIDInfo ( TrackerHit *  hit)
static
Returns
a string containing information about the CellID of a hit

Referenced by TrueTrack::getTrueTrackInfo().

std::vector< const TrueTrack* > RecoTrack::getTrueTracks ( ) const
inline
Returns
the true tracks this reco track is linked to
std::string RecoTrack::positionInfo ( TrackerHit *  hit)
static
Returns
the position of a hit as a string

Referenced by TrueTrack::getTrueTrackInfo().


The documentation for this class was generated from the following files: