30#include "Fit/Fitter.h"
79 bool mInitDone{
false};
81 bool mEnableOutput{
false};
82 std::unique_ptr<TFile> mOutFile{
nullptr};
83 std::unique_ptr<TTree> mOutTree{
nullptr};
84 ErfLandauChi2Functor mFitFunctor;
85 ROOT::Fit::Fitter mFitter;
86 std::array<double, 4> mParamsStart;
87 std::unique_ptr<TF1> mFuncErfLandau;
89 std::array<float, o2::trd::constants::MAXCHAMBER> t0_chambers;
92 std::vector<o2::ccdb::CcdbObjectInfo> mInfoVector;
93 std::vector<o2::trd::CalT0> mObjectVector;
95 std::unique_ptr<TProfile> adcProfIncl;
Object with T0 values per chamber to be written into the CCDB.
Class to store the TRD PH values for each TRD chamber.
static const TRDCalibParams & Instance()
bool hasEnoughData(const Slot &slot) const final
void finalizeSlot(Slot &slot) final
const std::vector< o2::trd::CalT0 > & getCcdbObjectVector() const
Slot & emplaceNewSlot(bool front, TFType tStart, TFType tEnd) final
std::vector< o2::ccdb::CcdbObjectInfo > & getCcdbObjectInfoVector()
constexpr int MAXCHAMBER
the maximum number of installed chambers
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Defining DataPointCompositeObject explicitly as copiable.
std::vector< float > y
y-value (av. adc) for corresp. time-bin
float lowerBoundFit
lower bound for fit
double operator()(const double *par) const
float upperBoundFit
upper bound for fit
std::vector< float > x
x-value (time-bin) of adc profile
size_t minEntriesTotalT0Fit
minimum number of entries in inclusive distribution for (meaningful) t0 fit