CbmRoot
|
A central class to manage the histogram storage and sending to the histogram server. More...
#include <QaManager.h>
Public Member Functions | |
Manager (std::shared_ptr< HistogramSender > histoSender=nullptr) | |
Constructor. | |
Manager (const Manager &)=delete | |
Copy constructor. | |
Manager (Manager &&)=delete | |
Move constructor. | |
~Manager ()=default | |
Destructor. | |
Manager & | operator= (const Manager &)=delete |
Copy assignment operator. | |
Manager & | operator= (Manager &&)=delete |
Move assignment operator. | |
std::shared_ptr< Data > | GetData () const |
Gets an instance of QA data. | |
void | Init () |
Initializes the instance and sends the histogram and canvas configuration to the server. | |
void | SendHistograms () |
Sends a collection of histograms to the server. | |
void | SetTimesliceId (uint64_t timesliceId) |
Sets a timeslice index. | |
const ChainContext * | GetContext () |
void | SetContext (const ChainContext *ctx) |
const Options & | Opts () const |
const RecoParams & | Params () const |
bool | HasMonitor () const |
Monitor & | GetMonitor () const |
Private Attributes | |
std::shared_ptr< HistogramSender > | fpSender {nullptr} |
Histogram sender. | |
std::shared_ptr< Data > | fpData {std::make_shared<Data>()} |
Instance of QA Data. | |
const ChainContext * | fContext = nullptr |
A central class to manage the histogram storage and sending to the histogram server.
Definition at line 20 of file QaManager.h.
Manager::Manager | ( | std::shared_ptr< HistogramSender > | histoSender = nullptr | ) |
Constructor.
histoSender | A histogram sender instance |
Definition at line 18 of file QaManager.cxx.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
default |
Destructor.
|
inlineinherited |
Definition at line 16 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::tof::TrackingInterface::Init(), and cbm::algo::TrackingSetup::Init().
|
inline |
|
inlineinherited |
Definition at line 25 of file SubChain.h.
References cbm::algo::SubChain::fContext, and cbm::algo::SubChain::HasMonitor().
Referenced by cbm::algo::Reco::QueueEvbuildMetrics(), cbm::algo::Reco::QueueProcessingExtraMetrics(), cbm::algo::Reco::QueueProcessingMetrics(), cbm::algo::Reco::QueueStsRecoMetrics(), cbm::algo::Reco::QueueTofCalibMetrics(), cbm::algo::Reco::QueueTofRecoMetrics(), cbm::algo::Reco::QueueTrackingMetrics(), cbm::algo::Reco::QueueTrdRecoMetrics(), and cbm::algo::Reco::QueueUnpackerMetricsDet().
|
inlineinherited |
Definition at line 23 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::SubChain::GetMonitor(), cbm::algo::Reco::QueueEvbuildMetrics(), cbm::algo::Reco::QueueProcessingExtraMetrics(), cbm::algo::Reco::QueueProcessingMetrics(), cbm::algo::Reco::QueueStsRecoMetrics(), cbm::algo::Reco::QueueTofCalibMetrics(), cbm::algo::Reco::QueueTofRecoMetrics(), cbm::algo::Reco::QueueTrackingMetrics(), cbm::algo::Reco::QueueTrdRecoMetrics(), and cbm::algo::Reco::QueueUnpackerMetricsDet().
void Manager::Init | ( | ) |
Initializes the instance and sends the histogram and canvas configuration to the server.
Definition at line 22 of file QaManager.cxx.
|
inlineinherited |
Definition at line 20 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::Reco::Finalize(), cbm::algo::Reco::Init(), cbm::algo::tof::TrackingInterface::Init(), cbm::algo::TrackingChain::Init(), cbm::algo::V0FinderChain::Init(), cbm::algo::Reco::PrintTimings(), cbm::algo::Reco::QueueEvbuildMetrics(), cbm::algo::Reco::QueueProcessingExtraMetrics(), cbm::algo::Reco::QueueProcessingMetrics(), cbm::algo::Reco::QueueStsRecoMetrics(), cbm::algo::Reco::QueueTofCalibMetrics(), cbm::algo::Reco::QueueTofRecoMetrics(), cbm::algo::Reco::QueueTrackingMetrics(), cbm::algo::Reco::QueueTrdRecoMetrics(), cbm::algo::Reco::QueueUnpackerMetricsDet(), and cbm::algo::Reco::Run().
|
inlineinherited |
Definition at line 21 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::Reco::Init(), and cbm::algo::Reco::Run().
void Manager::SendHistograms | ( | ) |
Sends a collection of histograms to the server.
Definition at line 26 of file QaManager.cxx.
|
inlineinherited |
Definition at line 18 of file SubChain.h.
References cbm::algo::SubChain::fContext.
Referenced by cbm::algo::Reco::Init(), and cbm::algo::TrackingSetup::Init().
|
inline |
Sets a timeslice index.
timesliceId | A timeslice index |
Definition at line 53 of file QaManager.h.
References fpData.
|
privateinherited |
Definition at line 34 of file SubChain.h.
Referenced by cbm::algo::SubChain::GetContext(), cbm::algo::SubChain::GetMonitor(), cbm::algo::SubChain::HasMonitor(), cbm::algo::SubChain::Opts(), cbm::algo::SubChain::Params(), and cbm::algo::SubChain::SetContext().
Instance of QA Data.
Definition at line 57 of file QaManager.h.
Referenced by GetData(), Init(), SendHistograms(), and SetTimesliceId().
|
private |
Histogram sender.
Definition at line 56 of file QaManager.h.
Referenced by Init(), and SendHistograms().