![]() |
PandaRoot
|
Task Class for building Bursts of events in the simulation. More...
#include <PndBranchBurstBuilder_timeCut_STB.h>
Public Member Functions | |
PndBranchBurstBuilder_timeCut_STB () | |
virtual | ~PndBranchBurstBuilder_timeCut_STB () |
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... | |
void | SetTimePeriod (double val) |
virtual void | FinishTask () |
![]() | |
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_timeCut_STB, 0) | |
![]() | |
ClassDef (PndBranchBurstBuilder, 0) | |
Protected Attributes | |
double | fTimePeriod |
double | fBurstNum |
bool | fWriteOut |
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 contains a workaround for "semi-timebased branches" of the PndBranchBurstBuilder_timeCut It checks if the fastest hit of an event occurs within a defined time window and combines these events into Bursts As the Event based output, the data in the Bursts are not sorted in time! Attention: to Keep this workaround simple not every potential case is taken into account. If the used time windows are to small so that maybe no event occurs, unwanted splitting of events within the next Burst will happen!
Definition at line 27 of file PndBranchBurstBuilder_timeCut_STB.h.
PndBranchBurstBuilder_timeCut_STB::PndBranchBurstBuilder_timeCut_STB | ( | ) |
Default constructor
|
virtual |
Destructor
|
protected |
|
virtual |
Referenced by SetTimePeriod().
|
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 40 of file PndBranchBurstBuilder_timeCut_STB.h.
References FinishTask(), and fTimePeriod.
|
protected |
Definition at line 48 of file PndBranchBurstBuilder_timeCut_STB.h.
|
protected |
Definition at line 50 of file PndBranchBurstBuilder_timeCut_STB.h.
|
protected |
Definition at line 47 of file PndBranchBurstBuilder_timeCut_STB.h.
Referenced by SetTimePeriod().
|
protected |
Definition at line 49 of file PndBranchBurstBuilder_timeCut_STB.h.