9#ifndef RAWFTSWFORMAT_V2_H
10#define RAWFTSWFORMAT_V2_H
11#include <rawdata/dataobjects/RawFTSWFormat.h>
12#include "rawdata/switch_basf2_standalone.h"
48 unsigned int GetEveNo(
int n) OVERRIDE_CPP17;
68 void GetTTTimeVal(
int n,
struct timeval* tv) OVERRIDE_CPP17;
72 void GetTTTimeSpec(
int n,
struct timespec* ts) OVERRIDE_CPP17;
76 unsigned long long int GetTTTimeNs(
int n) OVERRIDE_CPP17;
87 unsigned int prev_evenum,
unsigned int* cur_evenum,
88 unsigned int prev_exprunsubrun_no,
unsigned int* cur_exprunsubrun_no) OVERRIDE_CPP17;
135 POS_NUMEVE_NUMNODES = 2,
145 POS_TT_CTIME_TRGTYPE = 8,
148 POS_FRAME_COUNT = 11,
149 POS_TIME_SINCE_PREV_TRG = 12,
150 POS_INJECTION_INFO = 13,
161 INJ_HER_LER_MASK = 0x80000000,
162 INJ_HER_LER_SHIFT = 31,
163 INJ_TIME_MASK = 0x7FFFFFFF,
165 INJ_BUNCH_MASK = 0x000007FF,
167 EXP_MASK = 0xFFC00000,
169 RUNNO_MASK = 0x003FFF00,
171 SUBRUNNO_MASK = 0x000000FF,
172 TTCTIME_MASK = 0x7FFFFFF0,
178 SIZE_FTSW_PACKET = 22
183 FTSW_MAGIC_TRAILER = 0x7FFF0000
211 (RUNNO_MASK | SUBRUNNO_MASK));
unsigned int GetExpRunSubrun(int n) OVERRIDE_CPP17
Exp# (10bit) run# (14bit) restart # (8bit)
int GetExpNo(int n) OVERRIDE_CPP17
Get Exp #.
int GetRunNo(int n) OVERRIDE_CPP17
Get run #.
int GetRunNoSubRunNo(int n) OVERRIDE_CPP17
get a word cotaining run # and subrun #
int GetSubRunNo(int n) OVERRIDE_CPP17
Get subrun #.
Abstract base class for different kinds of events.