Go to the documentation of this file.
9 #ifndef CbmStar2019Algo_H
10 #define CbmStar2019Algo_H
15 #include "Timeslice.hpp"
21 #include <boost/any.hpp>
35 if (
auto q = boost::any_cast<T>(&varValue))
66 virtual Bool_t
ProcessTs(
const fles::Timeslice& ts) = 0;
67 virtual Bool_t
ProcessTs(
const fles::Timeslice& ts,
size_t component) = 0;
69 ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx) = 0;
76 return std::string {
""};
82 std::pair<TNamed*, std::string>(pointer, sFolder));
89 std::pair<TCanvas*, std::string>(pointer, sFolder));
134 std::vector<std::pair<TNamed*, std::string>>
136 std::vector<std::pair<TCanvas*, std::string>>
144 std::map<std::string, std::string>
std::vector< std::pair< TNamed *, std::string > > fvpAllHistoPointers
Total size of the core MS in a TS, [nanoseconds].
Double_t fdMsSizeInNs
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
virtual std::string GetParameter(std::string)
std::vector< std::pair< TCanvas *, std::string > > GetCanvasVector()
Bool_t CheckParameterValidity(std::string, std::string)
Map of parameter name and type.
std::vector< std::pair< TNamed *, std::string > > GetHistoVector()
virtual ~CbmStar2019Algo()=default
std::vector< CbmErrorMessage > fErrVect
virtual void SetParameter(std::string)
std::vector< CbmErrorMessage > & GetErrorVector()
std::vector< T > & GetVector()
std::vector< std::pair< TCanvas *, std::string > > fvpAllCanvasPointers
Vector of pointers to histograms + optional folder name.
virtual Bool_t ProcessTs(const fles::Timeslice &ts, size_t component)=0
void AddHistoToVector(TNamed *pointer, std::string sFolder="")
For monitor algos.
std::map< std::string, std::string > fParameterMap
For any algo.
Double_t fdTsFullSizeInNs
Total size of the core MS in a TS, [nanoseconds].
TList * fParCList
Parameter management.
virtual Bool_t ReInitContainers()=0
std::vector< size_t > fvMsComponentsList
Parameters related to FLES containers.
virtual Bool_t InitContainers()=0
virtual Bool_t ProcessTs(const fles::Timeslice &ts)=0
bool is_this_type(const boost::any &varValue)
CbmStar2019Algo & operator=(const CbmStar2019Algo &)=delete
CbmStar2019Algo(const CbmStar2019Algo &)=delete
Double_t fdTsCoreSizeInNs
Size of a single MS, [nanoseconds].
std::vector< T > fDigiVect
Vector of pointers to canvases + optional folder name.
virtual Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)=0
void AddCanvasToVector(TCanvas *pointer, std::string sFolder="")
void ClearVector()
For unpacker algos.
virtual TList * GetParList()=0
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
Control flags.