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
CRYInputModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015 Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Torben Ferber *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <framework/core/Module.h>
14
15
#include <generators/cry/CRY.h>
16
17
#include <mdst/dataobjects/MCParticleGraph.h>
18
19
namespace
Belle2
{
29
class
CRYInputModule :
public
Module {
30
31
public
:
32
37
CRYInputModule
();
38
40
virtual
~CRYInputModule
() =
default
;
41
43
virtual
void
initialize
()
override
;
44
46
virtual
void
event
()
override
;
47
49
virtual
void
terminate
()
override
;
50
51
protected
:
52
std::string
m_cosmicdatadir
;
53
std::vector<double>
m_acceptance
;
54
double
m_kineticEnergyThreshold
{0.01};
55
double
m_timeOffset
{0};
56
int
m_maxTrials
{10000};
57
double
m_boxLength
{10000};
58
std::string
m_date
{
"1-1-2019"
};
59
bool
m_returnGammas
{
true
};
60
bool
m_returnKaons
{
true
};
61
bool
m_returnPions
{
true
};
62
bool
m_returnProtons
{
true
};
63
bool
m_returnNeutrons
{
true
};
64
bool
m_returnElectrons
{
true
};
65
bool
m_returnMuons
{
true
};
67
CRY
m_generator
;
68
MCParticleGraph
m_mcGraph
;
69
};
70
71
73
}
// end namespace Belle2
Belle2::CRYInputModule::m_returnElectrons
bool m_returnElectrons
Whether or not CRY should return electrons.
Definition:
CRYInputModule.h:72
Belle2::CRYInputModule::m_mcGraph
MCParticleGraph m_mcGraph
The MCParticle graph object.
Definition:
CRYInputModule.h:76
Belle2::CRYInputModule::initialize
virtual void initialize() override
Initializes the module.
Definition:
CRYInputModule.cc:86
Belle2::CRYInputModule::m_returnProtons
bool m_returnProtons
Whether or not CRY should return protons.
Definition:
CRYInputModule.h:70
Belle2::CRYInputModule::m_returnNeutrons
bool m_returnNeutrons
Whether or not CRY should return neutrons.
Definition:
CRYInputModule.h:71
Belle2::CRYInputModule::CRYInputModule
CRYInputModule()
Constructor.
Definition:
CRYInputModule.cc:34
Belle2::MCParticleGraph
Class to build, validate and sort a particle decay chain.
Definition:
MCParticleGraph.h:48
Belle2::CRYInputModule::m_generator
CRY m_generator
The CRY generator.
Definition:
CRYInputModule.h:75
Belle2::CRYInputModule::m_acceptance
std::vector< double > m_acceptance
Shape parameters for the acceptance box.
Definition:
CRYInputModule.h:61
Belle2::CRY
C++ Interface for the generator CRY.
Definition:
CRY.h:38
Belle2::CRYInputModule::m_date
std::string m_date
date used for generation.
Definition:
CRYInputModule.h:66
Belle2::CRYInputModule::m_timeOffset
double m_timeOffset
time offset.
Definition:
CRYInputModule.h:63
Belle2::CRYInputModule::m_boxLength
double m_boxLength
length of the sides of the square plane in which to generate cosmics
Definition:
CRYInputModule.h:65
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::CRYInputModule::event
virtual void event() override
Method is called for each event.
Definition:
CRYInputModule.cc:116
Belle2::CRYInputModule::m_maxTrials
int m_maxTrials
maximum number of trials.
Definition:
CRYInputModule.h:64
Belle2::CRYInputModule::m_returnGammas
bool m_returnGammas
Whether or not CRY should return gammas.
Definition:
CRYInputModule.h:67
Belle2::CRYInputModule::~CRYInputModule
virtual ~CRYInputModule()=default
Destructor.
Belle2::CRYInputModule::m_returnKaons
bool m_returnKaons
Whether or not CRY should return kaons.
Definition:
CRYInputModule.h:68
Belle2::CRYInputModule::terminate
virtual void terminate() override
Method is called at the end of the event processing.
Definition:
CRYInputModule.cc:123
Belle2::CRYInputModule::m_kineticEnergyThreshold
double m_kineticEnergyThreshold
kinetic energy threshold.
Definition:
CRYInputModule.h:62
Belle2::CRYInputModule::m_cosmicdatadir
std::string m_cosmicdatadir
cosmic data (used by CRY for interpolation).
Definition:
CRYInputModule.h:60
Belle2::CRYInputModule::m_returnPions
bool m_returnPions
Whether or not CRY should return pions.
Definition:
CRYInputModule.h:69
Belle2::CRYInputModule::m_returnMuons
bool m_returnMuons
Whether or not CRY should return muons.
Definition:
CRYInputModule.h:73
generators
modules
cryinput
include
CRYInputModule.h
Generated on Tue Jan 4 2022 02:58:12 for Belle II Software by
1.8.17