|
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. | |
| void | WriteHistograms (const std::string &filename, bool compress) const |
| Writes histograms. | |
| void | SetTimesliceTimeInRun (uint64_t timesliceTime) |
| Sets a timeslice start time relative to run start time. | |
| 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 20 of file QaManager.cxx.
References fpSender.
Referenced by Manager(), Manager(), operator=(), and operator=().
|
default |
Destructor.
|
inlineinherited |
Definition at line 16 of file SubChain.h.
References fContext.
|
inline |
|
inlineinherited |
Definition at line 25 of file SubChain.h.
References fContext, and 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 fContext.
Referenced by 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 24 of file QaManager.cxx.
Copy assignment operator.
References Manager().
Move assignment operator.
References Manager().
|
inlineinherited |
Definition at line 20 of file SubChain.h.
References fContext.
Referenced by cbm::algo::Reco::Finalize(), cbm::algo::Reco::Init(), cbm::algo::TrackingChain::Init(), cbm::algo::sts::HitfinderChain::operator()(), 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(), cbm::algo::Reco::Run(), and cbm::algo::Reco::Validate().
|
inlineinherited |
Definition at line 21 of file SubChain.h.
References fContext.
Referenced by cbm::algo::Reco::Init(), cbm::algo::sts::HitfinderChain::operator()(), and cbm::algo::Reco::Run().
| void Manager::SendHistograms | ( | ) |
Sends a collection of histograms to the server.
Definition at line 28 of file QaManager.cxx.
|
inlineinherited |
Definition at line 18 of file SubChain.h.
References fContext.
Referenced by cbm::algo::Reco::Init().
|
inline |
Sets a timeslice index.
| timesliceId | A timeslice index |
Definition at line 53 of file QaManager.h.
References fpData.
|
inline |
Sets a timeslice start time relative to run start time.
| timesliceTime | Timeslice start time relative to run start time, in seconds |
Definition at line 65 of file QaManager.h.
References fpData.
| void Manager::WriteHistograms | ( | const std::string & | filename, |
| bool | compress ) const |
Writes histograms.
| filename | Name of the output file |
| compress | Use a compression |
Definition at line 32 of file QaManager.cxx.
|
privateinherited |
Definition at line 34 of file SubChain.h.
Referenced by GetContext(), GetMonitor(), HasMonitor(), Opts(), Params(), and SetContext().
Instance of QA Data.
Definition at line 69 of file QaManager.h.
Referenced by GetData(), Init(), SendHistograms(), SetTimesliceId(), SetTimesliceTimeInRun(), and WriteHistograms().
|
private |
Histogram sender.
Definition at line 68 of file QaManager.h.
Referenced by Init(), Manager(), SendHistograms(), and WriteHistograms().