CbmRoot
|
QA for CbmDigiEvent objects. More...
#include <DigiEventQa.h>
Public Member Functions | |
DigiEventQa (const DigiEventQaConfig &config) | |
Constructor. | |
virtual | ~DigiEventQa ()=default |
Destructor. | |
DigiEventQaData | operator() (const std::vector< DigiEvent > &events) const |
Execution. | |
std::string | ToString () const |
Info to string. | |
const DigiEventQaConfig & | GetConfig () const |
Const access to Qa config. | |
Private Member Functions | |
template<class Digi > | |
void | FillDeltaT (gsl::span< const Digi > digis, double eventTime, qa::H1D *histo) const |
Fill histogram with digi time within event. | |
void | QaDigiTimeInEvent (const DigiEvent &event, ECbmModuleId system, qa::H1D *histo) const |
Fill histogram with digi time within event. | |
Private Attributes | |
DigiEventQaConfig | fConfig |
|
inline |
Constructor.
Definition at line 117 of file DigiEventQa.h.
|
virtualdefault |
Destructor.
|
inlineprivate |
Fill histogram with digi time within event.
digis | Vector with digi objects |
eventTime | Time of event |
histo | Histogram to be filled |
The templated class is required to implement the method double GetTime().
Definition at line 144 of file DigiEventQa.h.
References cbm::algo::qa::H1D::Fill().
Referenced by QaDigiTimeInEvent().
|
inline |
Const access to Qa config.
Definition at line 132 of file DigiEventQa.h.
References fConfig.
Referenced by cbm::algo::evbuild::EventbuildChain::EventbuildChain().
DigiEventQaData cbm::algo::evbuild::DigiEventQa::operator() | ( | const std::vector< DigiEvent > & | events | ) | const |
Execution.
events | Vector of DigiEvents to analyse |
Definition at line 23 of file DigiEventQa.cxx.
References fConfig, cbm::algo::evbuild::DigiEventQaConfig::fData, cbm::algo::evbuild::DigiEventQaData::fDigiTimeHistos, cbm::algo::evbuild::DigiEventQaData::fHistContainer, cbm::algo::evbuild::DigiEventQaData::fNumEvents, cbm::algo::qa::HistogramContainer::fvH1, cbm::algo::evbuild::DigiEventQaConfig::GetDigiTimeHistoName(), and QaDigiTimeInEvent().
|
private |
Fill histogram with digi time within event.
digis | Vector with digi objects |
eventTime | Time of event |
histo | Histogram to be filled |
Definition at line 49 of file DigiEventQa.cxx.
References cbm::algo::DigiData::fBmon, cbm::algo::DigiData::fFsd, FillDeltaT(), cbm::algo::DigiData::fMuch, cbm::algo::DigiData::fPsd, cbm::algo::DigiData::fRich, cbm::algo::DigiData::fSts, cbm::algo::DigiEvent::fTime, cbm::algo::DigiData::fTof, cbm::algo::DigiData::fTrd, cbm::algo::DigiData::fTrd2d, kBmon, kFsd, kMuch, kPsd, kRich, kSts, kTof, kTrd, and kTrd2d.
Referenced by operator()().
std::string cbm::algo::evbuild::DigiEventQa::ToString | ( | ) | const |
Info to string.
Definition at line 69 of file DigiEventQa.cxx.
References fConfig, cbm::algo::evbuild::DigiEventQaConfig::fData, and ToString().
Referenced by cbm::algo::evbuild::EventbuildChain::Status(), and ToString().
|
private |
Definition at line 159 of file DigiEventQa.h.
Referenced by GetConfig(), operator()(), and ToString().