Project
Loading...
Searching...
No Matches
o2::tpc::IDCDelta< DataT > Struct Template Reference

struct to access and set Delta IDCs More...

#include <IDCContainer.h>

Public Member Functions

void setValue (const float idcDelta, const unsigned int index)
 
void emplace_back (const float idcDelta)
 
DataT compressValue (float idcDelta) const
 
float getValue (const unsigned int index) const
 
void setCompressionFactor (const float factorMin, const float factorMax)
 
const auto & getIDCDelta () const
 
auto & getIDCDelta ()
 
void setIDCDelta (const unsigned int index, const DataT val)
 
const auto & getCompressionFactors () const
 
auto getCompressionFactor () const
 
auto getNIDCs () const
 

Public Attributes

IDCDeltaContainer< DataTmIDCDelta {}
 storage for Delta IDCs
 
IDCDeltaCompressionFactors mCompressionFactor {}
 compression factor for Delta IDCs
 

Detailed Description

template<typename DataT>
struct o2::tpc::IDCDelta< DataT >

struct to access and set Delta IDCs

Definition at line 64 of file IDCContainer.h.

Member Function Documentation

◆ compressValue()

template<typename DataT >
DataT o2::tpc::IDCDelta< DataT >::compressValue ( float  idcDelta) const
inline
Returns
returns converted IDC value from float to new data type specified by template parameter of the object
Parameters
idcDeltaDelta IDC value which will be set

Definition at line 77 of file IDCContainer.h.

◆ emplace_back()

template<typename DataT >
void o2::tpc::IDCDelta< DataT >::emplace_back ( const float  idcDelta)
inline

set idcDelta ath the end of storage

Parameters
idcDeltaDelta IDC value which will be set

Definition at line 73 of file IDCContainer.h.

◆ getCompressionFactor()

template<typename DataT >
auto o2::tpc::IDCDelta< DataT >::getCompressionFactor ( ) const
inline
Returns
returns compression factors to uncompress Delta IDC

Definition at line 106 of file IDCContainer.h.

◆ getCompressionFactors()

template<typename DataT >
const auto & o2::tpc::IDCDelta< DataT >::getCompressionFactors ( ) const
inline
Returns
returns compression factors to uncompress Delta IDC

Definition at line 103 of file IDCContainer.h.

◆ getIDCDelta() [1/2]

template<typename DataT >
auto & o2::tpc::IDCDelta< DataT >::getIDCDelta ( )
inline
Returns
returns vector of Delta IDCs

Definition at line 95 of file IDCContainer.h.

◆ getIDCDelta() [2/2]

template<typename DataT >
const auto & o2::tpc::IDCDelta< DataT >::getIDCDelta ( ) const
inline
Returns
returns vector of Delta IDCs

Definition at line 92 of file IDCContainer.h.

◆ getNIDCs()

template<typename DataT >
auto o2::tpc::IDCDelta< DataT >::getNIDCs ( ) const
inline
Returns
returns number of stored IDCs

Definition at line 109 of file IDCContainer.h.

◆ getValue()

template<typename DataT >
float o2::tpc::IDCDelta< DataT >::getValue ( const unsigned int  index) const
inline
Returns
returns stored Delta IDC value
Parameters
indexindex in the storage (see: getIndexUngrouped int IDCGroupHelperSector)

Definition at line 85 of file IDCContainer.h.

◆ setCompressionFactor()

template<typename DataT >
void o2::tpc::IDCDelta< DataT >::setCompressionFactor ( const float  factorMin,
const float  factorMax 
)
inline

set compression factor

Parameters
factorfactor which will be used for the compression

Definition at line 89 of file IDCContainer.h.

◆ setIDCDelta()

template<typename DataT >
void o2::tpc::IDCDelta< DataT >::setIDCDelta ( const unsigned int  index,
const DataT  val 
)
inline

set IDCDelta value

Parameters
indexindex in the storage (see: getIndexUngrouped int IDCGroupHelperSector)
valvalue of IDCDelta which will be stored

Definition at line 100 of file IDCContainer.h.

◆ setValue()

template<typename DataT >
void o2::tpc::IDCDelta< DataT >::setValue ( const float  idcDelta,
const unsigned int  index 
)
inline

set idcDelta for given index

Parameters
idcDeltaDelta IDC value which will be set
indexindex in the storage

Definition at line 69 of file IDCContainer.h.

Member Data Documentation

◆ mCompressionFactor

template<typename DataT >
IDCDeltaCompressionFactors o2::tpc::IDCDelta< DataT >::mCompressionFactor {}

compression factor for Delta IDCs

Definition at line 112 of file IDCContainer.h.

◆ mIDCDelta

template<typename DataT >
IDCDeltaContainer<DataT> o2::tpc::IDCDelta< DataT >::mIDCDelta {}

storage for Delta IDCs

Definition at line 111 of file IDCContainer.h.


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