FairRoot/PandaRoot
PndBranchBurstBuilder_eventBased.h
Go to the documentation of this file.
1 /*
2  * PndBranchBurstBuilder_eb.h
3  *
4  * Created on: July 12, 2017
5  * Author: Steinschaden
6  *
7  */
8 
9  //* Task Class for building Bursts of events in the simulation.
10 // This Version combines a certain number of TTree entries ("Events") coming from an event based simulation/digitization to Burst of Events.
11 // As the Event based output, the data in the Bursts are not sorted in time!
12 // Between the output of the Bursts empty events are written to the output array.
13 
14 #ifndef PndBranchBurstBuilder_eventBased_H_
15 #define PndBranchBurstBuilder_eventBased_H_
16 
17 
18 #include "PndBranchBurstBuilder.h"
19 
20 
22 {
23 public:
24 
29 
30 
32  virtual InitStatus Init();
33 
34  //virtual void SetParContainers();
35  // virtual InitStatus ReInit();
36 
37 // Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the InputBranchName vector
38  virtual TClonesArray* GetBurstData(size_t branchNum);
39 
40 
42  // virtual void Exec(Option_t* opt);
43 
44 // virtual void ExecuteTask(Option_t *option="0");
45 // virtual void ExecuteTasks(Option_t *option);
46 
47 // virtual void FinishEvent();
48  virtual void FinishTask();
49 // virtual void Finish() { };
50 
51  void SetNEvents(int num){ fNEvents = num;};
52 
53 protected:
54 
55  int fNEvents;
56  std::vector<TClonesArray*> fTempArrays;
57 
59 
60 
61 };
62 
63 #endif /*PndBranchBurstBuilder_eventBased_H_*/
ClassDef(PndBranchBurstBuilder_eventBased, 0)
int num[96]
Definition: ranlxd.cxx:381
virtual TClonesArray * GetBurstData(size_t branchNum)