PandaRoot
PndBranchBurstBuilder_eventBased Class Reference

Task Class for building Bursts of events in the simulation. More...

#include <PndBranchBurstBuilder_eventBased.h>

Inheritance diagram for PndBranchBurstBuilder_eventBased:
PndBranchBurstBuilder

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)
 
- Public Member Functions inherited from PndBranchBurstBuilder
 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)
 
- Protected Member Functions inherited from PndBranchBurstBuilder
 ClassDef (PndBranchBurstBuilder, 0)
 

Protected Attributes

int fNEvents
 
std::vector< TClonesArray * > fTempArrays
 
- Protected Attributes inherited from PndBranchBurstBuilder
std::vector< TString > fInBranchNames
 
std::vector< TClonesArray * > fInArrays
 
std::vector< TClonesArray * > fOutArrays
 
TString fOutputPrefix
 
Bool_t fPersistence
 

Detailed Description

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.

Date
July 12, 2017
Author
Dominik Steinschaden

Definition at line 23 of file PndBranchBurstBuilder_eventBased.h.

Constructor & Destructor Documentation

◆ PndBranchBurstBuilder_eventBased()

PndBranchBurstBuilder_eventBased::PndBranchBurstBuilder_eventBased ( )

Default constructor

◆ ~PndBranchBurstBuilder_eventBased()

virtual PndBranchBurstBuilder_eventBased::~PndBranchBurstBuilder_eventBased ( )
virtual

Destructor

Member Function Documentation

◆ ClassDef()

PndBranchBurstBuilder_eventBased::ClassDef ( PndBranchBurstBuilder_eventBased  ,
 
)
protected

◆ FinishTask()

virtual void PndBranchBurstBuilder_eventBased::FinishTask ( )
virtual

◆ GetBurstData()

virtual TClonesArray* PndBranchBurstBuilder_eventBased::GetBurstData ( size_t  branchNum)
virtual

Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the InputBranchName vector.

Implements PndBranchBurstBuilder.

◆ Init()

virtual InitStatus PndBranchBurstBuilder_eventBased::Init ( )
virtual

Virtual method Init

Reimplemented from PndBranchBurstBuilder.

◆ SetNEvents()

void PndBranchBurstBuilder_eventBased::SetNEvents ( int  num)
inline

Member Data Documentation

◆ fNEvents

int PndBranchBurstBuilder_eventBased::fNEvents
protected

Definition at line 41 of file PndBranchBurstBuilder_eventBased.h.

Referenced by SetNEvents().

◆ fTempArrays

std::vector<TClonesArray *> PndBranchBurstBuilder_eventBased::fTempArrays
protected

Definition at line 42 of file PndBranchBurstBuilder_eventBased.h.


The documentation for this class was generated from the following file: