Project
Loading...
Searching...
No Matches
o2::tof::ITOFC Struct Reference

struct containing the integrated TOF currents More...

#include <IntegratedClusterCalibrator.h>

Public Member Functions

bool areSameSize () const
 check if stored currents have same number of entries
 
bool isEmpty () const
 check if values are empty
 
size_t getEntries () const
 
void setStartTime (long timeMS)
 
void fill (const unsigned int posIndex, const ITOFC &data)
 
void insert (const unsigned int nDummyValues)
 
void resize (const unsigned int nTotal)
 resize buffer for accumulated currents
 
 ClassDefNV (ITOFC, 2)
 

Public Attributes

std::vector< float > mITOFCNCl
 integrated 1D TOF cluster currents
 
std::vector< float > mITOFCQ
 integrated 1D TOF qTot currents
 
long mTimeMS {}
 start time in ms
 

Detailed Description

struct containing the integrated TOF currents

Definition at line 40 of file IntegratedClusterCalibrator.h.

Member Function Documentation

◆ areSameSize()

bool o2::tof::ITOFC::areSameSize ( ) const
inline

check if stored currents have same number of entries

Definition at line 44 of file IntegratedClusterCalibrator.h.

◆ ClassDefNV()

o2::tof::ITOFC::ClassDefNV ( ITOFC  ,
 
)

◆ fill()

void o2::tof::ITOFC::fill ( const unsigned int  posIndex,
const ITOFC data 
)
inline

acummulate integrated currents at given index

Parameters
posIndexindex where data will be copied to
dataintegrated currents which will be copied

Definition at line 52 of file IntegratedClusterCalibrator.h.

◆ getEntries()

size_t o2::tof::ITOFC::getEntries ( ) const
inline
Returns
returns number of values stored

Definition at line 46 of file IntegratedClusterCalibrator.h.

◆ insert()

void o2::tof::ITOFC::insert ( const unsigned int  nDummyValues)
inline
Parameters
nDummyValuesnumber of empty values which are inserted at the beginning of the accumulated integrated currents

Definition at line 59 of file IntegratedClusterCalibrator.h.

◆ isEmpty()

bool o2::tof::ITOFC::isEmpty ( ) const
inline

check if values are empty

Definition at line 45 of file IntegratedClusterCalibrator.h.

◆ resize()

void o2::tof::ITOFC::resize ( const unsigned int  nTotal)
inline

resize buffer for accumulated currents

Definition at line 67 of file IntegratedClusterCalibrator.h.

◆ setStartTime()

void o2::tof::ITOFC::setStartTime ( long  timeMS)
inline

Definition at line 47 of file IntegratedClusterCalibrator.h.

Member Data Documentation

◆ mITOFCNCl

std::vector<float> o2::tof::ITOFC::mITOFCNCl

integrated 1D TOF cluster currents

Definition at line 41 of file IntegratedClusterCalibrator.h.

◆ mITOFCQ

std::vector<float> o2::tof::ITOFC::mITOFCQ

integrated 1D TOF qTot currents

Definition at line 42 of file IntegratedClusterCalibrator.h.

◆ mTimeMS

long o2::tof::ITOFC::mTimeMS {}

start time in ms

Definition at line 43 of file IntegratedClusterCalibrator.h.


The documentation for this struct was generated from the following file: