From 2a1d080edaf264de00641837424f25f2a20502c9 Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Wed, 9 Oct 2024 13:47:15 +0200 Subject: [PATCH] Add more specs --- km3net-dataformat-specifications.tex | 73 ++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/km3net-dataformat-specifications.tex b/km3net-dataformat-specifications.tex index a137f2a..3830688 100644 --- a/km3net-dataformat-specifications.tex +++ b/km3net-dataformat-specifications.tex @@ -5,6 +5,7 @@ \usepackage{hyperref} \usepackage{alertmessage} \usepackage{listings} +\usepackage{forest} \usepackage{bytefield} \usepackage{xcolor} @@ -278,4 +279,76 @@ Test \part{Online Dataformat} \part{Offline Dataformat} +\part{Analysis Formats} +\section{PMT Rates Summary File} + +file extension: pmtrates.h5 + +\begin{forest} + for tree={ + font=\ttfamily, + grow'=0, + child anchor=west, + parent anchor=south, + anchor=west, + calign=first, + edge path={ + \noexpand\path [draw, \forestoption{edge}] + (!u.south west) +(7.5pt,0) |- node[fill,inner sep=1.25pt] {} (.child anchor)\forestoption{edge label}; + }, + before typesetting nodes={ + if n=1 + {insert before={[,phantom]}} + {} + }, + fit=band, + before computing xy={l=15pt}, + } +[HDF5 root + [806451584 + [max\_rate] + [min\_rate] + [mean\_rate] + [std\_rate] + ] + [806455816 + [max\_rate] + [min\_rate] + [mean\_rate] + [std\_rate] + ] + [806459597 + [max\_rate] + [min\_rate] + [mean\_rate] + [std\_rate] + ] +] +\end{forest} + +\begin{lstlisting} + Row │ utc_s utc_ns duty_cycle ch0 ch1 ch2 ⋯ + │ Int32 Int32 Float32 Float32 Float32 Float ⋯ +─────┼────────────────────────────────────────────────────────────────────────── + 1 │ 1676246415 900000000 0.955 55987.2 39368.4 3629 ⋯ + 2 │ 1676247015 900000000 1.0 10160.4 6586.84 754 + 3 │ 1676247615 900000000 1.0 53034.6 15254.0 3256 + 4 │ 1676248215 900000000 1.0 17946.1 11953.7 1261 + 5 │ 1676248815 900000000 1.0 7749.35 6586.84 695 ⋯ + 6 │ 1676249415 900000000 1.0 136875.0 73406.7 9117 + 7 │ 1676250015 900000000 1.0 3.16979e5 20549.2 14846 + 8 │ 1676250615 900000000 1.0 18945.3 14449.5 1444 + 9 │ 1676251215 900000000 1.0 2.0e6 2.0e6 ⋯ + 10 │ 1676251815 900000000 1.0 2.0e6 16999.7 + 11 │ 1676252415 900000000 1.0 15254.0 11020.6 1163 + 12 │ 1676253015 900000000 1.0 86362.3 13687.5 3532 + 13 │ 1676253615 900000000 1.0 18438.9 8873.38 1654 ⋯ + 14 │ 1676254215 900000000 1.0 10439.4 16103.2 1072 + 15 │ 1676254815 900000000 1.0 40449.4 15254.0 3256 + 16 │ 1676255415 900000000 1.0 43873.9 42701.4 4387 + 17 │ 1676256015 900000000 1.0 774935.0 4.38739e5 ⋯ + 18 │ 1676256615 900000000 0.854833 46316.5 34381.4 3831 + 29 columns omitted +\end{lstlisting} + \end{document} -- GitLab