diff --git a/schemas/pu00_pulse_metadata.fbs b/schemas/pu00_pulse_metadata.fbs new file mode 100644 index 0000000..ce26e27 --- /dev/null +++ b/schemas/pu00_pulse_metadata.fbs @@ -0,0 +1,17 @@ +// Schema for neutron pulse information + +file_identifier "pu00"; + +table Pu00Message { + source_name : string (required); // Field identifying the producer type, for example detector type + message_id : long; // Consecutive numbers, to detect missing or unordered messages. + reference_time : long (required); // Nanoseconds since Unix epoch (1 Jan 1970) + // If pulse times are available in the aquisition system, this field holds + // those timestamps. Holds wall time otherwise. + + vetos : uint; // Veto bitmask for this frame + period_number : uint; // Period number into which this pulse was collected + proton_charge : float; // Proton charge for this frame (uAh per frame) +} + +root_type Pu00Message;