CbmRoot
|
#include <CbmUnpack.h>
Public Member Functions | |
CbmUnpack () | |
virtual | ~CbmUnpack ()=default |
CbmUnpack (const CbmUnpack &)=delete | |
CbmUnpack & | operator= (const CbmUnpack &)=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 | 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 monitoring of internal processes. 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 | AssignOutputVector (std::vector< T > &rVect) |
Output vector. More... | |
void | AssignErrorVector (std::vector< CbmErrorMessage > &rVect) |
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 = nullptr |
Parameter management. More... | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. More... | |
size_t | fuNbCoreMsPerTs |
List of components used in the TS, updated internaly by the Algos. More... | |
size_t | fuNbOverMsPerTs |
Number of Core MS in the TS. More... | |
size_t | fuNbMsLoop |
Number of Overlap MS at the end of the TS. More... | |
Bool_t | fbIgnoreOverlapMs |
Number of MS for the loop in each MS, updated internaly by the Algos to read OverMS or not. More... | |
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 = {} |
Vector of digis FIXME: check that the reference works as expected. More... | |
std::map< std::string, std::string > | fParameterMap |
Vector of error messages. More... | |
Definition at line 42 of file CbmUnpack.h.
Definition at line 44 of file CbmUnpack.h.
|
inline |
Definition at line 86 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllCanvasPointers.
|
inline |
For monitoring of internal processes.
Definition at line 79 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllHistoPointers.
|
inline |
Definition at line 96 of file CbmUnpack.h.
References CbmUnpack< T >::fErrVect.
|
inline |
|
inlineprotected |
Map of parameter name and type.
Definition at line 151 of file CbmUnpack.h.
|
pure virtual |
|
inline |
Definition at line 90 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllCanvasPointers.
|
inline |
Definition at line 83 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllHistoPointers.
|
inlinevirtual |
Definition at line 74 of file CbmUnpack.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Control flags.
Definition at line 103 of file CbmUnpack.h.
References CbmUnpack< T >::fbIgnoreOverlapMs.
|
inlinevirtual |
Definition at line 73 of file CbmUnpack.h.
|
protected |
Number of MS for the loop in each MS, updated internaly by the Algos to read OverMS or not.
Definition at line 119 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::SetIgnoreOverlapMs().
|
protected |
Vector of pointers to canvases + optional folder name.
Output vector
Definition at line 144 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AssignOutputVector().
|
protected |
Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice.
Definition at line 120 of file CbmUnpack.h.
|
protected |
Size of a single MS, [nanoseconds].
Definition at line 122 of file CbmUnpack.h.
|
protected |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 124 of file CbmUnpack.h.
|
protected |
Vector of digis FIXME: check that the reference works as expected.
Definition at line 145 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AssignErrorVector().
|
protected |
|
protected |
Parameter management.
Definition at line 109 of file CbmUnpack.h.
|
protected |
List of components used in the TS, updated internaly by the Algos.
Definition at line 114 of file CbmUnpack.h.
|
protected |
Number of Overlap MS at the end of the TS.
Definition at line 117 of file CbmUnpack.h.
|
protected |
Number of Core MS in the TS.
Definition at line 115 of file CbmUnpack.h.
|
protected |
Parameters related to FLES containers.
Definition at line 113 of file CbmUnpack.h.
|
protected |
Vector of pointers to histograms + optional folder name.
Definition at line 140 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AddCanvasToVector(), and CbmUnpack< T >::GetCanvasVector().
|
protected |
Total size of the core MS in a TS, [nanoseconds].
For monitoring of internal processes. => 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 138 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AddHistoToVector(), and CbmUnpack< T >::GetHistoVector().