|
1 | | -//////////////////////////////////////////////////////////////////////// |
2 | | -// \file SRSBNDFrameShiftInfo.h |
3 | | -//////////////////////////////////////////////////////////////////////// |
| 1 | +/* |
| 2 | + * @file /sbnanaobj/StandardRecord/SRSBNDFrameShiftInfo.h |
| 3 | + * @brief Defines CAF data structures to store sbnd::timing::FrameShiftInfo (docdb#43090). |
| 4 | + * @author Vu Chi Lan Nguyen |
| 5 | + * @date August 29, 2025 |
| 6 | + * |
| 7 | + */ |
| 8 | + |
4 | 9 | #ifndef SRSBNDFRAMESHIFTINFO_H |
5 | 10 | #define SRSBNDFRAMESHIFTINFO_H |
6 | 11 |
|
7 | 12 | #include <cstdint> |
8 | 13 | namespace caf |
9 | 14 | { |
| 15 | + /* |
| 16 | + * @brief A struct to store shifts across different reference frames from sbnd::timing::FrameShiftInfo for SBND Data |
| 17 | + * |
| 18 | + * Each shift is in [ns] |
| 19 | + * |
| 20 | + */ |
| 21 | + |
10 | 22 | class SRSBNDFrameShiftInfo |
11 | 23 | { |
12 | 24 | public: |
13 | 25 | SRSBNDFrameShiftInfo(); |
14 | 26 | virtual ~SRSBNDFrameShiftInfo() {} |
15 | 27 |
|
16 | | - uint16_t timingType; |
17 | | - double frameTdcCrtt1; |
18 | | - double frameTdcBes; |
19 | | - double frameTdcRwm; |
20 | | - double frameHltCrtt1; |
21 | | - double frameHltBeamGate; |
22 | | - double frameApplyAtCaf; |
| 28 | + uint16_t timingType; ///< Types of decoded frames: 0 - SPEC TDC ETRIG, 1 - HLT ETRIG, 2 - Do Nothing |
| 29 | + double frameTdcCrtt1; ///< Shift from decoded frame to SPEC-TDC CRT T1 [ns] |
| 30 | + double frameTdcBes; ///< Shift from decoded frame to SPEC-TDC BES [ns] |
| 31 | + double frameTdcRwm; ///< Shift from decoded frame to SPEC-TDC RWM [ns] |
| 32 | + double frameHltCrtt1; ///< Shift from decoded frame to HLT CRT T1 [ns] |
| 33 | + double frameHltBeamGate; ///< Shift from decoded frame to HLT Beam Gate [ns] |
| 34 | + double frameApplyAtCaf; ///< Frame to shift to when running at CAF stage |
23 | 35 | }; |
24 | 36 | } // end namespace |
25 | | - |
26 | 37 | #endif // SRSBNDFRAMESHIFTINFO_H |
27 | 38 | ////////////////////////////////////////////////////////////////////////////// |
0 commit comments