FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTimebasedSource.cxx
Go to the documentation of this file.
1 /*
2  * FairTimebasedSource.cxx
3  *
4  * \date 07.12.2020
5  * \author Tobias Stockmanns <t.stockmanns@fz-juelich.de>
6  */
7 
8 #include <FairRootManager.h>
9 #include <FairTimebasedSource.h>
10 
12 
14 {
15  // TODO Auto-generated constructor stub
16 }
17 
19 {
20  delete (fStartFunctor);
21  delete (fStopFunctor);
22 }
23 
25 {
27  fBranchName, fStartFunctor, time - fTimeWindowMinus, fStopFunctor, time + fTimeWindowPlus);
29 }
TClonesArray * fCArray
virtual void RetrieveData(double time)
static FairRootManager * Instance()
ClassImp(FairEventBuilder)
Handles timebased data via the GetData method. A time window has to be given in which the data is rec...
TClonesArray * GetData(TString branchName, BinaryFunctor *function, Double_t parameter)
virtual void RetrieveData(double time)