12#ifndef EMCAL_PEDESTAL_HELPER_H_
13#define EMCAL_PEDESTAL_HELPER_H_
54 std::vector<char> createInstructionString(
const int runNum = -1);
56 static constexpr short kNSM = 20;
57 static constexpr short kNRCU = 2;
58 static constexpr short kNDTC = 40;
59 static constexpr short kNBranch = 2;
60 static constexpr short kNFEC = 10;
61 static constexpr short kNChip = 5;
62 static constexpr short kNChan = 16;
63 short fMeanPed[kNSM][kNRCU][kNBranch][kNFEC][kNChip][kNChan];
void dumpInstructions(const std::string_view filename, const gsl::span< char > &data)
print the vector produced by createInstructionString in a textfile
~EMCALPedestalHelper()=default
EMCALPedestalHelper()=default
std::vector< char > createPedestalInstruction(const Pedestal &obj, const int runNum=-1)
Encodes the pedestal object into a string. This function fills fMeanPed which is then converted to a ...
CCDB container for pedestal values.