Belle II Software
development
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 Tue Nov 12 2024 02:40:47 for Belle II Software by
1.9.6