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
Recorder.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Oliver Frost *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#pragma once
11
12
#include <tracking/trackFindingCDC/utilities/Named.h>
13
14
#include <RtypesCore.h>
15
16
#include <functional>
17
#include <vector>
18
#include <memory>
19
#include <string>
20
21
class
TTree;
22
23
namespace
Belle2
{
28
namespace
TrackFindingCDC {
29
31
class
Recorder
{
32
public
:
42
Recorder
(
const
std::function<
void
(TTree&)>& setBranches,
43
const
std::string& rootFileName,
44
const
std::string& treeName =
"recorded_tree"
);
45
46
55
Recorder
(
const
std::vector<
Named<Float_t*>
>& namedVariables,
56
const
std::string& rootFileName,
57
const
std::string& treeName =
"recorded_tree"
);
58
60
~Recorder
();
61
63
void
write
();
64
66
void
capture
();
67
68
private
:
70
class
Impl
;
71
73
std::unique_ptr<Impl>
m_impl
;
74
};
75
}
77
}
Belle2::TrackFindingCDC::Named< Float_t * >
Belle2::TrackFindingCDC::Recorder::capture
void capture()
Capture the registered variable values and write them out.
Definition:
Recorder.cc:171
Belle2::TrackFindingCDC::Recorder::Recorder
Recorder(const std::function< void(TTree &)> &setBranches, const std::string &rootFileName, const std::string &treeName="recorded_tree")
Construct the Recorder opening the given ROOT file and create the underlying TTree and add let the gi...
Belle2::TrackFindingCDC::Recorder
Class to fill a tree from a set of variables.
Definition:
Recorder.h:31
Belle2::TrackFindingCDC::Recorder::~Recorder
~Recorder()
Destructor writing the TTree and closing the ROOT File.
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::Recorder::m_impl
std::unique_ptr< Impl > m_impl
Pointer to implementation hiding the details.
Definition:
Recorder.h:70
Belle2::TrackFindingCDC::Recorder::Impl
Record the MVA variables.
Definition:
Recorder.cc:30
Belle2::TrackFindingCDC::Recorder::write
void write()
Write all captured variables to disk.
Definition:
Recorder.cc:166
tracking
trackFindingCDC
mva
include
Recorder.h
Generated on Tue Jan 4 2022 03:08:42 for Belle II Software by
1.8.17