CbmRoot
Loading...
Searching...
No Matches
cbm::algo::qa::RecoGeneralQa Class Reference

#include <RecoGeneralQa.h>

Collaboration diagram for cbm::algo::qa::RecoGeneralQa:
[legend]

Public Member Functions

 RecoGeneralQa (const uint64_t &runStartTimeNs, std::shared_ptr< HistogramSender > pSender)
 Constructor.
 
 RecoGeneralQa ()=delete
 Default constructor.
 
 RecoGeneralQa (const RecoGeneralQa &)=delete
 Copy constructor.
 
 RecoGeneralQa (RecoGeneralQa &&)=delete
 Move constructor.
 
RecoGeneralQaoperator= (const RecoGeneralQa &)=delete
 Copy assignment operator.
 
RecoGeneralQaoperator= (RecoGeneralQa &&)=delete
 Move assignment operator.
 
void operator() (const fles::Timeslice &ts)
 Execution: fill histograms and emit them (FIXME: control emission frequency)
 

Private Attributes

uint64_t fRunStartTimeNs
 
std::shared_ptr< HistogramSenderfpSender = nullptr
 Histogram sender.
 
qa::Data fQaData {"Reco"}
 QA data, with folder named Reco as hist destination.
 
bool fInitNotDone = true
 
qa::H1DfphTimeslicesCountEvo = nullptr
 hist: timeslices vs time in run in s, binned for 100 TS
 
qa::H1DfphTimeslicesFractionEco = nullptr
 hist: fraction of al ts vs time in run in s, binned for 1000 TS
 

Static Private Attributes

static const int32_t kNbTsPerBinCount = 100
 
static const int32_t kNbTsPerBinFrac = 1000
 

Detailed Description

Definition at line 21 of file RecoGeneralQa.h.

Constructor & Destructor Documentation

◆ RecoGeneralQa() [1/4]

cbm::algo::qa::RecoGeneralQa::RecoGeneralQa ( const uint64_t & runStartTimeNs,
std::shared_ptr< HistogramSender > pSender )

Constructor.

Definition at line 14 of file RecoGeneralQa.cxx.

◆ RecoGeneralQa() [2/4]

cbm::algo::qa::RecoGeneralQa::RecoGeneralQa ( )
delete

Default constructor.

◆ RecoGeneralQa() [3/4]

cbm::algo::qa::RecoGeneralQa::RecoGeneralQa ( const RecoGeneralQa & )
delete

Copy constructor.

◆ RecoGeneralQa() [4/4]

cbm::algo::qa::RecoGeneralQa::RecoGeneralQa ( RecoGeneralQa && )
delete

Move constructor.

Member Function Documentation

◆ operator()()

void cbm::algo::qa::RecoGeneralQa::operator() ( const fles::Timeslice & ts)

Execution: fill histograms and emit them (FIXME: control emission frequency)

Parameters
Referenceto current TS
Returns
nothing

FIXME: Avoid default value in case first component has only a single MS

Definition at line 21 of file RecoGeneralQa.cxx.

References cbm::algo::qa::Data::AddCanvasConfig(), cbm::algo::qa::H1D::Fill(), fInitNotDone, fphTimeslicesCountEvo, fphTimeslicesFractionEco, fpSender, fQaData, fRunStartTimeNs, cbm::algo::qa::Data::Init(), kNbTsPerBinCount, kNbTsPerBinFrac, cbm::algo::qa::Data::MakeObj(), and cbm::algo::qa::Data::Send().

◆ operator=() [1/2]

RecoGeneralQa & cbm::algo::qa::RecoGeneralQa::operator= ( const RecoGeneralQa & )
delete

Copy assignment operator.

◆ operator=() [2/2]

RecoGeneralQa & cbm::algo::qa::RecoGeneralQa::operator= ( RecoGeneralQa && )
delete

Move assignment operator.

Member Data Documentation

◆ fInitNotDone

bool cbm::algo::qa::RecoGeneralQa::fInitNotDone = true
private

Definition at line 52 of file RecoGeneralQa.h.

Referenced by operator()().

◆ fphTimeslicesCountEvo

qa::H1D* cbm::algo::qa::RecoGeneralQa::fphTimeslicesCountEvo = nullptr
private

hist: timeslices vs time in run in s, binned for 100 TS

Definition at line 59 of file RecoGeneralQa.h.

Referenced by operator()().

◆ fphTimeslicesFractionEco

qa::H1D* cbm::algo::qa::RecoGeneralQa::fphTimeslicesFractionEco = nullptr
private

hist: fraction of al ts vs time in run in s, binned for 1000 TS

Definition at line 60 of file RecoGeneralQa.h.

Referenced by operator()().

◆ fpSender

std::shared_ptr<HistogramSender> cbm::algo::qa::RecoGeneralQa::fpSender = nullptr
private

Histogram sender.

Definition at line 50 of file RecoGeneralQa.h.

Referenced by operator()().

◆ fQaData

qa::Data cbm::algo::qa::RecoGeneralQa::fQaData {"Reco"}
private

QA data, with folder named Reco as hist destination.

Definition at line 51 of file RecoGeneralQa.h.

Referenced by operator()().

◆ fRunStartTimeNs

uint64_t cbm::algo::qa::RecoGeneralQa::fRunStartTimeNs
private

Definition at line 49 of file RecoGeneralQa.h.

Referenced by operator()().

◆ kNbTsPerBinCount

const int32_t cbm::algo::qa::RecoGeneralQa::kNbTsPerBinCount = 100
staticprivate

Definition at line 55 of file RecoGeneralQa.h.

Referenced by operator()().

◆ kNbTsPerBinFrac

const int32_t cbm::algo::qa::RecoGeneralQa::kNbTsPerBinFrac = 1000
staticprivate

Definition at line 56 of file RecoGeneralQa.h.

Referenced by operator()().


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