Belle II Software development
BBBremInputModule.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
13#include <generators/bbbrem/BBBrem.h>
14#include <generators/utilities/InitialParticleGeneration.h>
15
16#include <mdst/dataobjects/MCParticleGraph.h>
17
18namespace Belle2 {
28 class BBBremInputModule : public Module {
29
30 public:
31
37
39 virtual ~BBBremInputModule();
40
42 virtual void initialize() override;
43
45 virtual void event() override;
46
48 virtual void terminate() override;
49
50
51 protected:
52
56 double m_maxWeight;
64 private:
65
66 void initializeGenerator();
68 bool m_initialized{false};
74 };
75
77} // end namespace Belle2
The BBBrem Generator module.
DBObjPtr< BeamParameters > m_beamParams
BeamParameter.
bool m_initialized
True if generator has been initialized.
double m_DensityCorrectionParameter
Density correction parameter tc.
virtual void initialize() override
Initializes the module.
BBBrem m_generator
Variables.
bool m_unweighted
True if BBBrem should produce unweighted events.
virtual void event() override
Method is called for each event.
virtual void terminate() override
Method is called at the end of the event processing.
double m_maxWeight
The maximum weight.
MCParticleGraph m_mcGraph
The MCParticle graph object.
virtual ~BBBremInputModule()
Destructor.
InitialParticleGeneration m_initial
initial particle used by BeamParameter class
double m_photonEFrac
Module parameters.
int m_densityCorrectionMode
Mode for bunch density correction.
void initializeGenerator()
Method is called to initialize the generator.
Generator for low scattering angle radiative Bhabha events (Beam-Beam Bremsstrahlung).
Definition: BBBrem.h:31
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Class to build, validate and sort a particle decay chain.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.