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
VariableToReturnValueModule.h
1
#pragma once
2
/**************************************************************************
3
* BASF2 (Belle Analysis Framework 2) *
4
* Copyright(C) 2013 - Belle II Collaboration *
5
* *
6
* Author: The Belle II Collaboration *
7
* Contributors: Thomas Keck *
8
* *
9
* This software is provided "as is" without any warranty. *
10
**************************************************************************/
11
12
#include <framework/core/Module.h>
13
#include <analysis/VariableManager/Manager.h>
14
15
#include <string>
16
17
namespace
Belle2
{
25
class
VariableToReturnValueModule :
public
Module {
26
public
:
28
VariableToReturnValueModule
();
29
31
virtual
void
initialize
()
override
;
33
virtual
void
event
()
override
;
34
35
private
:
37
Variable::Manager::FunctionPtr
m_function
;
39
std::string
m_variable
;
40
41
};
43
}
// end namespace Belle2
Belle2::VariableToReturnValueModule::m_variable
std::string m_variable
variable name (module parameter)
Definition:
VariableToReturnValueModule.h:47
Belle2::VariableToReturnValueModule::initialize
virtual void initialize() override
Initialize.
Definition:
VariableToReturnValueModule.cc:36
Belle2::VariableToReturnValueModule::VariableToReturnValueModule
VariableToReturnValueModule()
Constructor.
Definition:
VariableToReturnValueModule.cc:25
Belle2::VariableToReturnValueModule::m_function
Variable::Manager::FunctionPtr m_function
function pointer corresponding to given variable.
Definition:
VariableToReturnValueModule.h:45
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::Variable::Manager::FunctionPtr
std::function< double(const Particle *)> FunctionPtr
NOTE: the python interface is documented manually in analysis/doc/Variables.rst (because we use ROOT ...
Definition:
Manager.h:118
Belle2::VariableToReturnValueModule::event
virtual void event() override
Method called for each event.
Definition:
VariableToReturnValueModule.cc:46
analysis
modules
VariableToReturnValue
include
VariableToReturnValueModule.h
Generated on Tue Jan 4 2022 02:50:14 for Belle II Software by
1.8.17