Belle II Software
release-08-01-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
switch_basf2_standalone.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
#pragma once
9
10
#ifndef B2FATAL
11
#ifdef NOBASF2
12
#include <iostream>
13
#include <stdio.h>
14
#include <stdlib.h>
15
#include <string.h>
16
#include <climits>
17
#include <errno.h>
18
#include <unistd.h>
19
#define B2FATAL(a) {std::cerr << a << std::endl; exit(1);}
20
#else
21
#include <framework/logging/Logger.h>
22
#endif
// NOBASF2
23
#endif
// B2FATAL
24
25
// To compile DAQ program on COPPER(SL5.7)
26
#ifndef OVERRIDE_CPP17
27
#ifndef NOBASF2
28
#define OVERRIDE_CPP17 override
29
#else
30
#define OVERRIDE_CPP17
31
#endif
// NOBASF2
32
#endif
// OVERRIDE_CPP17
33
34
// To compile DAQ program on COPPER(SL5.7)
35
#ifndef FINAL_CPP17
36
#ifndef NOBASF2
37
#define FINAL_CPP17 final
38
#else
39
#define FINAL_CPP17
40
#endif
// NOBASF2
41
#endif
// FINAL_CPP17
42
43
// Max channels of PCIe40 board (2020.9.9)
44
#define MAX_PCIE40_CH 48
45
#define MAX_COPPER_CH 4
rawdata
include
switch_basf2_standalone.h
Generated on Mon Sep 23 2024 14:03:47 for Belle II Software by
1.9.1