PandaRoot
PndBranchBurstBuilder_timeCut.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 #include "FairTSBufferFunctional.h"
33 
35  public:
40 
42  virtual InitStatus Init();
43 
45  virtual TClonesArray *GetBurstData(size_t branchNum);
46 
47  void SetTimePeriod(double val) { fTimePeriod = val; }
48 
49  protected:
50  double fTimePeriod;
51  BinaryFunctor *fStopFunctor;
52 
54 };
55 
Task Class for building Bursts of events in the time based simulation.
ClassDef(PndBranchBurstBuilder_timeCut, 0)
virtual InitStatus Init()
Basic Class for building bursts of events in the simulation.
virtual TClonesArray * GetBurstData(size_t branchNum)
Method to collect the data of full Burst for an Single Branch. inBranchNum state the position in the ...