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. | |
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. | |
void | AssignErrorVector (std::vector< CbmErrorMessage > &rVect) |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. | |
Protected Attributes | |
TList * | fParCList = nullptr |
Parameter management. | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. | |
size_t | fuNbCoreMsPerTs |
List of components used in the TS, updated internaly by the Algos. | |
size_t | fuNbOverMsPerTs |
Number of Core MS in the TS. | |
size_t | fuNbMsLoop |
Number of Overlap MS at the end of the TS. | |
Bool_t | fbIgnoreOverlapMs |
Number of MS for the loop in each MS, updated internaly by the Algos to read OverMS or not. | |
Double_t | fdMsSizeInNs |
Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice. | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. | |
std::vector< T > & | fDigiVect |
Vector of pointers to canvases + optional folder name. | |
std::vector< CbmErrorMessage > & | fErrVect = {} |
Vector of digis FIXME: check that the reference works as expected. | |
std::map< std::string, std::string > | fParameterMap |
Vector of error messages. | |
Definition at line 47 of file CbmUnpack.h.
|
inline |
Definition at line 49 of file CbmUnpack.h.
|
delete |
|
inline |
Definition at line 87 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllCanvasPointers.
|
inline |
For monitoring of internal processes.
Definition at line 82 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllHistoPointers.
|
inline |
Definition at line 95 of file CbmUnpack.h.
References CbmUnpack< T >::fErrVect.
|
inline |
|
inlineprotected |
Map of parameter name and type.
Definition at line 139 of file CbmUnpack.h.
|
pure virtual |
|
inline |
Definition at line 91 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllCanvasPointers.
|
inline |
Definition at line 86 of file CbmUnpack.h.
References CbmUnpack< T >::fvpAllHistoPointers.
|
inlinevirtual |
Definition at line 79 of file CbmUnpack.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Control flags.
Definition at line 100 of file CbmUnpack.h.
References CbmUnpack< T >::fbIgnoreOverlapMs.
|
inlinevirtual |
Definition at line 78 of file CbmUnpack.h.
Number of MS for the loop in each MS, updated internaly by the Algos to read OverMS or not.
Definition at line 111 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::SetIgnoreOverlapMs().
|
protected |
Vector of pointers to canvases + optional folder name.
Output vector
Definition at line 133 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AssignOutputVector().
|
protected |
Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice.
Definition at line 112 of file CbmUnpack.h.
|
protected |
Size of a single MS, [nanoseconds].
Definition at line 113 of file CbmUnpack.h.
|
protected |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 114 of file CbmUnpack.h.
|
protected |
Vector of digis FIXME: check that the reference works as expected.
Definition at line 134 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AssignErrorVector().
|
protected |
|
protected |
Parameter management.
Definition at line 104 of file CbmUnpack.h.
|
protected |
List of components used in the TS, updated internaly by the Algos.
Definition at line 108 of file CbmUnpack.h.
|
protected |
Number of Overlap MS at the end of the TS.
Definition at line 110 of file CbmUnpack.h.
|
protected |
Number of Core MS in the TS.
Definition at line 109 of file CbmUnpack.h.
|
protected |
Parameters related to FLES containers.
Definition at line 107 of file CbmUnpack.h.
|
protected |
Vector of pointers to histograms + optional folder name.
Definition at line 130 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 128 of file CbmUnpack.h.
Referenced by CbmUnpack< T >::AddHistoToVector(), and CbmUnpack< T >::GetHistoVector().