23#include "fairlogger/Logger.h"
40 ccdbmgr.setTimestamp(timestamp);
44 LOG(fatal) <<
"No chamber calibrations returned from CCDB for TRD calibrations";
48 LOG(fatal) <<
"No local gain factors returned from CCDB for TRD calibrations";
53 LOG(fatal) <<
"No Padnoise calibrations returned from CCDB for TRD calibrations";
57 LOG(fatal) <<
"No ChamberStatus calibrations returned from CCDB for TRD calibrations";
61 LOG(fatal) <<
"No Pad Status calibrations returned from CCDB for TRD calibrations";
68 LOG(fatal) <<
"Attempt to overwrite Gain tables, mCalOnlineGainTables already exists";
72 std::string fulltablename =
"TRD/OnlineGainTables/" + tablename;
static BasicCCDBManager & instance()
short getFGFNrm(int det, int rob, int mcm, int channel) const
short getAdcdacrm(int det, int rob, int mcm) const
short getFGANrm(int det, int rob, int mcm, int channel) const
float getOnlineGainFGAN(int det, int row, int mcm, int adc) const
void getCCDBObjects(long timestamp)
void setOnlineGainTables(std::string &tablename)
ChamberStatus * mChamberStatus
status flag for each chamber
PadStatus * mPadStatus
status flag for each readout pad
float getGainFactor(int roc, int col, int row) const
ChamberCalibrations * mChamberCalibrations
from AliRoot: vDrift, T0, ExB and Gain for each chamber
float getOnlineGainFGFN(int det, int row, int mcm, int adc) const
PadNoise * mPadNoise
noise value per readout pad
float getPadGainFactor(int roc, int col, int row) const
CalOnlineGainTables * mCalOnlineGainTables
online gain table (obtained from Kr calibration)
float getOnlineGainAdcdac(int det, int row, int mcm) const
float getVDrift(int roc, int col, int row) const
float getExB(int roc) const
float getT0(int roc, int col, int row) const
LocalGainFactor * mLocalGainFactor
gain factor per readout pad
float getGainFactor(int p, int c, int s) const
float getExB(int p, int c, int s) const
float getT0(int p, int c, int s) const
float getVDrift(int p, int c, int s) const
T getValue(int roc, int col, int row) const
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"