 |
Belle II Software
release-05-01-25
|
9 #ifndef RAWFTSWFORMAT_V2_H
10 #define RAWFTSWFORMAT_V2_H
11 #include <rawdata/dataobjects/RawFTSWFormat.h>
12 #include "rawdata/switch_basf2_standalone.h"
45 unsigned int GetEveNo(
int n) OVERRIDE_CPP17;
60 void GetTTTimeVal(
int n,
struct timeval* tv) OVERRIDE_CPP17;
63 void GetTTTimeSpec(
int n,
struct timespec* ts) OVERRIDE_CPP17;
66 unsigned long long int GetTTTimeNs(
int n) OVERRIDE_CPP17;
75 unsigned int prev_evenum,
unsigned int* cur_evenum,
76 unsigned int prev_exprunsubrun_no,
unsigned int* cur_exprunsubrun_no) OVERRIDE_CPP17;
113 POS_NUMEVE_NUMNODES = 2,
123 POS_TT_CTIME_TRGTYPE = 8,
126 POS_FRAME_COUNT = 11,
127 POS_TIME_SINCE_PREV_TRG = 12,
128 POS_INJECTION_INFO = 13,
139 INJ_HER_LER_MASK = 0x80000000,
140 INJ_HER_LER_SHIFT = 31,
141 INJ_TIME_MASK = 0x7FFFFFFF,
143 INJ_BUNCH_MASK = 0x000007FF,
145 EXP_MASK = 0xFFC00000,
147 RUNNO_MASK = 0x003FFF00,
149 SUBRUNNO_MASK = 0x000000FF,
150 TTCTIME_MASK = 0x7FFFFFF0,
156 SIZE_FTSW_PACKET = 22
161 FTSW_MAGIC_TRAILER = 0x7FFF0000
189 (RUNNO_MASK | SUBRUNNO_MASK));
int GetRunNoSubRunNo(int n) OVERRIDE_CPP17
get a word cotaining run # and subrun #
unsigned int GetExpRunSubrun(int n) OVERRIDE_CPP17
Exp# (10bit) run# (14bit) restart # (8bit)
Abstract base class for different kinds of events.
int GetExpNo(int n) OVERRIDE_CPP17
Get Exp #.
int GetRunNo(int n) OVERRIDE_CPP17
Get run #.
int GetSubRunNo(int n) OVERRIDE_CPP17
Get subrun #.