Belle II Software
release-08-01-10
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
{
31
class
BBBremInputModule
:
public
Module
{
32
33
public
:
34
39
BBBremInputModule
();
40
42
virtual
~BBBremInputModule
();
43
45
virtual
void
initialize
()
override
;
46
48
virtual
void
event
()
override
;
49
51
virtual
void
terminate
()
override
;
52
53
54
protected
:
55
57
double
m_photonEFrac
;
58
bool
m_unweighted
;
59
double
m_maxWeight
;
60
int
m_densityCorrectionMode
;
61
double
m_DensityCorrectionParameter
;
64
BBBrem
m_generator
;
65
MCParticleGraph
m_mcGraph
;
67
private
:
68
69
void
initializeGenerator
();
71
bool
m_initialized
{
false
};
73
DBObjPtr<BeamParameters>
m_beamParams
;
75
InitialParticleGeneration
m_initial
;
77
};
78
80
}
// end namespace Belle2
Belle2::BBBremInputModule
The BBBrem Generator module.
Definition:
BBBremInputModule.h:31
Belle2::BBBremInputModule::m_beamParams
DBObjPtr< BeamParameters > m_beamParams
BeamParameter.
Definition:
BBBremInputModule.h:73
Belle2::BBBremInputModule::m_initialized
bool m_initialized
True if generator has been initialized.
Definition:
BBBremInputModule.h:71
Belle2::BBBremInputModule::m_DensityCorrectionParameter
double m_DensityCorrectionParameter
Density correction parameter tc.
Definition:
BBBremInputModule.h:61
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:64
Belle2::BBBremInputModule::m_unweighted
bool m_unweighted
True if BBBrem should produce unweighted events.
Definition:
BBBremInputModule.h:58
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:59
Belle2::BBBremInputModule::m_mcGraph
MCParticleGraph m_mcGraph
The MCParticle graph object.
Definition:
BBBremInputModule.h:65
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:75
Belle2::BBBremInputModule::m_photonEFrac
double m_photonEFrac
Module parameters.
Definition:
BBBremInputModule.h:57
Belle2::BBBremInputModule::m_densityCorrectionMode
int m_densityCorrectionMode
Mode for bunch density correction.
Definition:
BBBremInputModule.h:60
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 Mon Sep 23 2024 14:02:42 for Belle II Software by
1.9.1