9#include <TimesliceSource.hpp>
11#include <FairSource.h>
85 virtual Bool_t
Init();
120 std::unique_ptr<fles::Timeslice>
fFlesTs =
nullptr;
Source class for reading from archived time slice data.
virtual ~CbmSourceTs()
Destructor.
CbmSourceTs & operator=(const CbmSourceTs &)=delete
Assignment operator - not implemented.
virtual void SetParUnpackers()
Demanded by base class.
virtual Bool_t Init()
Initialisation.
virtual Bool_t ReInitUnpackers()
Demanded by base class.
virtual void Close()
Demanded by base class.
fles::Timeslice * GetTimeslice()
Pointer to current FLES timeslice.
CbmSourceTs(const char *fileName="")
Constructor.
size_t AddInputFile(const char *fileName)
Add an input file.
std::unique_ptr< fles::Timeslice > fFlesTs
virtual void Reset()
Demanded by base class.
virtual Source_Type GetSourceType()
Demanded by base class.
fles::TimesliceSource * fFlesSource
std::vector< std::string > fFileNames
virtual Int_t ReadEvent(UInt_t=0)
Read one time slice from file.
virtual Bool_t InitUnpackers()
Demanded by base class.
CbmSourceTs(const CbmSourceTs &)=delete
Copy constructor - not implemented.
CbmSourceTs(std::vector< std::string > fileNames)
Constructor.
size_t GetNumTs() const
Number of processed timeslices.
virtual Bool_t SpecifyRunId()
Demanded by base class.