File indexing completed on 2025-08-06 08:17:19
0001 #ifndef MVTXDECODER_STROBEDATA_H
0002 #define MVTXDECODER_STROBEDATA_H
0003
0004 #include "InteractionRecord.h"
0005 #include "GBTWord.h"
0006
0007 #include <vector>
0008
0009 namespace mvtx
0010 {
0011 typedef struct mvtx_hit
0012 {
0013 uint8_t chip_id = 0xf;
0014 uint16_t bunchcounter = 0xFFFF;
0015 uint16_t row_pos = 0xFFFF;
0016 uint16_t col_pos = 0xFFFF;
0017 } mvtx_hit;
0018
0019 struct StrobeData
0020 {
0021 StrobeData(uint64_t orb, uint16_t b) : ir(orb, b) {};
0022 ~StrobeData();
0023
0024 void clear();
0025
0026 InteractionRecord ir = {};
0027 bool hasCDW = false;
0028 GBTCalibDataWord calWord = {};
0029 uint32_t detectorField = 0;
0030
0031 std::vector<mvtx_hit *> hit_vector = {};
0032 };
0033
0034 }
0035
0036 #endif