Belle II Software
release-06-01-15
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
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
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
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
EventExtraInfo.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
#include <map>
12
13
#include <TObject.h>
14
15
namespace
Belle2
{
25
class
EventExtraInfo
:
public
TObject {
26
27
public
:
32
float
getExtraInfo
(
const
std::string& name)
const
;
33
35
bool
hasExtraInfo
(
const
std::string& name)
const
;
36
37
39
void
removeExtraInfo
();
40
45
void
addExtraInfo
(
const
std::string& name,
float
value);
46
51
void
setExtraInfo
(
const
std::string& name,
float
value);
52
54
std::string
getInfoHTML
()
const
;
55
57
std::vector<std::string>
getNames
()
const
;
58
59
private
:
60
std::map<std::string, float>
eventExtraInfo
;
62
ClassDef
(
EventExtraInfo
, 2);
63
};
64
66
}
// end namespace Belle2
67
Belle2::EventExtraInfo
Class to stores ExtraInfo of the whole event.
Definition:
EventExtraInfo.h:25
Belle2::EventExtraInfo::removeExtraInfo
void removeExtraInfo()
Removes extra info from event.
Definition:
EventExtraInfo.cc:27
Belle2::EventExtraInfo::ClassDef
ClassDef(EventExtraInfo, 2)
Class to store event extra info.
Belle2::EventExtraInfo::getExtraInfo
float getExtraInfo(const std::string &name) const
Return given value if set.
Definition:
EventExtraInfo.cc:16
Belle2::EventExtraInfo::eventExtraInfo
std::map< std::string, float > eventExtraInfo
map variable names to values.
Definition:
EventExtraInfo.h:60
Belle2::EventExtraInfo::hasExtraInfo
bool hasExtraInfo(const std::string &name) const
Return whether the extra info with the given name is set.
Definition:
EventExtraInfo.cc:21
Belle2::EventExtraInfo::addExtraInfo
void addExtraInfo(const std::string &name, float value)
Sets the user-defined data of given name to the given value.
Definition:
EventExtraInfo.cc:32
Belle2::EventExtraInfo::getNames
std::vector< std::string > getNames() const
Grab the names in this event extra info (for printing etc)
Definition:
EventExtraInfo.cc:54
Belle2::EventExtraInfo::getInfoHTML
std::string getInfoHTML() const
Return a short summary of this object's contents in HTML format.
Definition:
EventExtraInfo.cc:45
Belle2::EventExtraInfo::setExtraInfo
void setExtraInfo(const std::string &name, float value)
Sets the user-defined data of given name to the given value.
Definition:
EventExtraInfo.cc:40
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
analysis
dataobjects
include
EventExtraInfo.h
Generated on Fri Dec 8 2023 04:11:28 for Belle II Software by
1.9.1