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

#include <CollectCalibInfoTOF.h>

Public Member Functions

 CollectCalibInfoTOF ()
 collect the CalibInfo for the TOF channels
 
void run ()
 perform all initializations
 
void init ()
 set tree/chain containing TOF calib info
 
void setInputTreeTOFCalibInfo (TTree *tree)
 set output tree to write matched tracks
 
void setOutputTree (TTree *tr)
 set input branch names for the input from the tree
 
void setTOFCalibInfoBranchName (const std::string &nm)
 
void setOutputBranchName (const std::string &nm)
 get input branch names for the input from the tree
 
const std::string & getTOFCalibInfoBranchName () const
 
const std::string & getOutputBranchName () const
 get the min/max timestamp for following calibration of LHCPhase
 
const TParameter< int > & getMinTimestamp () const
 
const TParameter< int > & getMaxTimestamp () const
 print settings
 
void print () const
 

Static Public Attributes

static constexpr int MAXNUMBEROFHITS = 256
 

Detailed Description

Definition at line 36 of file CollectCalibInfoTOF.h.

Constructor & Destructor Documentation

◆ CollectCalibInfoTOF()

o2::globaltracking::CollectCalibInfoTOF::CollectCalibInfoTOF ( )
inline

collect the CalibInfo for the TOF channels

Definition at line 43 of file CollectCalibInfoTOF.h.

Member Function Documentation

◆ getMaxTimestamp()

const TParameter< int > & o2::globaltracking::CollectCalibInfoTOF::getMaxTimestamp ( ) const
inline

print settings

Definition at line 67 of file CollectCalibInfoTOF.h.

◆ getMinTimestamp()

const TParameter< int > & o2::globaltracking::CollectCalibInfoTOF::getMinTimestamp ( ) const
inline

Definition at line 66 of file CollectCalibInfoTOF.h.

◆ getOutputBranchName()

const std::string & o2::globaltracking::CollectCalibInfoTOF::getOutputBranchName ( ) const
inline

get the min/max timestamp for following calibration of LHCPhase

Definition at line 63 of file CollectCalibInfoTOF.h.

◆ getTOFCalibInfoBranchName()

const std::string & o2::globaltracking::CollectCalibInfoTOF::getTOFCalibInfoBranchName ( ) const
inline

Definition at line 62 of file CollectCalibInfoTOF.h.

◆ init()

void CollectCalibInfoTOF::init ( )

set tree/chain containing TOF calib info

< initizalizations

Definition at line 56 of file CollectCalibInfoTOF.cxx.

◆ print()

void CollectCalibInfoTOF::print ( ) const

< print the settings

Definition at line 86 of file CollectCalibInfoTOF.cxx.

◆ run()

void CollectCalibInfoTOF::run ( )

perform all initializations

< collecting the TOF calib info and writing them into a tree; We will write to the tree as soon as there is one channel that has at least MAXNUMBEROFHITS entries already accumulated; when this happens, we will store the accumulated CalibInfo for all channels. finally, we will write whatever is left at the end of the processing.

Definition at line 25 of file CollectCalibInfoTOF.cxx.

◆ setInputTreeTOFCalibInfo()

void o2::globaltracking::CollectCalibInfoTOF::setInputTreeTOFCalibInfo ( TTree *  tree)
inline

set output tree to write matched tracks

Definition at line 52 of file CollectCalibInfoTOF.h.

◆ setOutputBranchName()

void o2::globaltracking::CollectCalibInfoTOF::setOutputBranchName ( const std::string &  nm)
inline

get input branch names for the input from the tree

Definition at line 59 of file CollectCalibInfoTOF.h.

◆ setOutputTree()

void o2::globaltracking::CollectCalibInfoTOF::setOutputTree ( TTree *  tr)
inline

set input branch names for the input from the tree

Definition at line 55 of file CollectCalibInfoTOF.h.

◆ setTOFCalibInfoBranchName()

void o2::globaltracking::CollectCalibInfoTOF::setTOFCalibInfoBranchName ( const std::string &  nm)
inline

Definition at line 58 of file CollectCalibInfoTOF.h.

Member Data Documentation

◆ MAXNUMBEROFHITS

constexpr int o2::globaltracking::CollectCalibInfoTOF::MAXNUMBEROFHITS = 256
staticconstexpr

Definition at line 41 of file CollectCalibInfoTOF.h.


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