PandaRoot
PndBranchBurstBuilder_timeCut_STB.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 
31 #pragma once
32 
33 #include "PndBranchBurstBuilder.h"
34 #include "TClonesArray.h"
35 
36 #include <vector>
37 
38 
40  public:
45 
47  virtual InitStatus Init();
48 
50  virtual TClonesArray *GetBurstData(size_t branchNum);
51 
52  void SetTimePeriod(double val) { fTimePeriod = val; }
53 
54 
55  virtual void FinishTask();
56  // virtual void Finish() { };
57 
58  protected:
59  double fTimePeriod;
60  double fBurstNum;
61  bool fWriteOut;
62  std::vector<TClonesArray *> fTempArrays;
63 
65 };
66 
virtual TClonesArray * GetBurstData(size_t branchNum)
Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the ...
Task Class for building Bursts of events in the simulation.
ClassDef(PndBranchBurstBuilder_timeCut_STB, 0)
Basic Class for building bursts of events in the simulation.