11#include <FairSource.h>
56 virtual Bool_t
Init();
87 std::unique_ptr<cbm::algo::RecoResultsInputArchive>
fArchive =
nullptr;
90 std::vector<CbmDigiEvent>*
fEvents =
nullptr;
Source class for reading from files resulting from online processing (containing DigiEvents)
virtual void Close()
Close source after end of run.
std::string fInputFileName
void SetSourceType(Source_Type type)
Set the Source Type.
CbmSourceDigiEvents(const char *fileName="")
Constructor.
CbmSourceDigiEvents & operator=(const CbmSourceDigiEvents &)=delete
Assignment operator - not implemented.
virtual void Reset()
Reset (forced by base class, not relevant here)
virtual Bool_t Init()
Initialisation.
std::unique_ptr< cbm::algo::RecoResultsInputArchive > fArchive
virtual void SetParUnpackers()
Set unpacker parameters (forced by base class, not relevant here)
Bool_t SpecifyRunId()
Set Run ID (forced by base class, not relevant here)
Source_Type fSourceType
type of source that is currently used
virtual Bool_t InitUnpackers()
Initialise unpackers (forced by base class, not relevant here)
CbmSourceDigiEvents(const CbmSourceDigiEvents &)=delete
Copy constructor - not implemented.
virtual Source_Type GetSourceType()
Source type.
Int_t ReadEvent(UInt_t=0)
Read one time slice from file.
std::vector< CbmDigiEvent > * fEvents
virtual Bool_t ReInitUnpackers()
Re-Initialise unpackers (forced by base class, not relevant here)
virtual ~CbmSourceDigiEvents()
Destructor.