Project
Loading...
Searching...
No Matches
o2::tpc::qc::Tracks Class Reference

Tracks quality control class. More...

#include <Tracks.h>

Public Member Functions

 Tracks ()=default
 
bool processTrack (const o2::tpc::TrackTPC &track)
 
void initializeHistograms ()
 Initialize all histograms.
 
void resetHistograms ()
 Reset all histograms.
 
void processEndOfCycle ()
 Function to be called at each endOfCycle.
 
void dumpToFile (std::string_view filename)
 Dump results to a file.
 
void setTrackCuts (float AbsEta=1., int nClusterCut=60, float dEdxTot=20, float cutPtForDCAr=1.5, float samplingFractionDCAr=0.1, bool turnOffHistosForAsync=false, float cutMaxAbsDCAr=0.1, bool useCutMaxAbsDCArOnHistos=false)
 
std::unordered_map< std::string, std::unique_ptr< TH1 > > & getMapHist ()
 get ratios of 1D histograms
 
const std::unordered_map< std::string, std::unique_ptr< TH1 > > & getMapHist () const
 

Detailed Description

Tracks quality control class.

This class is used to extract track related variables from TrackTPC objects and store it in histograms.

origin: TPC

Author
Stefan Heckel, sheck.nosp@m.el@c.nosp@m.ern.c.nosp@m.h

Definition at line 48 of file Tracks.h.

Constructor & Destructor Documentation

◆ Tracks()

o2::tpc::qc::Tracks::Tracks ( )
default

Member Function Documentation

◆ dumpToFile()

void Tracks::dumpToFile ( std::string_view  filename)

Dump results to a file.

Definition at line 342 of file Tracks.cxx.

◆ getMapHist() [1/2]

std::unordered_map< std::string, std::unique_ptr< TH1 > > & o2::tpc::qc::Tracks::getMapHist ( )
inline

get ratios of 1D histograms

Definition at line 85 of file Tracks.h.

◆ getMapHist() [2/2]

const std::unordered_map< std::string, std::unique_ptr< TH1 > > & o2::tpc::qc::Tracks::getMapHist ( ) const
inline

Definition at line 86 of file Tracks.h.

◆ initializeHistograms()

void Tracks::initializeHistograms ( )

Initialize all histograms.

Definition at line 45 of file Tracks.cxx.

◆ processEndOfCycle()

void Tracks::processEndOfCycle ( )

Function to be called at each endOfCycle.

Definition at line 330 of file Tracks.cxx.

◆ processTrack()

bool Tracks::processTrack ( const o2::tpc::TrackTPC track)

bool extracts intormation from track and fills it to histograms

Returns
true if information can be extracted and filled to histograms

Definition at line 123 of file Tracks.cxx.

◆ resetHistograms()

void Tracks::resetHistograms ( )

Reset all histograms.

Definition at line 116 of file Tracks.cxx.

◆ setTrackCuts()

void o2::tpc::qc::Tracks::setTrackCuts ( float  AbsEta = 1.,
int  nClusterCut = 60,
float  dEdxTot = 20,
float  cutPtForDCAr = 1.5,
float  samplingFractionDCAr = 0.1,
bool  turnOffHistosForAsync = false,
float  cutMaxAbsDCAr = 0.1,
bool  useCutMaxAbsDCArOnHistos = false 
)
inline

Definition at line 71 of file Tracks.h.


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