![]() |
PandaRoot
|
Task Class for building Bursts of events in the simulation. More...
#include <PndBranchBurstBuilder_eventBased.h>
Public Member Functions | |
PndBranchBurstBuilder_eventBased () | |
virtual | ~PndBranchBurstBuilder_eventBased () |
virtual InitStatus | Init () |
virtual TClonesArray * | GetBurstData (size_t branchNum) |
Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the InputBranchName vector. More... | |
virtual void | FinishTask () |
void | SetNEvents (int num) |
![]() | |
PndBranchBurstBuilder () | |
virtual | ~PndBranchBurstBuilder () |
virtual void | Exec (Option_t *opt) |
void | SetOutputPrefix (TString prefix) |
Set OutputBranchName prefix. Default one is "Burst". More... | |
void | AddInputBranch (TString branchName) |
Set and add the branches for which you want to combine events. More... | |
void | SetPersistence (Bool_t val) |
Set Persistance to kTRUE if you want to store the combined Events. otherwise they are just buffered for the direct use of other tasks in the same run. More... | |
Protected Member Functions | |
ClassDef (PndBranchBurstBuilder_eventBased, 0) | |
![]() | |
ClassDef (PndBranchBurstBuilder, 0) | |
Protected Attributes | |
int | fNEvents |
std::vector< TClonesArray * > | fTempArrays |
![]() | |
std::vector< TString > | fInBranchNames |
std::vector< TClonesArray * > | fInArrays |
std::vector< TClonesArray * > | fOutArrays |
TString | fOutputPrefix |
Bool_t | fPersistence |
Task Class for building Bursts of events in the simulation.
This Version combines a certain number of TTree entries ("Events") coming from an event based simulation/digitization to Burst of Events. As the Event based output, the data in the Bursts are not sorted in time! Between the output of the Bursts empty events are written to the output array.
Definition at line 23 of file PndBranchBurstBuilder_eventBased.h.
PndBranchBurstBuilder_eventBased::PndBranchBurstBuilder_eventBased | ( | ) |
Default constructor
|
virtual |
Destructor
|
protected |
|
virtual |
|
virtual |
Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the InputBranchName vector.
Implements PndBranchBurstBuilder.
|
virtual |
Virtual method Init
Reimplemented from PndBranchBurstBuilder.
|
inline |
Definition at line 38 of file PndBranchBurstBuilder_eventBased.h.
References fNEvents.
|
protected |
Definition at line 41 of file PndBranchBurstBuilder_eventBased.h.
Referenced by SetNEvents().
|
protected |
Definition at line 42 of file PndBranchBurstBuilder_eventBased.h.