Project
Loading...
Searching...
No Matches
o2::calibration::IntegratedClusters< DataT > Class Template Reference

class for accumulating integrated currents More...

#include <IntegratedClusterCalibrator.h>

Public Member Functions

 IntegratedClusters (o2::calibration::TFType tFirst, o2::calibration::TFType tLast)
 
 IntegratedClusters ()=default
 \default constructor for ROOT I/O
 
void print () const
 print summary informations
 
void fill (const o2::calibration::TFType tfID, const DataT &currentsContainer)
 
void merge (const IntegratedClusters *prev)
 merging TOF currents with previous interval
 
bool hasEnoughData () const
 
const auto & getCurrents () const &
 
auto getCurrents () &&
 
void setCurrents (const DataT &currents)
 
void dumpToFile (const char *outFileName="IntegratedClusters.root", const char *outName="IC") const
 
void dumpToTree (const char *outFileName="ICTree.root")
 
void setStartTime (long timeMS)
 setting the start time
 

Detailed Description

template<typename DataT>
class o2::calibration::IntegratedClusters< DataT >

class for accumulating integrated currents

Definition at line 697 of file IntegratedClusterCalibrator.h.

Constructor & Destructor Documentation

◆ IntegratedClusters() [1/2]

template<typename DataT >
o2::calibration::IntegratedClusters< DataT >::IntegratedClusters ( o2::calibration::TFType  tFirst,
o2::calibration::TFType  tLast 
)
inline

\constructor

Parameters
tFirstfirst TF of the stored currents
tLastlast TF of the stored currents

Definition at line 703 of file IntegratedClusterCalibrator.h.

◆ IntegratedClusters() [2/2]

template<typename DataT >
o2::calibration::IntegratedClusters< DataT >::IntegratedClusters ( )
default

\default constructor for ROOT I/O

Member Function Documentation

◆ dumpToFile()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::dumpToFile ( const char outFileName = "IntegratedClusters< DataT >.root",
const char outName = "IC" 
) const

dump object to disc

Parameters
outFileNamename of the output file
outNamename of the object in the output file

Definition at line 26 of file IntegratedClusterCalibrator.cxx.

◆ dumpToTree()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::dumpToTree ( const char outFileName = "ICTree.root")

dump object to TTree for visualisation

Parameters
outFileNamename of the output file

Definition at line 140 of file IntegratedClusterCalibrator.cxx.

◆ fill()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::fill ( const o2::calibration::TFType  tfID,
const DataT &  currentsContainer 
)

accumulate currents for given TF

Parameters
tfIDTF ID of incoming data
currentsContainercontainer containing the currents for given detector for one TF for number of clusters

Definition at line 34 of file IntegratedClusterCalibrator.cxx.

◆ getCurrents() [1/2]

template<typename DataT >
auto o2::calibration::IntegratedClusters< DataT >::getCurrents ( ) &&
inline
Returns
returns accumulated currents using move semantics

Definition at line 726 of file IntegratedClusterCalibrator.h.

◆ getCurrents() [2/2]

template<typename DataT >
const auto & o2::calibration::IntegratedClusters< DataT >::getCurrents ( ) const &
inline
Returns
returns accumulated currents

Definition at line 723 of file IntegratedClusterCalibrator.h.

◆ hasEnoughData()

template<typename DataT >
bool o2::calibration::IntegratedClusters< DataT >::hasEnoughData ( ) const
inline
Returns
always return true. To specify the number of time slot intervals to wait for one should use the –max-delay option

Definition at line 720 of file IntegratedClusterCalibrator.h.

◆ merge()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::merge ( const IntegratedClusters< DataT > *  prev)

merging TOF currents with previous interval

Definition at line 77 of file IntegratedClusterCalibrator.cxx.

◆ print()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::print ( ) const
inline

print summary informations

Definition at line 709 of file IntegratedClusterCalibrator.h.

◆ setCurrents()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::setCurrents ( const DataT &  currents)
inline
Parameters
currentscurrents for given detector which will be set

Definition at line 729 of file IntegratedClusterCalibrator.h.

◆ setStartTime()

template<typename DataT >
void o2::calibration::IntegratedClusters< DataT >::setStartTime ( long  timeMS)
inline

setting the start time

Definition at line 741 of file IntegratedClusterCalibrator.h.


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