Belle II Software
development
Toggle main menu visibility
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
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
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
Typedefs
Macros
Selector.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<analysis/dataobjects/Particle.h>
12
#include<vector>
13
14
namespace
Belle2
{
19
namespace
CurlTagger {
20
22
class
Selector
{
23
24
public
:
26
Selector
() {};
27
29
virtual
~Selector
() {};
30
34
virtual
float
getResponse
(
Particle
*,
Particle
*) = 0;
35
37
virtual
std::vector<float>
getVariables
(
Particle
*,
Particle
*) = 0;
38
40
virtual
float
getOptimalResponseCut
() {
return
0.5;};
41
43
virtual
void
initialize
() {};
44
46
virtual
void
finalize
() {};
47
49
virtual
void
collectTrainingInfo
(
Particle
*,
Particle
*) {};
50
};
//class
51
}
// CurlTagger namespace
53
}
// Belle 2 namespace
54
Belle2::CurlTagger::Selector
Abstract base class for curl track selectors.
Definition:
Selector.h:22
Belle2::CurlTagger::Selector::~Selector
virtual ~Selector()
Destructor.
Definition:
Selector.h:29
Belle2::CurlTagger::Selector::Selector
Selector()
Constructor.
Definition:
Selector.h:26
Belle2::CurlTagger::Selector::getResponse
virtual float getResponse(Particle *, Particle *)=0
returns selector response after comparing the two particles higher values indicate a higher certainty...
Belle2::CurlTagger::Selector::finalize
virtual void finalize()
finalise selector if needed
Definition:
Selector.h:46
Belle2::CurlTagger::Selector::initialize
virtual void initialize()
initialise selector if needed
Definition:
Selector.h:43
Belle2::CurlTagger::Selector::collectTrainingInfo
virtual void collectTrainingInfo(Particle *, Particle *)
collect information for training for mva or other selectors
Definition:
Selector.h:49
Belle2::CurlTagger::Selector::getOptimalResponseCut
virtual float getOptimalResponseCut()
returns optimal cut to use with selector
Definition:
Selector.h:40
Belle2::CurlTagger::Selector::getVariables
virtual std::vector< float > getVariables(Particle *, Particle *)=0
returns vector of variables used by the selector
Belle2::Particle
Class to store reconstructed particles.
Definition:
Particle.h:76
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
analysis
modules
CurlTagger
include
Selector.h
Generated on Wed Apr 9 2025 02:34:22 for Belle II Software by
1.9.6