5#ifndef CBMSOURCETSARCHIVE_H
6#define CBMSOURCETSARCHIVE_H 1
10#include <TimesliceSource.hpp>
12#include <FairSource.h>
90 virtual Bool_t
Init();
Main steering class for unpacking in cbmroot.
void Reset()
Clear the output vectors as preparation of the next timeslice. Called via FairSource::Reset()
Source class for reading from archived time slice data.
virtual Bool_t InitUnpackers()
Initialise unpackers (forced by base class)
Bool_t SpecifyRunId()
Provide dummy implementation of this virtual function as not relevant in our case.
virtual ~CbmSourceTsArchive()
Destructor.
bool fDoDebugPrints
Flag if extended debug output is to be printed or not.
void SetSourceType(Source_Type type)
Set the Source Type.
size_t AddInputFile(const char *fileName)
Add an input file.
fles::TimesliceSource * fTsSource
CbmSourceTsArchive(const CbmSourceTsArchive &)=delete
Copy constructor - not implemented.
Int_t ReadEvent(UInt_t=0)
Read one time slice from file.
virtual void SetParUnpackers()
Set unpacker parameters (forced by base class)
CbmSourceTsArchive & operator=(const CbmSourceTsArchive &)=delete
Assignment operator - not implemented.
Source_Type fSourceType
type of source that is currently used
std::vector< std::string > fFileNames
CbmRecoUnpack * GetRecoUnpack()
Get the Reco Unpack Access the CbmRecoUnpack class to add unpacker configs.
virtual Source_Type GetSourceType()
Source type.
virtual Bool_t ReInitUnpackers()
Re-Initialise unpackers (forced by base class)
CbmSourceTsArchive(const char *fileName="")
Constructor.
virtual void Close()
Close source after end of run.
virtual void Reset()
Reset clear the output vectors as preparation for the next timeslice. Forwarded to CbmRecoUnpack.
void SetDebugPrintout(bool value=true)
Set the Debug Printout Flag.
virtual Bool_t Init()
Initialisation.