FairRoot
|
Abstract interface class to handle different input data for event and timebased data. More...
#include <FairDataSourceI.h>
Public Member Functions | |
FairDataSourceI () | |
FairDataSourceI (TString branchName) | |
virtual | ~FairDataSourceI () |
virtual InitStatus | Init () |
virtual void | RetrieveData (double time) |
virtual int | GetNData ()=0 |
virtual TObject * | GetData (int index)=0 |
virtual double | GetTime (int index) |
virtual TString | GetBranchName () const |
virtual void | Reset ()=0 |
Protected Member Functions | |
ClassDef (FairDataSourceI, 1) | |
Protected Attributes | |
TClonesArray * | fCArray = nullptr |
TString | fBranchName |
Abstract interface class to handle different input data for event and timebased data.
Definition at line 21 of file FairDataSourceI.h.
FairDataSourceI::FairDataSourceI | ( | ) |
Definition at line 16 of file FairDataSourceI.cxx.
|
inline |
Definition at line 25 of file FairDataSourceI.h.
|
virtual |
Definition at line 21 of file FairDataSourceI.cxx.
|
protected |
|
inlinevirtual |
Definition at line 45 of file FairDataSourceI.h.
|
pure virtual |
Implemented in FairTimebasedMCHitSource, FairTimebasedMCSource, FairTimebasedSource, and FairTCASource.
|
pure virtual |
Implemented in FairTimebasedMCHitSource, FairTimebasedMCSource, FairTimebasedSource, and FairTCASource.
|
inlinevirtual |
Reimplemented in FairTimebasedMCHitSource, FairTimebasedMCSource, FairTimebasedSource, and FairTCASource.
Definition at line 44 of file FairDataSourceI.h.
|
virtual |
Init has to be called in the Init() of a task to activate the read back of a TClonesArray
Reimplemented in FairTimebasedMCHitSource, and FairTimebasedMCSource.
Definition at line 26 of file FairDataSourceI.cxx.
|
pure virtual |
Implemented in FairTCASource, FairTimebasedMCHitSource, FairTimebasedMCSource, and FairTimebasedSource.
|
inlinevirtual |
Has to be called at the beginning of an Execute to handle the input data.
time | Absolute time in ns which is active at the current event. This data is needed for the timebased input data. For event based data the time is ignored |
Reimplemented in FairTimebasedMCHitSource, FairTimebasedMCSource, and FairTimebasedSource.
Definition at line 38 of file FairDataSourceI.h.
|
protected |
Definition at line 50 of file FairDataSourceI.h.
|
protected |
Definition at line 49 of file FairDataSourceI.h.