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
BasicSegmentVarSet.cc
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
#include <tracking/trackFindingCDC/filters/segment/BasicSegmentVarSet.h>
11
12
#include <tracking/trackFindingCDC/eventdata/segments/CDCSegment2D.h>
13
14
using namespace
Belle2
;
15
using namespace
TrackFindingCDC;
16
17
bool
BasicSegmentVarSet::extract
(
const
CDCSegment2D
* ptrSegment2D)
18
{
19
if
(not ptrSegment2D)
return
false
;
20
21
var
<
named
(
"size"
)>() = ptrSegment2D->size();
22
var
<
named
(
"superlayer_id"
)>() = ptrSegment2D->getISuperLayer();
23
24
return
true
;
25
}
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::CDCSegment2D
A reconstructed sequence of two dimensional hits in one super layer.
Definition:
CDCSegment2D.h:40
Belle2::TrackFindingCDC::VarSet< BasicSegmentVarNames >::named
constexpr static int named(const char *name)
Getter for the index from the name.
Definition:
VarSet.h:88
Belle2::TrackFindingCDC::BasicSegmentVarSet::extract
bool extract(const CDCSegment2D *ptrSegment2D) final
Generate and assign the contained variables.
Definition:
BasicSegmentVarSet.cc:17
Belle2::TrackFindingCDC::VarSet< BasicSegmentVarNames >::var
Float_t & var()
Reference getter for the value of the ith variable. Static version.
Definition:
VarSet.h:103
tracking
trackFindingCDC
filters
segment
src
BasicSegmentVarSet.cc
Generated on Tue Jan 4 2022 03:07:13 for Belle II Software by
1.8.17