Belle II Software development
OverrideGenerationFlagsModule.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/* Basf2 headers. */
12#include <framework/core/Module.h>
13#include <framework/database/DBObjPtr.h>
14#include <framework/dbobjects/BeamParameters.h>
15
16namespace Belle2 {
26
27 public:
28
33
38
42 virtual void initialize() override;
43
47 virtual void beginRun() override;
48
52 virtual void event() override;
53
57 virtual void endRun() override;
58
62 virtual void terminate() override;
63
64 private:
65
68
71
74
77
80
81 };
83}
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
bool m_SmearDirection
Smear beam direction when generating initial events.
virtual void initialize() override
Initializer.
virtual void event() override
This method is called for each event.
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.
bool m_SmearVertex
Smear vertex position when generating initial events.
virtual void beginRun() override
Called when entering a new run.
DBObjPtr< BeamParameters > m_BeamParameters
Beam parameters.
bool m_GenerateCMS
Generate events in CMS, not lab system.
bool m_SmearEnergy
Smear energy when generating initial events.
Abstract base class for different kinds of events.