Belle II Software
release-08-00-10
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
a
b
c
e
f
g
n
p
s
v
z
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
Typedefs
Macros
read_svd_ignored_map.cc
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
#include <stdio.h>
9
#include <svd/online/SVDIgnoredStripsMap.h>
10
#include <vxd/dataobjects/VxdID.h>
11
#include <set>
12
13
14
int
15
main
(
int
argc,
char
** argv)
16
{
17
if
(argc != 2) {
18
printf(
"Hello!\n"
);
19
printf(
"Usage: %s filename.xml\n read filename.xml\n"
, argv[0]);
20
return
0;
21
}
22
23
Belle2::SVDIgnoredStripsMap
test(argv[1]);
24
for
(
int
plane = 3; plane < 7; ++ plane) {
25
Belle2::VxdID
sensorID(plane, 1, plane);
26
printf(
"Plane %i, side v:\n"
, plane);
27
for
(
unsigned
short
ignored : test.getIgnoredStrips(sensorID))
28
printf(
"Ignored: %i\n"
, ignored);
29
sensorID.setSegmentNumber(1);
30
printf(
"Plane %i, side u:\n"
, plane);
31
for
(
unsigned
short
ignored : test.getIgnoredStrips(sensorID))
32
printf(
"Ignored: %i\n"
, ignored);
33
}
34
}
Belle2::SVDIgnoredStripsMap
This class provides a list of ignored (=cold, hot or otherwise deffective) strips for the use in SVD ...
Definition:
SVDIgnoredStripsMap.h:28
Belle2::VxdID
Class to uniquely identify a any structure of the PXD and SVD.
Definition:
VxdID.h:33
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:91
svd
online
tools
read_svd_ignored_map.cc
Generated on Fri Aug 9 2024 01:02:59 for Belle II Software by
1.9.1