ROOTANA
include
v1742unpack.h
Go to the documentation of this file.
1
// v1742unpack.h
2
3
class
v1742event
4
{
5
public
:
6
bool
error
;
7
8
int
total_event_size
;
// 28 bits
9
int
board_id
;
// 5 bits
10
int
pattern
;
// 14 bits
11
int
group_mask
;
// 4 bits
12
int
event_counter
;
// 22 bits
13
int
event_time_tag
;
// 32 bits
14
15
int
len
[4];
// 12 bits, size, 1024 samples is 0xC00
16
int
tr
[4];
// 1 bit, TR signal is present or not
17
int
freq
[4];
// 2 bits, 00=5Gs/s, 01=2.5Gs/s, 10=1Gs/s, 11=not used
18
int
cell
[4];
// 10 bits, start cell index of DRS4 SCA
19
int
trigger_time_tag
[4];
// maybe 30 bits
20
21
int
adc
[32][1024];
22
int
adc_tr
[4][1024];
23
24
bool
adc_overflow
[32];
25
bool
adc_tr_overflow
[4];
26
27
public
:
28
v1742event
();
// ctor
29
void
Print
()
const
;
30
};
31
32
v1742event
*
UnpackV1742
(
const
char
** data,
int
* datalen,
bool
verbose);
33
34
// end
v1742event
Definition:
v1742unpack.h:4
v1742event::adc
int adc[32][1024]
Definition:
v1742unpack.h:21
v1742event::Print
void Print() const
Definition:
v1742unpack.cxx:160
v1742event::adc_tr_overflow
bool adc_tr_overflow[4]
Definition:
v1742unpack.h:25
v1742event::board_id
int board_id
Definition:
v1742unpack.h:9
v1742event::error
bool error
Definition:
v1742unpack.h:6
v1742event::v1742event
v1742event()
Definition:
v1742unpack.cxx:9
v1742event::trigger_time_tag
int trigger_time_tag[4]
Definition:
v1742unpack.h:19
v1742event::event_time_tag
int event_time_tag
Definition:
v1742unpack.h:13
v1742event::total_event_size
int total_event_size
Definition:
v1742unpack.h:8
v1742event::event_counter
int event_counter
Definition:
v1742unpack.h:12
v1742event::cell
int cell[4]
Definition:
v1742unpack.h:18
v1742event::adc_tr
int adc_tr[4][1024]
Definition:
v1742unpack.h:22
v1742event::pattern
int pattern
Definition:
v1742unpack.h:10
v1742event::tr
int tr[4]
Definition:
v1742unpack.h:16
v1742event::freq
int freq[4]
Definition:
v1742unpack.h:17
v1742event::len
int len[4]
Definition:
v1742unpack.h:15
v1742event::group_mask
int group_mask
Definition:
v1742unpack.h:11
v1742event::adc_overflow
bool adc_overflow[32]
Definition:
v1742unpack.h:24
UnpackV1742
v1742event * UnpackV1742(const char **data, int *datalen, bool verbose)
Definition:
v1742unpack.cxx:20
Generated on Wed Nov 13 2024 05:01:03 for ROOTANA by
1.9.1