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

struct containing the fourier coefficients calculated from IDC0 for n timeframes More...

#include <IDCContainer.h>

Public Member Functions

 FourierCoeff (const unsigned int nTimeFrames, const unsigned int nCoeff)
 
 FourierCoeff ()=default
 default constructor for ROOT I/O
 
unsigned long getNCoefficients () const
 
unsigned int getNCoefficientsPerTF () const
 
const auto & getFourierCoefficients () const
 
unsigned int getIndex (const unsigned int interval, const unsigned int coefficient) const
 
unsigned int getNTimeFrames () const
 
float operator() (unsigned int index) const
 
float & operator() (unsigned int index)
 
void reset ()
 
void resize (const unsigned int nTimeFrames)
 

Public Attributes

std::vector< float > mFourierCoefficients {}
 fourier coefficients. coefficient real and complex parameters are stored alternating
 
unsigned int mCoeffPerTF {}
 number of real+imag coefficients per TF
 

Detailed Description

struct containing the fourier coefficients calculated from IDC0 for n timeframes

Definition at line 311 of file IDCContainer.h.

Constructor & Destructor Documentation

◆ FourierCoeff() [1/2]

o2::tpc::FourierCoeff::FourierCoeff ( const unsigned int  nTimeFrames,
const unsigned int  nCoeff 
)
inline

constructor

Parameters
nTimeFramesnumber of time frames
nCoeffnumber of real/imag fourier coefficients which will be stored

Definition at line 315 of file IDCContainer.h.

◆ FourierCoeff() [2/2]

o2::tpc::FourierCoeff::FourierCoeff ( )
default

default constructor for ROOT I/O

Member Function Documentation

◆ getFourierCoefficients()

const auto & o2::tpc::FourierCoeff::getFourierCoefficients ( ) const
inline
Returns
returns all stored coefficients for given side and real/complex type

Definition at line 328 of file IDCContainer.h.

◆ getIndex()

unsigned int o2::tpc::FourierCoeff::getIndex ( const unsigned int  interval,
const unsigned int  coefficient 
) const
inline
Returns
returns index to fourier coefficient
Parameters
intervalindex of interval
coefficientindex of coefficient

Definition at line 333 of file IDCContainer.h.

◆ getNCoefficients()

unsigned long o2::tpc::FourierCoeff::getNCoefficients ( ) const
inline
Returns
returns total number of stored coefficients for given side and real/complex type

Definition at line 322 of file IDCContainer.h.

◆ getNCoefficientsPerTF()

unsigned int o2::tpc::FourierCoeff::getNCoefficientsPerTF ( ) const
inline
Returns
returns number of stored coefficients for TF

Definition at line 325 of file IDCContainer.h.

◆ getNTimeFrames()

unsigned int o2::tpc::FourierCoeff::getNTimeFrames ( ) const
inline
Returns
returns number of time frames

Definition at line 336 of file IDCContainer.h.

◆ operator()() [1/2]

float & o2::tpc::FourierCoeff::operator() ( unsigned int  index)
inline
Returns
returns the stored value
Parameters
indexindex of the data

Definition at line 344 of file IDCContainer.h.

◆ operator()() [2/2]

float o2::tpc::FourierCoeff::operator() ( unsigned int  index) const
inline
Returns
returns the stored value
Parameters
indexindex of the data

Definition at line 340 of file IDCContainer.h.

◆ reset()

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

Definition at line 346 of file IDCContainer.h.

◆ resize()

void o2::tpc::FourierCoeff::resize ( const unsigned int  nTimeFrames)
inline

Definition at line 348 of file IDCContainer.h.

Member Data Documentation

◆ mCoeffPerTF

unsigned int o2::tpc::FourierCoeff::mCoeffPerTF {}

number of real+imag coefficients per TF

Definition at line 351 of file IDCContainer.h.

◆ mFourierCoefficients

std::vector<float> o2::tpc::FourierCoeff::mFourierCoefficients {}

fourier coefficients. coefficient real and complex parameters are stored alternating

Definition at line 350 of file IDCContainer.h.


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