GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TMidasBanks.h
Go to the documentation of this file.
1//
2// TMidasStructs.h
3//
4
5#ifndef INCLUDE_TMidasBanksH
6#define INCLUDE_TMidasBanksH
7
8#include "RtypesCore.h"
9
10/** \addtogroup Sorting
11 * @{
12 */
13
14// This file defines the data structures written
15// into MIDAS .mid files. They define the on-disk
16// data format, they cannot be arbitrarily changed.
17
18/// Event header
19
20// struct TMidas_EVENT_HEADER {
21// uint16_t fEventId; ///< event id
22// uint16_t fTriggerMask; ///< event trigger mask
23// uint32_t fSerialNumber; ///< event serial number
24// uint32_t fTimeStamp; ///< event timestamp in seconds
25// uint32_t fDataSize; ///< event size in bytes
26//};
27
28/// Bank header
29
31 UInt_t fDataSize; // int32_t
32 UInt_t fFlags; // int32_t
33};
34
35/// 16-bit data bank
36
38 char fName[4]; ///< bank name // NOLINT(*-avoid-c-arrays)
39 UShort_t fType; // uint16_t ///< type of data (see midas.h TID_xxx)
40 UShort_t fDataSize; // uint16_t
41};
42
43/// 32-bit data bank
44
46 char fName[4]; ///< bank name // NOLINT(*-avoid-c-arrays)
47 UInt_t fType; // uint32_t ///< type of data (see midas.h TID_xxx)
48 UInt_t fDataSize; // uint32_t
49};
50/*! @} */
51#endif
52// end
32-bit data bank
Definition TMidasBanks.h:45
char fName[4]
bank name // NOLINT(*-avoid-c-arrays)
Definition TMidasBanks.h:46
UInt_t fDataSize
Definition TMidasBanks.h:48
Event header.
Definition TMidasBanks.h:30
16-bit data bank
Definition TMidasBanks.h:37
char fName[4]
bank name // NOLINT(*-avoid-c-arrays)
Definition TMidasBanks.h:38
UShort_t fDataSize
Definition TMidasBanks.h:40
UShort_t fType
Definition TMidasBanks.h:39