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
18
namespace
Belle2
{
28
class
BBBremInputModule
:
public
Module
{
29
30
public
:
31
36
BBBremInputModule
();
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
54
double
m_photonEFrac
;
55
bool
m_unweighted
;
56
double
m_maxWeight
;
57
int
m_densityCorrectionMode
;
58
double
m_DensityCorrectionParameter
;
61
BBBrem
m_generator
;
62
MCParticleGraph
m_mcGraph
;
64
private
:
65
66
void
initializeGenerator
();
68
bool
m_initialized
{
false
};
70
DBObjPtr<BeamParameters>
m_beamParams
;
72
InitialParticleGeneration
m_initial
;
74
};
75
77
}
// end namespace Belle2
Belle2::BBBremInputModule
The BBBrem Generator module.
Definition:
BBBremInputModule.h:28
Belle2::BBBremInputModule::m_beamParams
DBObjPtr< BeamParameters > m_beamParams
BeamParameter.
Definition:
BBBremInputModule.h:70
Belle2::BBBremInputModule::m_initialized
bool m_initialized
True if generator has been initialized.
Definition:
BBBremInputModule.h:68
Belle2::BBBremInputModule::m_DensityCorrectionParameter
double m_DensityCorrectionParameter
Density correction parameter tc.
Definition:
BBBremInputModule.h:58
Belle2::BBBremInputModule::initialize
virtual void initialize() override
Initializes the module.
Definition:
BBBremInputModule.cc:54
Belle2::BBBremInputModule::m_generator
BBBrem m_generator
Variables.
Definition:
BBBremInputModule.h:61
Belle2::BBBremInputModule::m_unweighted
bool m_unweighted
True if BBBrem should produce unweighted events.
Definition:
BBBremInputModule.h:55
Belle2::BBBremInputModule::event
virtual void event() override
Method is called for each event.
Definition:
BBBremInputModule.cc:65
Belle2::BBBremInputModule::terminate
virtual void terminate() override
Method is called at the end of the event processing.
Definition:
BBBremInputModule.cc:97
Belle2::BBBremInputModule::BBBremInputModule
BBBremInputModule()
Constructor.
Definition:
BBBremInputModule.cc:32
Belle2::BBBremInputModule::m_maxWeight
double m_maxWeight
The maximum weight.
Definition:
BBBremInputModule.h:56
Belle2::BBBremInputModule::m_mcGraph
MCParticleGraph m_mcGraph
The MCParticle graph object.
Definition:
BBBremInputModule.h:62
Belle2::BBBremInputModule::~BBBremInputModule
virtual ~BBBremInputModule()
Destructor.
Definition:
BBBremInputModule.cc:48
Belle2::BBBremInputModule::m_initial
InitialParticleGeneration m_initial
initial particle used by BeamParameter class
Definition:
BBBremInputModule.h:72
Belle2::BBBremInputModule::m_photonEFrac
double m_photonEFrac
Module parameters.
Definition:
BBBremInputModule.h:54
Belle2::BBBremInputModule::m_densityCorrectionMode
int m_densityCorrectionMode
Mode for bunch density correction.
Definition:
BBBremInputModule.h:57
Belle2::BBBremInputModule::initializeGenerator
void initializeGenerator()
Method is called to initialize the generator.
Definition:
BBBremInputModule.cc:108
Belle2::BBBrem
Generator for low scattering angle radiative Bhabha events (Beam-Beam Bremsstrahlung).
Definition:
BBBrem.h:31
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition:
DBObjPtr.h:21
Belle2::InitialParticleGeneration
Generate Collision.
Definition:
InitialParticleGeneration.h:35
Belle2::MCParticleGraph
Class to build, validate and sort a particle decay chain.
Definition:
MCParticleGraph.h:37
Belle2::Module
Base class for Modules.
Definition:
Module.h:72
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
generators
modules
bbbreminput
include
BBBremInputModule.h
Generated on Fri Nov 8 2024 02:38:27 for Belle II Software by
1.9.6