PandaRoot
PndBranchBurstBuilder_timeCut_STB.h
Go to the documentation of this file.
1 
19 #pragma once
20 
21 #include "PndBranchBurstBuilder.h"
22 #include "TClonesArray.h"
23 
24 #include <vector>
25 
26 
28  public:
33 
35  virtual InitStatus Init();
36 
38  virtual TClonesArray *GetBurstData(size_t branchNum);
39 
40  void SetTimePeriod(double val) { fTimePeriod = val; }
41 
42 
43  virtual void FinishTask();
44  // virtual void Finish() { };
45 
46  protected:
47  double fTimePeriod;
48  double fBurstNum;
49  bool fWriteOut;
50  std::vector<TClonesArray *> fTempArrays;
51 
53 };
54 
virtual TClonesArray * GetBurstData(size_t branchNum)
Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the ...
Task Class for building Bursts of events in the simulation.
ClassDef(PndBranchBurstBuilder_timeCut_STB, 0)
Basic Class for building bursts of events in the simulation.