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
PairGenModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2018 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Dmitrii Neverov *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <framework/core/Module.h>
14
#include <mdst/dataobjects/MCParticleGraph.h>
15
#include <generators/utilities/InitialParticleGeneration.h>
16
17
namespace
Belle2
{
30
class
PairGenModule :
public
Module {
31
public
:
36
PairGenModule
();
37
39
virtual
~PairGenModule
() {}
40
42
void
initialize
()
override
;
43
45
void
event
()
override
;
46
47
protected
:
48
int
m_PDG
;
54
bool
m_saveBoth
;
55
//TODO other parameters to make the module more useful
56
57
InitialParticleGeneration
m_initialParticleGeneration
{
MCInitialParticles::c_smearALL
};
58
MCParticleGraph
m_particleGraph
;
59
};
60
62
}
// end namespace Belle2
Belle2::MCParticleGraph
Class to build, validate and sort a particle decay chain.
Definition:
MCParticleGraph.h:48
Belle2::PairGenModule::m_saveBoth
bool m_saveBoth
Store both particles.
Definition:
PairGenModule.h:62
Belle2::PairGenModule::PairGenModule
PairGenModule()
Constructor.
Definition:
PairGenModule.cc:32
Belle2::PairGenModule::m_particleGraph
MCParticleGraph m_particleGraph
Particle graph to generate MCParticle list.
Definition:
PairGenModule.h:66
Belle2::PairGenModule::event
void event() override
Method is called for each event.
Definition:
PairGenModule.cc:55
Belle2::InitialParticleGeneration
Generate Collision.
Definition:
InitialParticleGeneration.h:35
Belle2::PairGenModule::m_PDG
int m_PDG
Particles PDG code.
Definition:
PairGenModule.h:56
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::PairGenModule::initialize
void initialize() override
Initializes the module.
Definition:
PairGenModule.cc:50
Belle2::PairGenModule::~PairGenModule
virtual ~PairGenModule()
Destructor.
Definition:
PairGenModule.h:47
Belle2::MCInitialParticles::c_smearALL
@ c_smearALL
smear all
Definition:
MCInitialParticles.h:52
Belle2::PairGenModule::m_initialParticleGeneration
InitialParticleGeneration m_initialParticleGeneration
Particle generator to generate initial beam energy, vertex and time.
Definition:
PairGenModule.h:65
generators
modules
pairgen
include
PairGenModule.h
Generated on Tue Jan 4 2022 02:58:17 for Belle II Software by
1.8.17