PPG Client/Frontend
Classes and programs to interact with PPG
Toggle main menu visibility
Loading...
Searching...
No Matches
include
TimestampConstants.hh
1
#ifndef TIMESTAMP_CONSTANTS_HH
2
#define TIMESTAMP_CONSTANTS_HH
3
4
#include <vector>
5
#include <stdint.h>
6
7
constexpr
uint32_t OVERFLOW_TICKS = 1u << 23;
8
constexpr
uint32_t NUM_CHANNELS = 46;
9
constexpr
uint32_t CHANNEL_NAME_LEN = 32;
10
11
constexpr
bool
DEFAULT_ENABLE_LOGMSG =
true
;
12
constexpr
bool
DEFAULT_ENABLE_TSEN =
true
;
13
constexpr
bool
DEFAULT_ENABLE_TSDE =
true
;
14
constexpr
uint32_t DEFAULT_MIN_EVENT_SIZE = 50;
15
constexpr
std::pair<uint32_t, const char*> DEFAULT_CHANNEL_NAMES[] = {
16
{ 0,
"Top Gate"
},
17
{ 1,
"Booster"
},
18
{ 2,
"Bottom Gate"
},
19
{ 3,
"Quad"
},
20
21
{ 4,
"MCX4 - preTrigOut"
},
22
{ 5,
"MCX5 - nozzle"
},
23
{ 6,
"MCX6 - discharge"
},
24
{ 7,
"MCX7 - MLD1"
},
25
{ 8,
"MCX8 - MLD2"
},
26
{ 9,
"MCX9 - MLD3"
},
27
{10,
"MCX10 - MLD4"
},
28
{11,
"MCX11 - EM bender"
},
29
30
{12,
"MCX12"
},
31
{13,
"MCX13"
},
32
{14,
"MCX14"
},
33
{15,
"MCX15"
},
34
{16,
"MCX16"
},
35
{17,
"MCX17"
},
36
{18,
"MCX18"
},
37
{19,
"MCX19"
},
38
39
{20,
"Gate 0"
},
40
{21,
"Gate 1"
},
41
{22,
"Gate 2"
},
42
{23,
"Gate 3"
},
43
{24,
"Gate 4"
},
44
{25,
"Gate 5"
},
45
{26,
"Gate 6"
},
46
{27,
"Gate 7"
},
47
{28,
"Gate 8"
},
48
{29,
"Gate 9"
},
49
{30,
"Gate 10"
},
50
{31,
"Gate 11"
},
51
52
{32,
"Veto 0"
},
53
{33,
"Veto 1"
},
54
{34,
"Veto 2"
},
55
{35,
"Veto 3"
},
56
57
{36,
"External Trigger"
}
58
};
59
60
constexpr
bool
DEFAULT_ENABLE_LE =
true
;
61
62
constexpr
bool
DEFAULT_ENABLE_TE =
true
;
63
64
#endif
Generated by
1.17.0