Belle II Software
release-06-00-14
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
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
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
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
PairGenModule.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
#include <mdst/dataobjects/MCParticleGraph.h>
13
#include <generators/utilities/InitialParticleGeneration.h>
14
15
namespace
Belle2
{
28
class
PairGenModule
:
public
Module
{
29
public
:
34
PairGenModule
();
35
37
virtual
~PairGenModule
() {}
38
40
void
initialize
()
override
;
41
43
void
event
()
override
;
44
45
protected
:
46
int
m_PDG
;
52
bool
m_saveBoth
;
53
//TODO other parameters to make the module more useful
54
55
InitialParticleGeneration
m_initialParticleGeneration
{
MCInitialParticles::c_smearALL
};
56
MCParticleGraph
m_particleGraph
;
57
};
58
60
}
// end namespace Belle2
Belle2::InitialParticleGeneration
Generate Collision.
Definition:
InitialParticleGeneration.h:33
Belle2::MCInitialParticles::c_smearALL
@ c_smearALL
smear all
Definition:
MCInitialParticles.h:42
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::PairGenModule
The PairGen module.
Definition:
PairGenModule.h:28
Belle2::PairGenModule::m_particleGraph
MCParticleGraph m_particleGraph
Particle graph to generate MCParticle list.
Definition:
PairGenModule.h:56
Belle2::PairGenModule::PairGenModule
PairGenModule()
Constructor.
Definition:
PairGenModule.cc:30
Belle2::PairGenModule::m_PDG
int m_PDG
Particles PDG code.
Definition:
PairGenModule.h:46
Belle2::PairGenModule::initialize
void initialize() override
Initializes the module.
Definition:
PairGenModule.cc:48
Belle2::PairGenModule::event
void event() override
Method is called for each event.
Definition:
PairGenModule.cc:53
Belle2::PairGenModule::~PairGenModule
virtual ~PairGenModule()
Destructor.
Definition:
PairGenModule.h:37
Belle2::PairGenModule::m_initialParticleGeneration
InitialParticleGeneration m_initialParticleGeneration
Particle generator to generate initial beam energy, vertex and time.
Definition:
PairGenModule.h:55
Belle2::PairGenModule::m_saveBoth
bool m_saveBoth
Store both particles.
Definition:
PairGenModule.h:52
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
generators
modules
pairgen
include
PairGenModule.h
Generated on Thu Jul 14 2022 08:01:15 for Belle II Software by
1.9.1