Project
Loading...
Searching...
No Matches
o2::globaltracking::MatchTOF Class Reference

#include <MatchTOF.h>

Public Types

enum  DebugFlagTypes : UInt_t { MatchTreeAll = 0x1 << 1 }
 

Public Member Functions

void run (const o2::globaltracking::RecoContainer &inp, unsigned long firstTForbit=0)
 < perform matching for provided input
 
void setCosmics ()
 
void setHighPurity (bool value=true)
 print settings
 
void print () const
 
void printCandidatesTOF () const
 set time tolerance on track-TOF times comparison
 
void setTimeTolerance (float val)
 get tolerance on track-TOF times comparison
 
float getTimeTolerance () const
 set extra time tolerance on trackTRD-TOF times comparison
 
void setExtraTimeToleranceTRD (float val)
 get extra tolerance on trackTRD-TOF times comparison
 
float getExtraTimeToleranceTRD () const
 set space tolerance on track-TOF times comparison // this in the old AliRoot was the TOF matching window
 
void setSpaceTolerance (float val)
 get tolerance on track-TOF times comparison
 
float getSpaceTolerance () const
 set number of sigma used to do the matching
 
void setSigmaTimeCut (float val)
 get number of sigma used to do the matching
 
float getSigmaTimeCut () const
 
bool isDebugFlag (UInt_t flags) const
 get debug trees flags
 
UInt_t getDebugFlags () const
 set or unset debug stream flag
 
void setDebugFlag (UInt_t flag, bool on=true)
 set the name of output debug file
 
void setDebugTreeFileName (std::string name)
 
std::vector< o2::dataformats::MatchInfoTOF > & getMatchedTrackVector (trkType index)
 
std::vector< o2::dataformats::CalibInfoTOF > & getCalibVector ()
 
std::vector< o2::dataformats::MatchInfoTOFReco > & getMatchedTracksPair (int sec)
 
std::vector< o2::MCCompLabel > & getMatchedTOFLabelsVector (trkType index)
 get vector of TOF labels of matched tracks
 
void setTPCVDrift (const o2::tpc::VDriftCorrFact &v)
 
void setTPCCorrMaps (o2::gpu::CorrectionMapsHelper *maph)
 
void setFIT (bool value=true)
 
void checkRefitter ()
 
bool makeConstrainedTPCTrack (int matchedID, o2::dataformats::TrackTPCTOF &trConstr)
 populate externally provided container by TOF-time-constrained TPC tracks
 
template<typename MtcInfo , typename MCInfo , typename CTrack >
void makeConstrainedTPCTracks (MtcInfo &mtcCont, MCInfo &MCCont, CTrack &trcCont)
 
void setTS (unsigned long creationTime)
 
unsigned long getTS () const
 
void storeMatchable (bool val=true)
 
void setNlanes (int lanes)
 

Static Public Member Functions

static int findFITIndex (int bc, const gsl::span< const o2::ft0::RecPoints > &FITRecPoints, unsigned long firstOrbit)
 
static void groupingMatch (const std::vector< o2::dataformats::MatchInfoTOFReco > &origin, std::vector< std::vector< o2::dataformats::MatchInfoTOFReco > > &grouped, std::vector< std::vector< int > > &firstEls, std::vector< std::vector< int > > &secondEls)
 
static void printGrouping (const std::vector< o2::dataformats::MatchInfoTOFReco > &origin, const std::vector< std::vector< o2::dataformats::MatchInfoTOFReco > > &grouped)
 

Detailed Description

Definition at line 81 of file MatchTOF.h.

Member Enumeration Documentation

◆ DebugFlagTypes

Enumerator
MatchTreeAll 

produce matching candidates tree for all candidates

Definition at line 127 of file MatchTOF.h.

Member Function Documentation

◆ checkRefitter()

void MatchTOF::checkRefitter ( )

Definition at line 2147 of file MatchTOF.cxx.

◆ findFITIndex()

int MatchTOF::findFITIndex ( int  bc,
const gsl::span< const o2::ft0::RecPoints > &  FITRecPoints,
unsigned long  firstOrbit 
)
static

Definition at line 1582 of file MatchTOF.cxx.

◆ getCalibVector()

std::vector< o2::dataformats::CalibInfoTOF > & o2::globaltracking::MatchTOF::getCalibVector ( )
inline

Definition at line 148 of file MatchTOF.h.

◆ getDebugFlags()

UInt_t o2::globaltracking::MatchTOF::getDebugFlags ( ) const
inline

set or unset debug stream flag

Definition at line 134 of file MatchTOF.h.

◆ getExtraTimeToleranceTRD()

float o2::globaltracking::MatchTOF::getExtraTimeToleranceTRD ( ) const
inline

set space tolerance on track-TOF times comparison // this in the old AliRoot was the TOF matching window

Definition at line 115 of file MatchTOF.h.

◆ getMatchedTOFLabelsVector()

std::vector< o2::MCCompLabel > & o2::globaltracking::MatchTOF::getMatchedTOFLabelsVector ( trkType  index)
inline

get vector of TOF labels of matched tracks

Definition at line 152 of file MatchTOF.h.

◆ getMatchedTracksPair()

std::vector< o2::dataformats::MatchInfoTOFReco > & o2::globaltracking::MatchTOF::getMatchedTracksPair ( int  sec)
inline

Definition at line 150 of file MatchTOF.h.

◆ getMatchedTrackVector()

std::vector< o2::dataformats::MatchInfoTOF > & o2::globaltracking::MatchTOF::getMatchedTrackVector ( trkType  index)
inline

Definition at line 147 of file MatchTOF.h.

◆ getSigmaTimeCut()

float o2::globaltracking::MatchTOF::getSigmaTimeCut ( ) const
inline

Definition at line 125 of file MatchTOF.h.

◆ getSpaceTolerance()

float o2::globaltracking::MatchTOF::getSpaceTolerance ( ) const
inline

set number of sigma used to do the matching

Definition at line 120 of file MatchTOF.h.

◆ getTimeTolerance()

float o2::globaltracking::MatchTOF::getTimeTolerance ( ) const
inline

set extra time tolerance on trackTRD-TOF times comparison

Definition at line 111 of file MatchTOF.h.

◆ getTS()

unsigned long o2::globaltracking::MatchTOF::getTS ( ) const
inline

Definition at line 193 of file MatchTOF.h.

◆ groupingMatch()

void MatchTOF::groupingMatch ( const std::vector< o2::dataformats::MatchInfoTOFReco > &  origin,
std::vector< std::vector< o2::dataformats::MatchInfoTOFReco > > &  grouped,
std::vector< std::vector< int > > &  firstEls,
std::vector< std::vector< int > > &  secondEls 
)
static

Definition at line 317 of file MatchTOF.cxx.

◆ isDebugFlag()

bool o2::globaltracking::MatchTOF::isDebugFlag ( UInt_t  flags) const
inline

get debug trees flags

Definition at line 131 of file MatchTOF.h.

◆ makeConstrainedTPCTrack()

bool MatchTOF::makeConstrainedTPCTrack ( int  matchedID,
o2::dataformats::TrackTPCTOF trConstr 
)

populate externally provided container by TOF-time-constrained TPC tracks

Definition at line 2078 of file MatchTOF.cxx.

◆ makeConstrainedTPCTracks()

template<typename MtcInfo , typename MCInfo , typename CTrack >
void o2::globaltracking::MatchTOF::makeConstrainedTPCTracks ( MtcInfo &  mtcCont,
MCInfo &  MCCont,
CTrack &  trcCont 
)
inline

Definition at line 165 of file MatchTOF.h.

◆ print()

void MatchTOF::print ( ) const

< print the settings

Definition at line 264 of file MatchTOF.cxx.

◆ printCandidatesTOF()

void MatchTOF::printCandidatesTOF ( ) const

set time tolerance on track-TOF times comparison

< print the candidates for the matching

Definition at line 278 of file MatchTOF.cxx.

◆ printGrouping()

void MatchTOF::printGrouping ( const std::vector< o2::dataformats::MatchInfoTOFReco > &  origin,
const std::vector< std::vector< o2::dataformats::MatchInfoTOFReco > > &  grouped 
)
static

Definition at line 299 of file MatchTOF.cxx.

◆ run()

void MatchTOF::run ( const o2::globaltracking::RecoContainer inp,
unsigned long  firstTForbit = 0 
)

< perform matching for provided input

Definition at line 67 of file MatchTOF.cxx.

◆ setCosmics()

void o2::globaltracking::MatchTOF::setCosmics ( )
inline

Definition at line 95 of file MatchTOF.h.

◆ setDebugFlag()

void MatchTOF::setDebugFlag ( UInt_t  flag,
bool  on = true 
)

set the name of output debug file

< set debug stream flag

Definition at line 2047 of file MatchTOF.cxx.

◆ setDebugTreeFileName()

void o2::globaltracking::MatchTOF::setDebugTreeFileName ( std::string  name)
inline

Definition at line 140 of file MatchTOF.h.

◆ setExtraTimeToleranceTRD()

void o2::globaltracking::MatchTOF::setExtraTimeToleranceTRD ( float  val)
inline

get extra tolerance on trackTRD-TOF times comparison

Definition at line 113 of file MatchTOF.h.

◆ setFIT()

void o2::globaltracking::MatchTOF::setFIT ( bool  value = true)
inline

Definition at line 157 of file MatchTOF.h.

◆ setHighPurity()

void o2::globaltracking::MatchTOF::setHighPurity ( bool  value = true)
inline

print settings

Definition at line 102 of file MatchTOF.h.

◆ setNlanes()

void o2::globaltracking::MatchTOF::setNlanes ( int  lanes)
inline

Definition at line 200 of file MatchTOF.h.

◆ setSigmaTimeCut()

void o2::globaltracking::MatchTOF::setSigmaTimeCut ( float  val)
inline

get number of sigma used to do the matching

Definition at line 123 of file MatchTOF.h.

◆ setSpaceTolerance()

void o2::globaltracking::MatchTOF::setSpaceTolerance ( float  val)
inline

get tolerance on track-TOF times comparison

Definition at line 118 of file MatchTOF.h.

◆ setTimeTolerance()

void o2::globaltracking::MatchTOF::setTimeTolerance ( float  val)
inline

get tolerance on track-TOF times comparison

Definition at line 109 of file MatchTOF.h.

◆ setTPCCorrMaps()

void MatchTOF::setTPCCorrMaps ( o2::gpu::CorrectionMapsHelper maph)

Definition at line 258 of file MatchTOF.cxx.

◆ setTPCVDrift()

void MatchTOF::setTPCVDrift ( const o2::tpc::VDriftCorrFact v)

Definition at line 249 of file MatchTOF.cxx.

◆ setTS()

void o2::globaltracking::MatchTOF::setTS ( unsigned long  creationTime)
inline

Definition at line 192 of file MatchTOF.h.

◆ storeMatchable()

void o2::globaltracking::MatchTOF::storeMatchable ( bool  val = true)
inline

Definition at line 198 of file MatchTOF.h.


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