Belle II Software development
RandomBarrierModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <framework/core/Module.h>
12
13namespace Belle2 {
28 class RandomBarrierModule : public Module {
29
30 public:
31
37
39
40 virtual void initialize() override;
41 virtual void beginRun() override;
42 virtual void endRun() override;
43 virtual void event() override;
44 virtual void terminate() override;
45
46 private:
47 };
49}
Base class for Modules.
Definition: Module.h:72
Sets gRandom to an independent generator for the following modules.
virtual void initialize() override
Initialize the Module.
virtual void event() override
This method is the core of the module.
virtual void endRun() override
This method is called if the current run ends.
virtual void terminate() override
This method is called at the end of the event processing.
virtual void beginRun() override
Called when entering a new run.
Abstract base class for different kinds of events.