FairRoot/PandaRoot
PndBranchBurstBuilder_timeCut.h
Go to the documentation of this file.
1 /*
2  * PndBranchBurstBuilder_timeCut.h
3  *
4  * Created on: July 12, 2017
5  * Author: Steinschaden
6  *
7  */
8 
9  //* Task Class for building Bursts of events in the time based simulation.
10 // This simple Burst builder combines the data of the continuos data stream within a certain time window into on Burst.
11 // Therefore it can only work on data sorted in time and is ignoring any kind of eventstructure from the simulation stage.
12 // and the Input braches containing the Hits from the digitization are not useable after the burst builder Task anymore!
13 // The Output Bursts are also sorted in time.
14 
15 #ifndef PndBranchBurstBuilder_timeCut_H_
16 #define PndBranchBurstBuilder_timeCut_H_
17 
18 
19 #include "PndBranchBurstBuilder.h"
20 #include "FairTSBufferFunctional.h"
21 
22 
23 
24 
26 {
27 public:
28 
33 
34 
36  virtual InitStatus Init();
37 
38  //virtual void SetParContainers();
39  // virtual InitStatus ReInit();
40 
41 // Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the InputBranchName vector
42  virtual TClonesArray* GetBurstData(size_t branchNum);
43 
44 void SetTimePeriod (double val){fTimePeriod = val;};
46  // virtual void Exec(Option_t* opt);
47 
48 // virtual void ExecuteTask(Option_t *option="0");
49 // virtual void ExecuteTasks(Option_t *option);
50 
51 // virtual void FinishEvent();
52 // virtual void FinishTask();
53 // virtual void Finish() { };
54 
55 protected:
56 
57  double fTimePeriod;
58  BinaryFunctor* fStopFunctor;
59 
61 
62 
63 };
64 
65 #endif /*PndBranchBurstBuilder_timeCut_H_*/
virtual TClonesArray * GetBurstData(size_t branchNum)
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
ClassDef(PndBranchBurstBuilder_timeCut, 0)