Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
KoralWInputModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2011 Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Andreas Moll *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
/* KoralW header. */
14
#include <generators/koralw/KoralW.h>
15
16
/* Belle 2 headers. */
17
#include <framework/core/Module.h>
18
#include <generators/utilities/InitialParticleGeneration.h>
19
#include <mdst/dataobjects/MCParticleGraph.h>
20
21
/* C++ headers. */
22
#include <string>
23
24
namespace
Belle2
{
34
class
KoralWInputModule :
public
Module {
35
36
public
:
37
42
KoralWInputModule
();
43
45
virtual
~KoralWInputModule
();
46
48
virtual
void
initialize
()
override
;
49
51
virtual
void
event
()
override
;
52
54
virtual
void
terminate
()
override
;
55
56
57
protected
:
58
60
std::string
m_dataPath
;
61
std::string
m_userDataFile
;
64
KoralW
m_generator
;
65
MCParticleGraph
m_mcGraph
;
67
private
:
68
70
void
initializeGenerator
();
71
72
bool
m_initialized
{
false
};
73
DBObjPtr<BeamParameters>
m_beamParams
;
75
InitialParticleGeneration
m_initial
;
77
};
78
80
}
// end namespace Belle2
Belle2::KoralWInputModule::m_dataPath
std::string m_dataPath
Module parameters.
Definition:
KoralWInputModule.h:68
Belle2::KoralWInputModule::m_beamParams
DBObjPtr< BeamParameters > m_beamParams
BeamParameter.
Definition:
KoralWInputModule.h:81
Belle2::MCParticleGraph
Class to build, validate and sort a particle decay chain.
Definition:
MCParticleGraph.h:48
Belle2::KoralWInputModule::~KoralWInputModule
virtual ~KoralWInputModule()
Destructor.
Definition:
KoralWInputModule.cc:38
Belle2::KoralWInputModule::event
virtual void event() override
Method is called for each event.
Definition:
KoralWInputModule.cc:51
Belle2::KoralWInputModule::terminate
virtual void terminate() override
Method is called at the end of the event processing.
Definition:
KoralWInputModule.cc:76
Belle2::KoralWInputModule::m_userDataFile
std::string m_userDataFile
The filename of the user KoralW input data file.
Definition:
KoralWInputModule.h:69
Belle2::InitialParticleGeneration
Generate Collision.
Definition:
InitialParticleGeneration.h:35
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition:
DBObjPtr.h:31
Belle2::KoralWInputModule::m_initialized
bool m_initialized
True if generator has been initialized.
Definition:
KoralWInputModule.h:80
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::KoralWInputModule::m_initial
InitialParticleGeneration m_initial
initial particle used by BeamParameter class
Definition:
KoralWInputModule.h:83
Belle2::KoralW
C++ interface for the FORTRAN 4-fermion final state generator KoralW.
Definition:
KoralW.h:39
Belle2::KoralWInputModule::initialize
virtual void initialize() override
Initializes the module.
Definition:
KoralWInputModule.cc:42
Belle2::KoralWInputModule::KoralWInputModule
KoralWInputModule()
Constructor.
Definition:
KoralWInputModule.cc:26
Belle2::KoralWInputModule::m_generator
KoralW m_generator
Variables.
Definition:
KoralWInputModule.h:72
Belle2::KoralWInputModule::initializeGenerator
void initializeGenerator()
Method is called to initialize the generator.
Definition:
KoralWInputModule.cc:83
Belle2::KoralWInputModule::m_mcGraph
MCParticleGraph m_mcGraph
The MCParticle graph object.
Definition:
KoralWInputModule.h:73
generators
modules
koralwinput
include
KoralWInputModule.h
Generated on Tue Jan 4 2022 02:58:16 for Belle II Software by
1.8.17