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
SoftwareTriggerMenu.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2017 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Nils Braun *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#pragma once
11
#include <TObject.h>
12
13
namespace
Belle2
{
28
class
SoftwareTriggerMenu :
public
TObject {
29
public
:
31
SoftwareTriggerMenu
() {}
32
34
SoftwareTriggerMenu
(
const
std::vector<std::string>& cutIdentifiers,
bool
acceptMode) :
35
m_cutIdentifiers
(cutIdentifiers),
m_acceptMode
(acceptMode)
36
{
37
for
(
const
std::string& cutIdentifier : cutIdentifiers) {
38
B2ASSERT(
"Cut Identifier should not include a &"
, cutIdentifier.find(
"&"
) == std::string::npos);
39
}
40
}
41
43
const
std::vector<std::string>
getCutIdentifiers
()
const
44
{
45
return
m_cutIdentifiers
;
46
}
47
49
bool
isAcceptMode
()
const
50
{
51
return
m_acceptMode
;
52
}
53
54
private
:
56
std::vector<std::string>
m_cutIdentifiers
= {};
57
59
bool
m_acceptMode
=
false
;
60
62
ClassDef
(
SoftwareTriggerMenu
, 1);
63
};
65
}
Belle2::SoftwareTriggerMenu::ClassDef
ClassDef(SoftwareTriggerMenu, 1)
Make this class ready for ROOT.
Belle2::SoftwareTriggerMenu
Class to handle storing the trigger menu in the database.
Definition:
SoftwareTriggerMenu.h:36
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::SoftwareTriggerMenu::SoftwareTriggerMenu
SoftwareTriggerMenu()
Empty constructor for ROOT.
Definition:
SoftwareTriggerMenu.h:39
Belle2::SoftwareTriggerMenu::m_cutIdentifiers
std::vector< std::string > m_cutIdentifiers
List of cut identifiers in this trigger menu.
Definition:
SoftwareTriggerMenu.h:64
Belle2::SoftwareTriggerMenu::m_acceptMode
bool m_acceptMode
Mode setting, if in accept mode or not (if not, we are in reject mode).
Definition:
SoftwareTriggerMenu.h:67
Belle2::SoftwareTriggerMenu::isAcceptMode
bool isAcceptMode() const
Returns true if the mode of this cut is "accept" (instead of "reject").
Definition:
SoftwareTriggerMenu.h:57
Belle2::SoftwareTriggerMenu::getCutIdentifiers
const std::vector< std::string > getCutIdentifiers() const
Getter for the cut identifiers.
Definition:
SoftwareTriggerMenu.h:51
mdst
dbobjects
include
SoftwareTriggerMenu.h
Generated on Tue Jan 4 2022 03:00:14 for Belle II Software by
1.8.17