Project
Loading...
Searching...
No Matches
o2::emcal::EMCALPedestalHelper Class Reference

#include <EMCALPedestalHelper.h>

Public Member Functions

 EMCALPedestalHelper ()=default
 
 ~EMCALPedestalHelper ()=default
 
std::vector< charcreatePedestalInstruction (const Pedestal &obj, const int runNum=-1)
 Encodes the pedestal object into a string. This function fills fMeanPed which is then converted to a string in createInstructionString.
 
void dumpInstructions (const std::string_view filename, const gsl::span< char > &data)
 print the vector produced by createInstructionString in a textfile
 

Detailed Description

Definition at line 33 of file EMCALPedestalHelper.h.

Constructor & Destructor Documentation

◆ EMCALPedestalHelper()

o2::emcal::EMCALPedestalHelper::EMCALPedestalHelper ( )
default

◆ ~EMCALPedestalHelper()

o2::emcal::EMCALPedestalHelper::~EMCALPedestalHelper ( )
default

Member Function Documentation

◆ createPedestalInstruction()

std::vector< char > EMCALPedestalHelper::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 string in createInstructionString.

Parameters
objpedestal object as stored in production ccdb
runNumcurrent runnumber. If -1, will not be added to string that goes in the ccdb, otherwise runNum is the first entrey in the string

Definition at line 15 of file EMCALPedestalHelper.cxx.

◆ dumpInstructions()

void EMCALPedestalHelper::dumpInstructions ( const std::string_view  filename,
const gsl::span< char > &  data 
)

print the vector produced by createInstructionString in a textfile

Definition at line 194 of file EMCALPedestalHelper.cxx.


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