Project
Loading...
Searching...
No Matches
o2::mid::Tracker Class Reference

Tracking algorithm for MID. More...

#include <Tracker.h>

Public Member Functions

 Tracker (const GeometryTransformer &geoTrans)
 
float getImpactParamCut () const
 Gets the impact parameter cut.
 
float getSigmaCut () const
 Gets number of sigmas for cuts.
 
void process (gsl::span< const Cluster > clusters, bool accumulate=false)
 
void process (gsl::span< const Cluster > clusters, gsl::span< const ROFRecord > rofRecords)
 
bool init (bool keepAll=false)
 
const std::vector< Track > & getTracks ()
 Gets the array of reconstructes tracks.
 
const std::vector< Cluster > & getClusters ()
 Gets the array of associated clusters.
 
const std::vector< ROFRecord > & getTrackROFRecords ()
 Gets the vector of tracks RO frame records.
 
const std::vector< ROFRecord > & getClusterROFRecords ()
 Gets the vector of cluster RO frame records.
 

Detailed Description

Tracking algorithm for MID.

Definition at line 33 of file Tracker.h.

Constructor & Destructor Documentation

◆ Tracker()

o2::mid::Tracker::Tracker ( const GeometryTransformer geoTrans)

Constructor

Definition at line 32 of file Tracker.cxx.

Member Function Documentation

◆ getClusterROFRecords()

const std::vector< ROFRecord > & o2::mid::Tracker::getClusterROFRecords ( )
inline

Gets the vector of cluster RO frame records.

Definition at line 57 of file Tracker.h.

◆ getClusters()

const std::vector< Cluster > & o2::mid::Tracker::getClusters ( )
inline

Gets the array of associated clusters.

Definition at line 51 of file Tracker.h.

◆ getImpactParamCut()

float o2::mid::Tracker::getImpactParamCut ( ) const
inline

Gets the impact parameter cut.

Definition at line 39 of file Tracker.h.

◆ getSigmaCut()

float o2::mid::Tracker::getSigmaCut ( ) const
inline

Gets number of sigmas for cuts.

Definition at line 41 of file Tracker.h.

◆ getTrackROFRecords()

const std::vector< ROFRecord > & o2::mid::Tracker::getTrackROFRecords ( )
inline

Gets the vector of tracks RO frame records.

Definition at line 54 of file Tracker.h.

◆ getTracks()

const std::vector< Track > & o2::mid::Tracker::getTracks ( )
inline

Gets the array of reconstructes tracks.

Definition at line 48 of file Tracker.h.

◆ init()

bool o2::mid::Tracker::init ( bool  keepAll = false)

Initializes the tracker

Definition at line 38 of file Tracker.cxx.

◆ process() [1/2]

void o2::mid::Tracker::process ( gsl::span< const Cluster clusters,
bool  accumulate = false 
)

Main function: runs on a data containing the clusters per event and builds the tracks

Definition at line 109 of file Tracker.cxx.

◆ process() [2/2]

void o2::mid::Tracker::process ( gsl::span< const Cluster clusters,
gsl::span< const ROFRecord rofRecords 
)

Main function: runs on a data containing the clusters in timeframe and builds the tracks

Definition at line 89 of file Tracker.cxx.


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