CbmRoot
|
#include <CbmStar2019Algo.h>
Public Member Functions | |
CbmStar2019Algo () | |
virtual | ~CbmStar2019Algo ()=default |
CbmStar2019Algo (const CbmStar2019Algo &)=delete | |
CbmStar2019Algo & | operator= (const CbmStar2019Algo &)=delete |
virtual Bool_t | Init ()=0 |
virtual void | Reset ()=0 |
virtual void | Finish ()=0 |
virtual Bool_t | ProcessTs (const fles::Timeslice &ts)=0 |
virtual Bool_t | ProcessTs (const fles::Timeslice &ts, size_t component)=0 |
virtual Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)=0 |
virtual Bool_t | InitContainers ()=0 |
virtual Bool_t | ReInitContainers ()=0 |
virtual TList * | GetParList ()=0 |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. More... | |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
void | ClearVector () |
For unpacker algos. More... | |
std::vector< T > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. More... | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. More... | |
Protected Attributes | |
TList * | fParCList |
Parameter management. More... | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. More... | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
size_t | fuNbMsLoop |
Bool_t | fbIgnoreOverlapMs |
Double_t | fdMsSizeInNs |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ More... | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. More... | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. More... | |
std::vector< T > | fDigiVect |
Vector of pointers to canvases + optional folder name. More... | |
std::vector< CbmErrorMessage > | fErrVect = {} |
std::map< std::string, std::string > | fParameterMap |
For any algo. More... | |
Definition at line 43 of file CbmStar2019Algo.h.
|
inline |
Definition at line 45 of file CbmStar2019Algo.h.
|
virtualdefault |
|
delete |
|
inline |
Definition at line 87 of file CbmStar2019Algo.h.
|
inline |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
|
inlineprotected |
Map of parameter name and type.
Definition at line 147 of file CbmStar2019Algo.h.
|
inline |
Definition at line 98 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018UnpackerTaskHodo::DoUnpack(), CbmMcbm2018UnpackerTaskSts::Reset(), and CbmMcbm2018UnpackerTaskMuch::Reset().
|
inline |
For unpacker algos.
Definition at line 96 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorTaskPsd::DoUnpack(), CbmMcbm2018MonitorTaskT0::DoUnpack(), CbmStar2019MonitorPulserTask::DoUnpack(), CbmStar2019MonitorTask::DoUnpack(), CbmMcbm2018MonitorTaskTof::DoUnpack(), CbmMcbm2018MonitorTaskTofPulser::DoUnpack(), CbmMcbm2018UnpackerTaskTof::DoUnpack(), CbmMcbm2018UnpackerTaskHodo::DoUnpack(), CbmDeviceMonitorT0::DoUnpack(), CbmDeviceMonitorTof::DoUnpack(), CbmDeviceUnpackTofMcbm2018::DoUnpack(), CbmMcbm2018UnpackerTaskRich::Reset(), CbmMcbm2018UnpackerTaskPsd::Reset(), CbmMcbm2018UnpackerTaskMuch::Reset(), and CbmMcbm2018UnpackerTaskSts::Reset().
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
inline |
Definition at line 91 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers(), CbmStar2019MonitorTask::InitContainers(), CbmMcbm2018MonitorTaskT0::InitContainers(), CbmStar2019MonitorPulserTask::InitContainers(), CbmMcbm2018MonitorTaskHodo::InitContainers(), CbmMcbm2018MonitorTaskTof::InitContainers(), CbmMcbm2018MonitorTaskTofPulser::InitContainers(), CbmMcbm2018UnpackerTaskRich::InitContainers(), CbmStar2019EventBuilderEtof::InitContainers(), CbmDeviceMonitorT0::InitContainers(), CbmDeviceMonitorTof::InitContainers(), CbmMcbm2018MonitorTaskTofPulser::SaveHistograms(), CbmStar2019MonitorPulserTask::SaveHistograms(), CbmMcbm2018MonitorTaskTof::SaveHistograms(), CbmStar2019MonitorTask::SaveHistograms(), CbmMcbm2018MonitorTaskHodo::SaveHistograms(), and CbmStar2019EventBuilderEtof::SaveHistograms().
|
inline |
Definition at line 99 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018UnpackerTaskHodo::DoUnpack(), CbmMcbm2018UnpackerTaskSts::Init(), and CbmMcbm2018UnpackerTaskMuch::Init().
|
inline |
Definition at line 84 of file CbmStar2019Algo.h.
Referenced by CbmDeviceEventBuilderEtofStar2019::Finish(), CbmMcbm2018MonitorTaskPsd::Finish(), CbmMcbm2018MonitorTaskT0::Finish(), CbmMcbm2018UnpackerTaskRich::Finish(), CbmMcbm2018UnpackerTaskTof::Finish(), CbmMcbm2018UnpackerTaskPsd::Finish(), CbmMcbm2018UnpackerTaskHodo::Finish(), CbmMcbm2018UnpackerTaskMuch::Finish(), CbmMcbm2018UnpackerTaskSts::Finish(), CbmMcbm2018UnpackerTaskTrdR::Finish(), CbmDeviceEventBuilderEtofStar2019::InitContainers(), CbmMcbm2018MonitorTaskPsd::InitContainers(), CbmStar2019MonitorTask::InitContainers(), CbmMcbm2018MonitorTaskT0::InitContainers(), CbmStar2019MonitorPulserTask::InitContainers(), CbmMcbm2018MonitorTaskHodo::InitContainers(), CbmMcbm2018MonitorTaskTof::InitContainers(), CbmMcbm2018MonitorTaskTofPulser::InitContainers(), CbmMcbm2018UnpackerTaskRich::InitContainers(), CbmMcbm2018UnpackerTaskTof::InitContainers(), CbmMcbm2018UnpackerTaskPsd::InitContainers(), CbmMcbm2018UnpackerTaskMuch::InitContainers(), CbmMcbm2018UnpackerTaskSts::InitContainers(), CbmMcbm2018UnpackerTaskHodo::InitContainers(), CbmStar2019EventBuilderEtof::InitContainers(), CbmMcbm2018UnpackerTaskTrdR::InitContainers(), CbmDeviceMonitorT0::InitContainers(), CbmDeviceMonitorTof::InitContainers(), CbmMcbm2018MonitorTaskTofPulser::SaveHistograms(), CbmStar2019MonitorPulserTask::SaveHistograms(), CbmMcbm2018MonitorTaskTof::SaveHistograms(), CbmStar2019MonitorTask::SaveHistograms(), CbmMcbm2018MonitorTaskHodo::SaveHistograms(), and CbmStar2019EventBuilderEtof::SaveHistograms().
|
inlinevirtual |
Definition at line 75 of file CbmStar2019Algo.h.
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
inline |
Definition at line 97 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorTaskPsd::DoUnpack(), CbmStar2019MonitorTask::DoUnpack(), CbmMcbm2018MonitorTaskT0::DoUnpack(), CbmStar2019MonitorPulserTask::DoUnpack(), CbmMcbm2018MonitorTaskTof::DoUnpack(), CbmMcbm2018MonitorTaskTofPulser::DoUnpack(), CbmMcbm2018UnpackerTaskTof::DoUnpack(), CbmMcbm2018UnpackerTaskHodo::DoUnpack(), CbmDeviceUnpackTofMcbm2018::DoUnpack(), CbmMcbm2018UnpackerTaskRich::Init(), CbmMcbm2018UnpackerTaskPsd::Init(), CbmMcbm2018UnpackerTaskMuch::Init(), and CbmMcbm2018UnpackerTaskSts::Init().
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
delete |
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, CbmMcbm2018UnpackerAlgoPsd, and CbmMcbm2018UnpackerAlgoRich.
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
pure virtual |
Implemented in CbmMcbm2018UnpackerAlgoRich, CbmMcbm2018UnpackerAlgoTrdR, CbmMcbm2018UnpackerAlgoMuch, CbmMcbm2018UnpackerAlgoSts, CbmMcbm2018MonitorAlgoHodo, CbmMcbm2018UnpackerAlgoHodo, CbmMcbm2018MonitorAlgoT0, CbmMcbm2018UnpackerAlgoTof, CbmMcbm2018MonitorAlgoPsd, CbmMcbm2018MonitorAlgoTof, CbmMcbm2018MonitorAlgoTofPulser, CbmStar2019EventBuilderEtofAlgo, CbmStar2019MonitorAlgo, CbmStar2019MonitorPulserAlgo, and CbmMcbm2018UnpackerAlgoPsd.
|
inline |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
Referenced by CbmDeviceMonitorT0::InitContainers(), CbmDeviceMonitorTof::InitContainers(), CbmStar2019MonitorPulserTask::SetIgnoreOverlapMs(), CbmMcbm2018MonitorTaskTofPulser::SetIgnoreOverlapMs(), CbmMcbm2018MonitorTaskPsd::SetIgnoreOverlapMs(), CbmMcbm2018MonitorTaskHodo::SetIgnoreOverlapMs(), CbmMcbm2018MonitorTaskT0::SetIgnoreOverlapMs(), CbmStar2019MonitorTask::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskRich::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskTof::SetIgnoreOverlapMs(), CbmMcbm2018MonitorTaskTof::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskPsd::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskSts::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskHodo::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskMuch::SetIgnoreOverlapMs(), CbmMcbm2018UnpackerTaskTrdR::SetIgnoreOverlapMs(), and CbmDeviceUnpackTofMcbm2018::SetIgnoreOverlapMs().
|
inlinevirtual |
Definition at line 74 of file CbmStar2019Algo.h.
|
protected |
Definition at line 116 of file CbmStar2019Algo.h.
Referenced by CbmStar2019Algo< CbmTrdDigi >::SetIgnoreOverlapMs().
|
protected |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 140 of file CbmStar2019Algo.h.
Referenced by CbmStar2019Algo< CbmTrdDigi >::ClearVector(), and CbmStar2019Algo< CbmTrdDigi >::GetVector().
|
protected |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 117 of file CbmStar2019Algo.h.
|
protected |
Size of a single MS, [nanoseconds].
Definition at line 119 of file CbmStar2019Algo.h.
|
protected |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 121 of file CbmStar2019Algo.h.
|
protected |
Definition at line 141 of file CbmStar2019Algo.h.
Referenced by CbmStar2019Algo< CbmTrdDigi >::ClearErrorVector(), and CbmStar2019Algo< CbmTrdDigi >::GetErrorVector().
|
protected |
For any algo.
Definition at line 145 of file CbmStar2019Algo.h.
|
protected |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
protected |
Definition at line 112 of file CbmStar2019Algo.h.
|
protected |
Definition at line 114 of file CbmStar2019Algo.h.
|
protected |
Definition at line 113 of file CbmStar2019Algo.h.
|
protected |
Parameters related to FLES containers.
Definition at line 111 of file CbmStar2019Algo.h.
|
protected |
Vector of pointers to histograms + optional folder name.
Definition at line 137 of file CbmStar2019Algo.h.
Referenced by CbmStar2019Algo< CbmTrdDigi >::AddCanvasToVector(), and CbmStar2019Algo< CbmTrdDigi >::GetCanvasVector().
|
protected |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 135 of file CbmStar2019Algo.h.
Referenced by CbmStar2019Algo< CbmTrdDigi >::AddHistoToVector(), and CbmStar2019Algo< CbmTrdDigi >::GetHistoVector().