11 #ifndef EVENTDISPLAY_FAIRDATASOURCEI_H_
12 #define EVENTDISPLAY_FAIRDATASOURCEI_H_
16 #include <TClonesArray.h>
19 #include <fairlogger/Logger.h>
40 LOG(debug) <<
"Retrieving Data for " <<
fBranchName <<
" for time " << time <<
" ns - nData = " <<
GetNData();
43 virtual TObject*
GetData(
int index) = 0;
44 virtual double GetTime(
int index) {
return -1.0; };
46 virtual void Reset() = 0;
ClassDef(FairDataSourceI, 1)
virtual InitStatus Init()
virtual ~FairDataSourceI()
virtual void RetrieveData(double time)
virtual double GetTime(int index)
virtual TObject * GetData(int index)=0
Abstract interface class to handle different input data for event and timebased data.
FairDataSourceI(TString branchName)
virtual TString GetBranchName() const