15 : fRunStartTimeNs(runStartTimeNs)
28 double_t dBegAxisX = 0.0;
29 double_t dSizeTsSec = 0.128;
30 if (ts.num_components() != 0 && ts.num_microslices(0) > 1) {
31 dSizeTsSec = ((ts.descriptor(0, 1).idx - ts.descriptor(0, 0).idx) * ts.num_core_microslices()) * 1.0e-9;
33 auto cName =
"processed_ts";
34 auto cTitl =
"Statistics of TS processed online";
38 auto name =
"timeslices_count_evo";
39 auto titl =
"Number of processed TS vs time in run; time in run [s]; Nb TS []";
44 canv.AddPadConfig(pad);
48 auto name =
"timeslices_fraction_evo";
49 auto titl =
"Fraction of TS processed vs time in run; time in run [s]; Processed TS []";
54 canv.AddPadConfig(pad);
A canvas configuration for the histogram server.
Class to handle QA-objects in the online reconstruction.
void AddCanvasConfig(const CanvasConfig &canvas)
Adds a canvas to the canvas config list.
void Send(std::shared_ptr< HistogramSender > histoSender)
Sends QA data to the HistogramSender.
void Init(std::shared_ptr< HistogramSender > histoSender)
Sends QA initialization information to the HistogramSender.
Obj * MakeObj(Args... args)
Creates a QA-object and returns the pointer to it.
int Fill(double x, double w=1.)
Fills histogram.
A pad configuration for the histogram server.
RecoGeneralQa()=delete
Default constructor.
void operator()(const fles::Timeslice &ts)
Execution: fill histograms and emit them (FIXME: control emission frequency)
std::shared_ptr< HistogramSender > fpSender
Histogram sender.
qa::H1D * fphTimeslicesCountEvo
hist: timeslices vs time in run in s, binned for 100 TS
static const int32_t kNbTsPerBinFrac
qa::Data fQaData
QA data, with folder named Reco as hist destination.
qa::H1D * fphTimeslicesFractionEco
hist: fraction of al ts vs time in run in s, binned for 1000 TS
static const int32_t kNbTsPerBinCount