16#ifndef ALICEO2_TPC_SACCCDBHELPER_H_
17#define ALICEO2_TPC_SACCCDBHELPER_H_
27struct FourierCoeffSAC;
28template <
typename DataT>
32template <
typename DataT =
unsigned short>
66 float getSACDeltaVal(
const unsigned int sector,
const unsigned int stack,
unsigned int integrationInterval)
const;
77 float getSACVal(
const unsigned int sector,
const unsigned int stack,
unsigned int integrationInterval)
const;
111 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 { drawSACHelper(
false,
Sector(sector), integrationInterval,
filename,
minZ,
maxZ); }
115 void dumpToTree(
const char* outFileName =
"SACCCDBTree.root")
const;
124 SACOne* mSACOne =
nullptr;
130 void drawSACZeroHelper(
const bool type,
const Sector sector,
const std::string
filename,
const float minZ,
const float maxZ)
const;
136 void drawSACDeltaHelper(
const bool type,
const Sector sector,
const unsigned int integrationInterval,
const std::string
filename,
const float minZ,
const float maxZ)
const;
142 void drawSACHelper(
const bool type,
const Sector sector,
const unsigned int integrationInterval,
const std::string
filename,
const float minZ,
const float maxZ)
const;
void drawSACZeroSector(const unsigned int sector, const std::string filename="SACZeroSector.pdf", const float minZ=0, const float maxZ=-1) const
void setSACDelta(SACDelta< DataT > *SACDelta)
setting the SACDelta class member
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 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 drawSACZeroSide(const o2::tpc::Side side, const std::string filename="SACZeroSide.pdf", const float minZ=0, const float maxZ=-1) const
void dumpToTree(const char *outFileName="SACCCDBTree.root") 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
unsigned int getNIntegrationIntervalsSACDelta(const o2::tpc::Side side) const
float getSACVal(const unsigned int sector, const unsigned int stack, unsigned int integrationInterval) const
SACCCDBHelper()=default
constructor
void setFourierCoeffs(FourierCoeffSAC *fourier)
setting the fourier coefficients
float getSACOneVal(const o2::tpc::Side side, const unsigned int integrationInterval) const
void setSACOne(SACOne *SACOne)
setting the 1D-SACs
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 dumpToFourierCoeffToTree(const char *outFileName="FourierCCDBTree.root") const
float getSACDeltaVal(const unsigned int sector, const unsigned int stack, unsigned int integrationInterval) const
void setSACZero(SACZero *SACZero)
setting the 0D-SACs
unsigned int getNIntegrationIntervalsSACOne(const o2::tpc::Side side) const
float getSACZeroVal(const unsigned int sector, const unsigned int stack) const
static constexpr int MAXSECTOR
GLint GLint GLsizei GLint GLenum GLenum type
GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat maxZ
Global TPC definitions and constants.