Add detector type to definitions

This commit is contained in:
2021-07-05 14:44:50 +02:00
parent 38b4af3297
commit 82a334212f
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -3,6 +3,10 @@
#include <cstdint>
#define IS_BOTTOM(n) ((n%2 != 0) ? -1 : 1)
const std::string DETECTOR_TYPE = "eiger";
#define N_MODULES 1
#define BYTES_PER_PACKET 4144
#define DATA_BYTES_PER_PACKET 4096
+2
View File
@@ -3,6 +3,8 @@
#include <cstdint>
const std::string DETECTOR_TYPE = "jungfrau";
#define N_MODULES 32
#define BYTES_PER_PACKET 8240
#define DATA_BYTES_PER_PACKET 8192