#include <FairTimebasedDataHandlerT.h>
template<class T>
class FairTimebasedDataHandlerT< T >
Definition at line 26 of file FairTimebasedDataHandlerT.h.
template<class T >
void FairTimebasedDataHandlerT< T >::FillTClonesArray |
( |
TClonesArray * |
inputArray, |
|
|
int |
evtIndex, |
|
|
double |
t0Event, |
|
|
double |
t0Current |
|
) |
| |
|
inline |
Removes old data from the container and adds new data from the input TClonesArray and combines it with the event time
- Parameters
-
inputArray | : TClonesArray which holds the input data (stored class has to be of type FairHit FairMCPoint or has a GetTime() method) |
evtIndex | : event number determines if the TClonesArray is already in the array or needs to be filled into it |
t0Event | : event time in ns which is added to the relative time of the data objects |
t0Current | : current simulated time in ns which determines which data is removed from the container |
Definition at line 66 of file FairTimebasedDataHandlerT.h.
Removes data which fulfills the condition (obj. relative time + event time + hold time < newT0Time)
- Parameters
-
currentTime | : time in ns which determines the events to be removed |
Definition at line 92 of file FairTimebasedDataHandlerT.h.
The documentation for this class was generated from the following file: