7#include <TimesliceAutoSource.hpp>
30 string sFile(fileName);
40 LOG(info) <<
"SourceTsArchive::Close() Let's hear some famous last words: ";
50 LOG(info) <<
"SourceTsArchive::Init() calling string constructor with ";
55 LOG(info) <<
"SourceTsArchive::Init() calling vector constructor with size ";
62 LOG(info) <<
"Source: Init done";
72 unique_ptr<Timeslice> ts;
76 LOG(info) <<
"SourceTsArchive: End of archive reached; stopping run.";
80 LOG(info) <<
"SourceTsArchive: Reading time slice " <<
fTsCounter <<
" (index " << ts->index() <<
")";
ClassImp(CbmConverterManager)
void Finish()
Actions at the end of the run.
void Unpack(std::unique_ptr< fles::Timeslice > ts)
Trigger the unpacking procedure.
Bool_t Init()
Initialisation.
Source class for reading from archived time slice data.
bool fDoDebugPrints
Flag if extended debug output is to be printed or not.
size_t AddInputFile(const char *fileName)
Add an input file.
fles::TimesliceSource * fTsSource
Int_t ReadEvent(UInt_t=0)
Read one time slice from file.
std::vector< std::string > fFileNames
CbmSourceTsArchive(const char *fileName="")
Constructor.
virtual void Close()
Close source after end of run.
virtual Bool_t Init()
Initialisation.