Project
Loading...
Searching...
No Matches
o2::tpc::ITPCC Struct Reference

struct containing the integrated TPC currents More...

#include <IntegratedClusterCalibrator.h>

Public Member Functions

float compression (float value, const int nBits) const
 
void compress (const int nBits)
 
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 ITPCC &data)
 
void insert (const unsigned int nDummyValues)
 
void resize (const unsigned int nTotal)
 resize buffer for accumulated currents
 
void reset ()
 reset buffered currents
 
void normalize (const float factor)
 normalize currents
 
 ClassDefNV (ITPCC, 2)
 

Public Attributes

std::vector< float > mIQMaxA
 integrated 1D-currents for QMax A-side
 
std::vector< float > mIQMaxC
 integrated 1D-currents for QMax C-side
 
std::vector< float > mIQTotA
 integrated 1D-currents for QTot A-side
 
std::vector< float > mIQTotC
 integrated 1D-currents for QTot A-side
 
std::vector< float > mINClA
 integrated 1D-currents for NCl A-side
 
std::vector< float > mINClC
 integrated 1D-currents for NCl A-side
 
long mTimeMS {}
 start time in ms
 

Detailed Description

struct containing the integrated TPC currents

Definition at line 81 of file IntegratedClusterCalibrator.h.

Member Function Documentation

◆ areSameSize()

bool o2::tpc::ITPCC::areSameSize ( ) const
inline

check if stored currents have same number of entries

Definition at line 109 of file IntegratedClusterCalibrator.h.

◆ ClassDefNV()

o2::tpc::ITPCC::ClassDefNV ( ITPCC  ,
 
)

◆ compress()

void o2::tpc::ITPCC::compress ( const int  nBits)
inline

Definition at line 99 of file IntegratedClusterCalibrator.h.

◆ compression()

float o2::tpc::ITPCC::compression ( float  value,
const int  nBits 
) const
inline

Definition at line 90 of file IntegratedClusterCalibrator.h.

◆ fill()

void o2::tpc::ITPCC::fill ( const unsigned int  posIndex,
const ITPCC 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 117 of file IntegratedClusterCalibrator.h.

◆ getEntries()

size_t o2::tpc::ITPCC::getEntries ( ) const
inline
Returns
returns number of values stored

Definition at line 111 of file IntegratedClusterCalibrator.h.

◆ insert()

void o2::tpc::ITPCC::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 128 of file IntegratedClusterCalibrator.h.

◆ isEmpty()

bool o2::tpc::ITPCC::isEmpty ( ) const
inline

check if values are empty

Definition at line 110 of file IntegratedClusterCalibrator.h.

◆ normalize()

void o2::tpc::ITPCC::normalize ( const float  factor)
inline

normalize currents

Definition at line 162 of file IntegratedClusterCalibrator.h.

◆ reset()

void o2::tpc::ITPCC::reset ( )
inline

reset buffered currents

Definition at line 151 of file IntegratedClusterCalibrator.h.

◆ resize()

void o2::tpc::ITPCC::resize ( const unsigned int  nTotal)
inline

resize buffer for accumulated currents

Definition at line 140 of file IntegratedClusterCalibrator.h.

◆ setStartTime()

void o2::tpc::ITPCC::setStartTime ( long  timeMS)
inline

Definition at line 112 of file IntegratedClusterCalibrator.h.

Member Data Documentation

◆ mINClA

std::vector<float> o2::tpc::ITPCC::mINClA

integrated 1D-currents for NCl A-side

Definition at line 86 of file IntegratedClusterCalibrator.h.

◆ mINClC

std::vector<float> o2::tpc::ITPCC::mINClC

integrated 1D-currents for NCl A-side

Definition at line 87 of file IntegratedClusterCalibrator.h.

◆ mIQMaxA

std::vector<float> o2::tpc::ITPCC::mIQMaxA

integrated 1D-currents for QMax A-side

Definition at line 82 of file IntegratedClusterCalibrator.h.

◆ mIQMaxC

std::vector<float> o2::tpc::ITPCC::mIQMaxC

integrated 1D-currents for QMax C-side

Definition at line 83 of file IntegratedClusterCalibrator.h.

◆ mIQTotA

std::vector<float> o2::tpc::ITPCC::mIQTotA

integrated 1D-currents for QTot A-side

Definition at line 84 of file IntegratedClusterCalibrator.h.

◆ mIQTotC

std::vector<float> o2::tpc::ITPCC::mIQTotC

integrated 1D-currents for QTot A-side

Definition at line 85 of file IntegratedClusterCalibrator.h.

◆ mTimeMS

long o2::tpc::ITPCC::mTimeMS {}

start time in ms

Definition at line 88 of file IntegratedClusterCalibrator.h.


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