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
MasterClassModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2020 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Thomas Kuhr *
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/ECLCluster.h>
15
#include <mdst/dataobjects/Track.h>
16
#include <framework/datastore/StoreArray.h>
17
18
#include "TFile.h"
19
#include "TTree.h"
20
21
#include "masterclass/dataobjects/BEvent.h"
22
23
24
namespace
Belle2
{
33
class
MasterClassModule :
public
Module {
34
35
public
:
36
40
MasterClassModule
();
41
43
virtual
void
initialize
()
override
;
44
46
virtual
void
event
()
override
;
47
49
virtual
void
terminate
()
override
;
50
51
private
:
52
53
StoreArray<Track>
m_tracks
;
54
StoreArray<ECLCluster>
m_clusters
;
55
std::string
m_filename
;
56
TFile*
m_file
= 0;
57
TTree*
m_tree
= 0;
58
int
m_index
= 0;
59
BEvent
*
m_event
= 0;
60
};
61
63
}
64
Belle2::MasterClassModule::m_event
BEvent * m_event
output event object
Definition:
MasterClassModule.h:67
Belle2::MasterClassModule::event
virtual void event() override
Write out particles.
Belle2::MasterClassModule::initialize
virtual void initialize() override
Register input and output data.
Belle2::MasterClassModule::m_index
int m_index
event number
Definition:
MasterClassModule.h:66
Belle2::MasterClassModule::m_file
TFile * m_file
root ntuple file
Definition:
MasterClassModule.h:64
Belle2::MasterClassModule::m_tracks
StoreArray< Track > m_tracks
Track objects.
Definition:
MasterClassModule.h:61
BEvent
Definition:
BEvent.h:16
Belle2::MasterClassModule::terminate
virtual void terminate() override
Close ntuple.
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::MasterClassModule::m_tree
TTree * m_tree
output tree
Definition:
MasterClassModule.h:65
Belle2::MasterClassModule::m_filename
std::string m_filename
output file name
Definition:
MasterClassModule.h:63
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition:
ECLMatchingPerformanceExpertModule.h:33
Belle2::MasterClassModule::m_clusters
StoreArray< ECLCluster > m_clusters
Cluster objects.
Definition:
MasterClassModule.h:62
Belle2::MasterClassModule::MasterClassModule
MasterClassModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition:
MasterClassModule.cc:27
masterclass
modules
include
MasterClassModule.h
Generated on Tue Jan 4 2022 03:00:07 for Belle II Software by
1.8.17