#include <PHOSRunbyrunCalibrator.h>
Inherits o2::calibration::TimeSlotCalibration< o2::phos::PHOSRunbyrunSlot >.
|
| PHOSRunbyrunCalibrator () |
|
| ~PHOSRunbyrunCalibrator () final |
|
bool | hasEnoughData (const Slot &slot) const final |
|
void | initOutput () final |
|
void | finalizeSlot (Slot &slot) final |
|
Slot & | emplaceNewSlot (bool front, TFType tstart, TFType tend) final |
|
bool | process (TFType tf, const gsl::span< const Cluster > &clu, const gsl::span< const TriggerRecord > &trs) |
|
std::array< float, 8 > | getCalibration () |
|
void | writeHistos () |
|
double | CBRatio (double *x, double *p) |
|
double | CBSignal (double *x, double *p) |
|
double | bg (double *x, double *p) |
|
| TimeSlotCalibration ()=default |
|
virtual | ~TimeSlotCalibration ()=default |
|
float | getMaxSlotsDelay () const |
|
void | setMaxSlotsDelay (float v) |
|
TFType | getSlotLength () const |
|
void | setSlotLength (TFType v) |
|
TFType | getCheckIntervalInfiniteSlot () const |
|
void | setCheckIntervalInfiniteSlot (TFType v) |
|
TFType | getCheckDeltaIntervalInfiniteSlot () const |
|
void | setCheckDeltaIntervalInfiniteSlot (TFType v) |
|
TFType | getFirstTF () const |
|
void | setFirstTF (TFType v) |
|
void | setSlotLengthInSeconds (int s) |
|
void | setSlotLengthInOrbits (int n) |
|
void | checkSlotLength () |
|
void | setStartOffsetFrac (float f) |
|
void | setFinalizeWhenReady () |
|
void | setUpdateAtTheEndOfRunOnly () |
|
int | getNSlots () const |
|
Slot & | getSlotForTF (TFType tf) |
|
Slot & | getSlot (int i) |
|
const Slot & | getSlot (int i) const |
|
const Slot & | getLastSlot () const |
|
const Slot & | getFirstSlot () const |
|
bool | process (const DATA &... data) |
|
virtual void | checkSlotsToFinalize (TFType tf=INFINITE_TF, int maxDelay=0) |
|
virtual void | finalizeOldestSlot () |
|
virtual void | reset () |
|
virtual Slot & | emplaceNewSlot (bool front, TFType tstart, TFType tend)=0 |
|
virtual void | print () const |
|
const o2::dataformats::TFIDInfo & | getCurrentTFInfo () const |
|
o2::dataformats::TFIDInfo & | getCurrentTFInfo () |
|
bool | getSavedSlotAllowed () const |
|
void | setSavedSlotAllowed (bool v) |
|
std::string | getSaveFilePath () const |
|
const std::string & | getSaveFileName () const |
|
void | setSaveFileName (const std::string &n) |
|
void | setSaveDirectory (const std::string &n) |
|
virtual bool | updateSaveMetaData () |
|
virtual bool | saveLastSlotData (TFile &fl) |
|
virtual bool | adoptSavedData (const TimeSlotMetaData &metadata, TFile &fl) |
|
virtual bool | loadSavedSlot () |
|
virtual bool | saveLastSlot () |
|
Definition at line 72 of file PHOSRunbyrunCalibrator.h.
◆ PHOSRunbyrunCalibrator()
PHOSRunbyrunCalibrator::PHOSRunbyrunCalibrator |
( |
| ) |
|
◆ ~PHOSRunbyrunCalibrator()
PHOSRunbyrunCalibrator::~PHOSRunbyrunCalibrator |
( |
| ) |
|
|
final |
◆ bg()
double PHOSRunbyrunCalibrator::bg |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ CBRatio()
double PHOSRunbyrunCalibrator::CBRatio |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ CBSignal()
double PHOSRunbyrunCalibrator::CBSignal |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
◆ emplaceNewSlot()
Slot & PHOSRunbyrunCalibrator::emplaceNewSlot |
( |
bool |
front, |
|
|
TFType |
tstart, |
|
|
TFType |
tend |
|
) |
| |
|
final |
◆ finalizeSlot()
void PHOSRunbyrunCalibrator::finalizeSlot |
( |
Slot & |
slot | ) |
|
|
finalvirtual |
◆ getCalibration()
std::array< float, 8 > o2::phos::PHOSRunbyrunCalibrator::getCalibration |
( |
| ) |
|
|
inline |
◆ hasEnoughData()
bool PHOSRunbyrunCalibrator::hasEnoughData |
( |
const Slot & |
slot | ) |
const |
|
finalvirtual |
◆ initOutput()
void PHOSRunbyrunCalibrator::initOutput |
( |
| ) |
|
|
finalvirtual |
◆ process()
bool PHOSRunbyrunCalibrator::process |
( |
TFType |
tf, |
|
|
const gsl::span< const Cluster > & |
clu, |
|
|
const gsl::span< const TriggerRecord > & |
trs |
|
) |
| |
◆ writeHistos()
void PHOSRunbyrunCalibrator::writeHistos |
( |
| ) |
|
The documentation for this class was generated from the following files: