FairRoot
|
Handles timebased data via the GetData method. A time window has to be given in which the data is received. More...
#include <FairTimebasedSource.h>
Public Member Functions | |
FairTimebasedSource () | |
FairTimebasedSource (TString branchName, Double_t windowMinus, Double_t windowPlus) | |
virtual | ~FairTimebasedSource () |
virtual void | RetrieveData (double time) |
virtual int | GetNData () |
virtual TObject * | GetData (int index) |
virtual double | GetTime (int index) |
virtual void | Reset () |
Public Member Functions inherited from FairDataSourceI | |
FairDataSourceI () | |
FairDataSourceI (TString branchName) | |
virtual | ~FairDataSourceI () |
virtual InitStatus | Init () |
virtual TString | GetBranchName () const |
Additional Inherited Members | |
Protected Member Functions inherited from FairDataSourceI | |
ClassDef (FairDataSourceI, 1) | |
Protected Attributes inherited from FairDataSourceI | |
TClonesArray * | fCArray = nullptr |
TString | fBranchName |
Handles timebased data via the GetData method. A time window has to be given in which the data is received.
Definition at line 17 of file FairTimebasedSource.h.
FairTimebasedSource::FairTimebasedSource | ( | ) |
Definition at line 13 of file FairTimebasedSource.cxx.
|
inline |
Definition at line 21 of file FairTimebasedSource.h.
|
virtual |
Definition at line 18 of file FairTimebasedSource.cxx.
|
inlinevirtual |
Implements FairDataSourceI.
Definition at line 29 of file FairTimebasedSource.h.
|
inlinevirtual |
Implements FairDataSourceI.
Definition at line 28 of file FairTimebasedSource.h.
|
inlinevirtual |
Reimplemented from FairDataSourceI.
Definition at line 30 of file FairTimebasedSource.h.
|
inlinevirtual |
Implements FairDataSourceI.
Definition at line 31 of file FairTimebasedSource.h.
|
virtual |
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 from FairDataSourceI.
Definition at line 24 of file FairTimebasedSource.cxx.