PandaRoot
PndBranchBurstBuilder_eventBased.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
29 #pragma once
30 
31 #include "PndBranchBurstBuilder.h"
32 
33 #include <vector>
34 
36  public:
41 
43  virtual InitStatus Init();
44 
46  virtual TClonesArray *GetBurstData(size_t branchNum);
47 
48  virtual void FinishTask();
49 
50  void SetNEvents(int num) { fNEvents = num; }
51 
52  protected:
53  int fNEvents;
54  std::vector<TClonesArray *> fTempArrays;
55 
57 };
58 
ClassDef(PndBranchBurstBuilder_eventBased, 0)
virtual TClonesArray * GetBurstData(size_t branchNum)
Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the ...
Basic Class for building bursts of events in the simulation.
Task Class for building Bursts of events in the simulation.