![]() |
PandaRoot
|
Basic Class for building bursts of events in the simulation. More...
#include <PndBranchBurstBuilder.h>
Public Member Functions | |
PndBranchBurstBuilder () | |
virtual | ~PndBranchBurstBuilder () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual TClonesArray * | GetBurstData (size_t inBranchNum)=0 |
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, 0) | |
Protected Attributes | |
std::vector< TString > | fInBranchNames |
std::vector< TClonesArray * > | fInArrays |
std::vector< TClonesArray * > | fOutArrays |
TString | fOutputPrefix |
Bool_t | fPersistence |
Basic Class for building bursts of events in the simulation.
For the different simulation types (event based, semi time based, time based) the appropriate classes must be derived the pure virtual function "GetBurstData" must be implemented.
Definition at line 20 of file PndBranchBurstBuilder.h.
PndBranchBurstBuilder::PndBranchBurstBuilder | ( | ) |
Default constructor
|
virtual |
Destructor
|
inline |
Set and add the branches for which you want to combine events.
Definition at line 40 of file PndBranchBurstBuilder.h.
References fInBranchNames.
|
protected |
|
virtual |
Virtual method Exec
|
pure virtual |
Implemented in PndBranchBurstBuilder_timeCut_STB, PndBranchBurstBuilder_eventBased, and PndBranchBurstBuilder_timeCut.
|
virtual |
Virtual method Init
Reimplemented in PndBranchBurstBuilder_timeCut_STB, PndBranchBurstBuilder_eventBased, and PndBranchBurstBuilder_timeCut.
|
inline |
Set OutputBranchName prefix. Default one is "Burst".
Definition at line 37 of file PndBranchBurstBuilder.h.
References fOutputPrefix.
|
inline |
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.
Definition at line 43 of file PndBranchBurstBuilder.h.
References fInBranchNames, and fPersistence.
|
protected |
Definition at line 47 of file PndBranchBurstBuilder.h.
|
protected |
Definition at line 43 of file PndBranchBurstBuilder.h.
Referenced by AddInputBranch(), and SetPersistence().
|
protected |
Definition at line 48 of file PndBranchBurstBuilder.h.
|
protected |
Definition at line 50 of file PndBranchBurstBuilder.h.
Referenced by SetOutputPrefix().
|
protected |
Definition at line 51 of file PndBranchBurstBuilder.h.
Referenced by SetPersistence().