Project
Loading...
Searching...
No Matches
o2::tpc::SACCCDBHelper< DataT > Class Template Reference

#include <SACCCDBHelper.h>

Public Member Functions

 SACCCDBHelper ()=default
 constructor
 
void setSACDelta (SACDelta< DataT > *SACDelta)
 setting the SACDelta class member
 
void setSACZero (SACZero *SACZero)
 setting the 0D-SACs
 
void setSACOne (SACOne *SACOne)
 setting the 1D-SACs
 
void setFourierCoeffs (FourierCoeffSAC *fourier)
 setting the fourier coefficients
 
unsigned int getNIntegrationIntervalsSACDelta (const o2::tpc::Side side) const
 
unsigned int getNIntegrationIntervalsSACOne (const o2::tpc::Side side) const
 
float getSACZeroVal (const unsigned int sector, const unsigned int stack) const
 
float getSACDeltaVal (const unsigned int sector, const unsigned int stack, unsigned int integrationInterval) const
 
float getSACOneVal (const o2::tpc::Side side, const unsigned int integrationInterval) const
 
float getSACVal (const unsigned int sector, const unsigned int stack, unsigned int integrationInterval) const
 
void drawSACZeroSide (const o2::tpc::Side side, const std::string filename="SACZeroSide.pdf", const float minZ=0, const float maxZ=-1) const
 
void drawSACDeltaSide (const o2::tpc::Side side, const unsigned int integrationInterval, const std::string filename="SACDeltaSide.pdf", const float minZ=0, const float maxZ=-1) const
 
void drawSACSide (const o2::tpc::Side side, const unsigned int integrationInterval, const std::string filename="SACSide.pdf", const float minZ=0, const float maxZ=-1) const
 
void drawSACZeroSector (const unsigned int sector, const std::string filename="SACZeroSector.pdf", const float minZ=0, const float maxZ=-1) const
 
void drawSACDeltaSector (const unsigned int sector, const unsigned int integrationInterval, const std::string filename="SACDeltaSector.pdf", const float minZ=0, const float maxZ=-1) const
 
void drawSACSector (const unsigned int sector, const unsigned int integrationInterval, const std::string filename="SACSector.pdf", const float minZ=0, const float maxZ=-1) const
 
void dumpToTree (const char *outFileName="SACCCDBTree.root") const
 
void dumpToFourierCoeffToTree (const char *outFileName="FourierCCDBTree.root") const
 

Detailed Description

template<typename DataT = unsigned short>
class o2::tpc::SACCCDBHelper< DataT >
Template Parameters
DataTthe data type for the SACDelta which are stored in the CCDB (unsigned short, unsigned char, float)

Definition at line 33 of file SACCCDBHelper.h.

Constructor & Destructor Documentation

◆ SACCCDBHelper()

template<typename DataT = unsigned short>
o2::tpc::SACCCDBHelper< DataT >::SACCCDBHelper ( )
default

constructor

Member Function Documentation

◆ drawSACDeltaSector()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::drawSACDeltaSector ( const unsigned int  sector,
const unsigned int  integrationInterval,
const std::string  filename = "SACDeltaSector.pdf",
const float  minZ = 0,
const float  maxZ = -1 
) const
inline

draw SACDelta for one sector for one integration interval

Parameters
sectorsector which will be drawn
integrationIntervalwhich will be drawn
filenamename of the output file. If empty the canvas is drawn.

Definition at line 105 of file SACCCDBHelper.h.

◆ drawSACDeltaSide()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::drawSACDeltaSide ( const o2::tpc::Side  side,
const unsigned int  integrationInterval,
const std::string  filename = "SACDeltaSide.pdf",
const float  minZ = 0,
const float  maxZ = -1 
) const
inline

draw SACDelta for one side for one integration interval

Parameters
sideside which will be drawn
integrationIntervalwhich will be drawn
filenamename of the output file. If empty the canvas is drawn.

Definition at line 88 of file SACCCDBHelper.h.

◆ drawSACSector()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::drawSACSector ( const unsigned int  sector,
const unsigned int  integrationInterval,
const std::string  filename = "SACSector.pdf",
const float  minZ = 0,
const float  maxZ = -1 
) const
inline

draw SAC zero I_0(r,\phi) = <I(r,\phi,t)>_t

Parameters
sectorsector which will be drawn
integrationIntervalwhich will be drawn
filenamename of the output file. If empty the canvas is drawn.

Definition at line 111 of file SACCCDBHelper.h.

◆ drawSACSide()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::drawSACSide ( const o2::tpc::Side  side,
const unsigned int  integrationInterval,
const std::string  filename = "SACSide.pdf",
const float  minZ = 0,
const float  maxZ = -1 
) const
inline

draw SACs which is calculated with: (SACDelta + 1) * SACOne * SACZero

Parameters
sideside which will be drawn
integrationIntervalwhich will be drawn
filenamename of the output file. If empty the canvas is drawn.

Definition at line 94 of file SACCCDBHelper.h.

◆ drawSACZeroSector()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::drawSACZeroSector ( const unsigned int  sector,
const std::string  filename = "SACZeroSector.pdf",
const float  minZ = 0,
const float  maxZ = -1 
) const
inline

draw SAC zero I_0(r,\phi) = <I(r,\phi,t)>_t

Parameters
sectorsector which will be drawn
filenamename of the output file. If empty the canvas is drawn.

Definition at line 99 of file SACCCDBHelper.h.

◆ drawSACZeroSide()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::drawSACZeroSide ( const o2::tpc::Side  side,
const std::string  filename = "SACZeroSide.pdf",
const float  minZ = 0,
const float  maxZ = -1 
) const
inline

draw SAC zero I_0(r,\phi) = <I(r,\phi,t)>_t

Parameters
sideside which will be drawn
filenamename of the output file. If empty the canvas is drawn.

Definition at line 82 of file SACCCDBHelper.h.

◆ dumpToFourierCoeffToTree()

template<typename DataT >
void o2::tpc::SACCCDBHelper< DataT >::dumpToFourierCoeffToTree ( const char outFileName = "FourierCCDBTree.root") const

dumping the loaded fourier coefficients to a tree

Parameters
outFileNamename of the output file

Definition at line 132 of file SACCCDBHelper.cxx.

◆ dumpToTree()

template<typename DataT >
void o2::tpc::SACCCDBHelper< DataT >::dumpToTree ( const char outFileName = "SACCCDBTree.root") const

dumping the loaded SAC0, SAC1 to a tree

Parameters
outFileNamename of the output file

Definition at line 94 of file SACCCDBHelper.cxx.

◆ getNIntegrationIntervalsSACDelta()

template<typename DataT >
unsigned int o2::tpc::SACCCDBHelper< DataT >::getNIntegrationIntervalsSACDelta ( const o2::tpc::Side  side) const
Returns
returns the number of integration intervals for SACDelta

Definition at line 19 of file SACCCDBHelper.cxx.

◆ getNIntegrationIntervalsSACOne()

template<typename DataT >
unsigned int o2::tpc::SACCCDBHelper< DataT >::getNIntegrationIntervalsSACOne ( const o2::tpc::Side  side) const
Returns
returns the number of integration intervals for SACOne

Definition at line 25 of file SACCCDBHelper.cxx.

◆ getSACDeltaVal()

template<typename DataT >
float o2::tpc::SACCCDBHelper< DataT >::getSACDeltaVal ( const unsigned int  sector,
const unsigned int  stack,
unsigned int  integrationInterval 
) const
Returns
returns the stored DeltaSAC value
Parameters
sectorsector
stacklocal stack in sector
integrationIntervalintegration interval

Definition at line 37 of file SACCCDBHelper.cxx.

◆ getSACOneVal()

template<typename DataT >
float o2::tpc::SACCCDBHelper< DataT >::getSACOneVal ( const o2::tpc::Side  side,
const unsigned int  integrationInterval 
) const
Returns
returns SACOne value
Parameters
sideside of the TPC
integrationIntervalintegration interval

Definition at line 43 of file SACCCDBHelper.cxx.

◆ getSACVal()

template<typename DataT >
float o2::tpc::SACCCDBHelper< DataT >::getSACVal ( const unsigned int  sector,
const unsigned int  stack,
unsigned int  integrationInterval 
) const
Returns
returns the SAC value which is calculated with: (SACDelta + 1) * SACOne * SACZero
Parameters
sectorsector
stacklocal stack in sector
integrationIntervalintegration interval

Definition at line 49 of file SACCCDBHelper.cxx.

◆ getSACZeroVal()

template<typename DataT >
float o2::tpc::SACCCDBHelper< DataT >::getSACZeroVal ( const unsigned int  sector,
const unsigned int  stack 
) const
Returns
returns the stored SAC0 value
Parameters
sectorsector
stacklocal stack in sector

Definition at line 31 of file SACCCDBHelper.cxx.

◆ setFourierCoeffs()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::setFourierCoeffs ( FourierCoeffSAC fourier)
inline

setting the fourier coefficients

Definition at line 49 of file SACCCDBHelper.h.

◆ setSACDelta()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::setSACDelta ( SACDelta< DataT > *  SACDelta)
inline

setting the SACDelta class member

Definition at line 40 of file SACCCDBHelper.h.

◆ setSACOne()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::setSACOne ( SACOne SACOne)
inline

setting the 1D-SACs

Definition at line 46 of file SACCCDBHelper.h.

◆ setSACZero()

template<typename DataT = unsigned short>
void o2::tpc::SACCCDBHelper< DataT >::setSACZero ( SACZero SACZero)
inline

setting the 0D-SACs

Definition at line 43 of file SACCCDBHelper.h.


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