BOSS
7.1.2
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
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
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
TrigData.cxx
Go to the documentation of this file.
1
#include <iostream>
2
#include "
TrigEvent/TrigData.h
"
3
4
const
std::string TrigData::s_CONDITIONS[] = {
5
"00: NCluster >= 1"
,
6
"01: NCluster >= 2"
,
7
"02: Barrel Cluster back to back"
,
8
"03: Endcap Cluster back to back"
,
9
"04: Cluster Balance in Z direction"
,
10
"05: Barrel Cluster Balance in Phi direction"
,
11
"06: Endcap Cluster phi Balance"
,
12
"07: Barrel total Energy Higher threshold"
,
13
"08: Endcap total Energy Higher threshold"
,
14
"09: Total Energy Lower threshold"
,
15
"10: Total Energy Middle threshold"
,
16
"11: Energy Balance in \"Z\" direction"
,
17
"12: NBCluster >= 1"
,
18
"13: NECluster >= 1"
,
19
"14: Barrel Energy Block Balance"
,
20
"15: Endcap Energy Block Balance"
,
21
"16: Endcap TOF back to back"
,
22
"17: Barrel TOF back to back"
,
23
"18: NETOF >= 2"
,
24
"19: NETOF >= 1"
,
25
"20: NBTOF >= 2"
,
26
"21: NBTOF >= 1"
,
27
"22: NTOF >= 1"
,
28
"23: C Track Back to Back"
,
29
"24: NCTrk >= 2"
,
30
"25: NCTrk >= 1"
,
31
"26: B Track Back to Back"
,
32
"27: NBTrk >= 2"
,
33
"28: NBTrk >= 1"
,
34
"29: A Track Back to Back"
,
35
"30: NATrk >= 2"
,
36
"31: NATrk >= 1"
,
37
"32: MUON Back to Back 3478"
,
38
"33: MUON Back to Back 37"
,
39
"34: Not defined yet"
,
40
"35: Not defined yet"
,
41
"36: Not defined yet"
,
42
"37: Not defined yet"
,
43
"38: Short Track back to back"
,
44
"39: NStrk >= N"
,
45
"40: NStrk >= 2"
,
46
"41: NStrk >= 1"
,
47
"42: Long Track back to back"
,
48
"43: NLtrk >= N"
,
49
"44: NLtrk >= 2"
,
50
"45: NLtrk >= 1"
,
51
"46: NItrk >= 2"
,
52
"47: NItrk >= 1"
53
};
54
55
TrigData::TrigData
(
int
window,
int
timing,
const
int
* trigCond,
const
int
* trigChan,
bool
preScale)
56
{
57
m_timeWindow = window;
58
m_Timing = timing;
59
m_preScale = preScale;
60
for
(
int
i = 0; i < 48; i++) {
61
if
(i<16) {
62
m_trigChan[i] = trigChan[i];
63
}
64
m_trigcond[i] = trigCond[i];
65
}
66
}
55
TrigData::TrigData
(
int
window,
int
timing,
const
int
* trigCond,
const
int
* trigChan,
bool
preScale) {
…
}
67
68
void
TrigData::print
()
const
{
69
std::cout <<
"TrigData contains the following effective conditions:"
<< std::endl;
70
for
(
int
i = 0; i < 48; i++) {
71
if
(m_trigcond[i] == 1) std::cout <<
'\t'
<< s_CONDITIONS[i] << std::endl;
72
}
73
}
68
void
TrigData::print
()
const
{
…
}
TrigData.h
TrigData::TrigData
TrigData()
Definition
TrigData.h:15
TrigData::print
void print() const
Definition
TrigData.cxx:68
7.1.2
Event
TrigEvent
TrigEvent-00-01-02
src
TrigData.cxx
Generated by
1.12.0