Project
Loading...
Searching...
No Matches
o2::mch::eval::ExtendedTrack Class Reference

#include <ExtendedTrack.h>

Public Member Functions

 ExtendedTrack (const TrackMCH &track, gsl::span< const Cluster > &clusters, double x, double y, double z)
 
bool operator== (const ExtendedTrack &track) const
 
bool isMatching (const ExtendedTrack &track) const
 
const std::vector< Cluster > & getClusters () const
 
std::string asString () const
 
bool hasMatchFound () const
 
bool hasMatchIdentical () const
 
void setMatchFound (bool val=true)
 
void setMatchIdentical (bool val=true)
 
const TrackParamparam () const
 
const Tracktrack () const
 
double getDCA () const
 
double getRabs () const
 
double getCharge () const
 
const ROOT::Math::PxPyPzMVector & P () const
 
double getNormalizedChi2 () const
 

Detailed Description

ExtendedTrack is an extension of a TrackMCH.

An ExtendedTrack is a TrackMCH (standalone MCH) that has been extrapolated to (a) vertex. It also contains plain copies of the clusters used to define the original TrackMCH.

Definition at line 35 of file ExtendedTrack.h.

Constructor & Destructor Documentation

◆ ExtendedTrack()

o2::mch::eval::ExtendedTrack::ExtendedTrack ( const TrackMCH track,
gsl::span< const Cluster > &  clusters,
double  x,
double  y,
double  z 
)

create an ExtendedTrack from a TrackMCH and its clusters.

The given TrackMCH will be extrapolated to the given vertex {x,y,z}. Throw an exception if the track fitting fails

Definition at line 39 of file ExtendedTrack.cxx.

Member Function Documentation

◆ asString()

std::string o2::mch::eval::ExtendedTrack::asString ( ) const

Definition at line 166 of file ExtendedTrack.cxx.

◆ getCharge()

double o2::mch::eval::ExtendedTrack::getCharge ( ) const
inline

Definition at line 66 of file ExtendedTrack.h.

◆ getClusters()

const std::vector< Cluster > & o2::mch::eval::ExtendedTrack::getClusters ( ) const
inline

Definition at line 51 of file ExtendedTrack.h.

◆ getDCA()

double o2::mch::eval::ExtendedTrack::getDCA ( ) const
inline

Definition at line 64 of file ExtendedTrack.h.

◆ getNormalizedChi2()

double o2::mch::eval::ExtendedTrack::getNormalizedChi2 ( ) const

Definition at line 159 of file ExtendedTrack.cxx.

◆ getRabs()

double o2::mch::eval::ExtendedTrack::getRabs ( ) const
inline

Definition at line 65 of file ExtendedTrack.h.

◆ hasMatchFound()

bool o2::mch::eval::ExtendedTrack::hasMatchFound ( ) const
inline

Definition at line 55 of file ExtendedTrack.h.

◆ hasMatchIdentical()

bool o2::mch::eval::ExtendedTrack::hasMatchIdentical ( ) const
inline

Definition at line 56 of file ExtendedTrack.h.

◆ isMatching()

bool o2::mch::eval::ExtendedTrack::isMatching ( const ExtendedTrack track) const

Definition at line 97 of file ExtendedTrack.cxx.

◆ operator==()

bool o2::mch::eval::ExtendedTrack::operator== ( const ExtendedTrack track) const

Definition at line 82 of file ExtendedTrack.cxx.

◆ P()

const ROOT::Math::PxPyPzMVector & o2::mch::eval::ExtendedTrack::P ( ) const
inline

Definition at line 68 of file ExtendedTrack.h.

◆ param()

const TrackParam & o2::mch::eval::ExtendedTrack::param ( ) const

Definition at line 87 of file ExtendedTrack.cxx.

◆ setMatchFound()

void o2::mch::eval::ExtendedTrack::setMatchFound ( bool  val = true)
inline

Definition at line 58 of file ExtendedTrack.h.

◆ setMatchIdentical()

void o2::mch::eval::ExtendedTrack::setMatchIdentical ( bool  val = true)
inline

Definition at line 59 of file ExtendedTrack.h.

◆ track()

const Track & o2::mch::eval::ExtendedTrack::track ( ) const

Definition at line 92 of file ExtendedTrack.cxx.


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