FairRoot
|
#include <FairTimebasedMCHitSource.h>
Public Member Functions | |
FairTimebasedMCHitSource () | |
FairTimebasedMCHitSource (TString branchName, double holdTime=10.0) | |
virtual | ~FairTimebasedMCHitSource () |
virtual InitStatus | Init () |
virtual void | RetrieveData (double time) |
virtual int | GetNData () |
virtual TObject * | GetData (int index) |
virtual double | GetTime (int index) |
virtual void | Reset () |
void | SetHoldTime (double time) |
Public Member Functions inherited from FairDataSourceI | |
FairDataSourceI () | |
FairDataSourceI (TString branchName) | |
virtual | ~FairDataSourceI () |
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 |
Definition at line 19 of file FairTimebasedMCHitSource.h.
FairTimebasedMCHitSource::FairTimebasedMCHitSource | ( | ) |
Definition at line 14 of file FairTimebasedMCHitSource.cxx.
|
inline |
Definition at line 23 of file FairTimebasedMCHitSource.h.
|
virtual |
Definition at line 19 of file FairTimebasedMCHitSource.cxx.
|
inlinevirtual |
Implements FairDataSourceI.
Definition at line 35 of file FairTimebasedMCHitSource.h.
|
inlinevirtual |
Implements FairDataSourceI.
Definition at line 34 of file FairTimebasedMCHitSource.h.
|
inlinevirtual |
Reimplemented from FairDataSourceI.
Definition at line 36 of file FairTimebasedMCHitSource.h.
|
virtual |
Init has to be called in the Init() of a task to activate the read back of a TClonesArray
Reimplemented from FairDataSourceI.
Definition at line 24 of file FairTimebasedMCHitSource.cxx.
|
inlinevirtual |
Implements FairDataSourceI.
Definition at line 40 of file FairTimebasedMCHitSource.h.
|
virtual |
Deletes data which is older than time + holdTime and adds new data from input TClonesArray
time | Absolute time in ns which determines which data is deleted and which new event is read in |
Reimplemented from FairDataSourceI.
Definition at line 42 of file FairTimebasedMCHitSource.cxx.
|
inline |
Definition at line 41 of file FairTimebasedMCHitSource.h.