Go to the documentation of this file.
8 #ifndef CBMMCBM2018SOURCE_H
9 #define CBMMCBM2018SOURCE_H
11 #include "MicrosliceDescriptor.hpp"
12 #include "Timeslice.hpp"
13 #include "TimesliceSource.hpp"
15 #include "FairSource.h"
18 #include "TObjString.h"
19 #include "TStopwatch.h"
24 #include <unordered_set>
66 fUnpackers.insert(std::pair<Int_t, CbmMcbmUnpack*>(flibId, unpacker));
88 std::multimap<Int_t, CbmMcbmUnpack*>
90 std::unordered_set<CbmMcbmUnpack*>
103 std::unique_ptr<fles::TimesliceSource>
fSource;
void SetHostName(TString name)
CbmMcbm2018Source operator=(const CbmMcbm2018Source &)=delete
Source_Type GetSourceType()
void SetSubscriberHwm(UInt_t val=1)
void AddUnpacker(CbmMcbmUnpack *unpacker, Int_t flibId, ECbmModuleId)
void AddFile(const char *name)
virtual Bool_t ReInitUnpackers()
std::unique_ptr< fles::TimesliceSource > fSource
void SetDataReductionMuch(UInt_t uTsReduction=15)
virtual void SetParUnpackers()
TProfile * fHistoMissedTSEvo
void SetFileName(TString name)
void SetWriteOutputFlag(Bool_t bFlagIn)
virtual ~CbmMcbm2018Source()
CbmMcbm2018Source(const CbmMcbm2018Source &source)=delete
UInt_t GetNofTSSinceLastTS()
Bool_t CheckTimeslice(const fles::Timeslice &ts)
UInt_t fTSNumber
List of all unpackers for which at least one matching container was found.
TClonesArray * fTimeSliceMetaDataArray
If ON the output TClonesArray of meta-data is written to disk.
virtual Bool_t InitUnpackers()
TList fInputFileList
List of input files.
std::unordered_set< CbmMcbmUnpack * > fUnpackersToRun
List pairs of system ID and unpacker pointer (unpacker can appear multiple times)
Bool_t fbWriteOutput
Output ClonesArray.
void SetInputDir(TString name)
void PrintMicroSliceDescriptor(const fles::MicrosliceDescriptor &mdsc)
std::multimap< Int_t, CbmMcbmUnpack * > fUnpackers