Skip to content
Snippets Groups Projects
Commit 8b7b9a52 authored by Documenter.jl's avatar Documenter.jl
Browse files

build based on 4d7889b9

parent 32bc4ee7
No related branches found
No related tags found
No related merge requests found
Showing
with 2147 additions and 2 deletions
v0.18.5
\ No newline at end of file
v0.18.6
\ No newline at end of file
v0.18.5
\ No newline at end of file
v0.18.6
\ No newline at end of file
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2025-04-04T18:23:23","documenter_version":"1.10.1"}}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="640"
height="150"
viewBox="0 0 169.333 39.688"
version="1.1"
id="svg34"
sodipodi:docname="KM3io.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title321">KM3io.jl logo</title>
<sodipodi:namedview
id="namedview36"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="3.81875"
inkscape:cx="275.61375"
inkscape:cy="-18.461539"
inkscape:window-width="3832"
inkscape:window-height="2134"
inkscape:window-x="3840"
inkscape:window-y="18"
inkscape:window-maximized="1"
inkscape:current-layer="g32" />
<defs
id="defs5">
<clipPath
id="b"
clipPathUnits="userSpaceOnUse">
<use
xlink:href="#a"
id="use2" />
</clipPath>
</defs>
<path
d="m 41.233,9.632 h 5.445 v 8.3 l 9.788,-8.3 h 4.204 l -11.045,9.339 14.008,12.75 H 57.07 L 46.678,22.26 v 9.463 h -5.445 z m 23.982,0 h 5.274 l 7.632,15.094 7.54,-15.094 h 5.165 v 22.09 H 85.412 V 17.326 L 78.2,31.722 H 76.106 L 68.644,17.156 v 14.566 h -3.428 z m 34.717,10.471 q 1.194,-0.124 2.171,-0.496 0.993,-0.388 1.707,-0.978 0.713,-0.605 1.101,-1.396 0.388,-0.806 0.388,-1.753 0,-0.605 -0.217,-1.132 -0.202,-0.543 -0.574,-0.93 -0.373,-0.388 -0.9,-0.606 -0.527,-0.232 -1.163,-0.232 -0.45,0 -0.993,0.232 -0.543,0.233 -1.086,0.636 -0.527,0.388 -1.024,0.916 -0.496,0.527 -0.853,1.132 l -1.955,-0.884 q 0.388,-1.055 1.024,-1.97 0.636,-0.931 1.52,-1.614 0.9,-0.698 2.033,-1.085 1.147,-0.404 2.544,-0.404 1.334,0 2.497,0.373 1.163,0.356 2.032,1.008 0.869,0.651 1.365,1.536 0.512,0.884 0.512,1.923 0,0.45 -0.233,1.024 -0.217,0.558 -0.62,1.148 -0.388,0.59 -0.946,1.179 -0.559,0.59 -1.21,1.101 0.884,0.388 1.644,1.008 0.776,0.605 1.334,1.35 0.559,0.745 0.869,1.582 0.326,0.838 0.326,1.66 0,1.955 -0.807,3.413 -0.791,1.458 -2.187,2.435 -1.396,0.977 -3.304,1.458 -1.893,0.481 -4.08,0.481 -1.07,0 -1.924,-0.155 -0.853,-0.155 -1.458,-0.434 -0.59,-0.295 -0.9,-0.683 -0.31,-0.403 -0.31,-0.868 0,-0.466 0.248,-0.76 0.264,-0.31 0.652,-0.481 0.388,-0.187 0.838,-0.264 0.45,-0.078 0.837,-0.078 0.822,0 1.443,0.233 0.636,0.233 1.148,0.512 0.512,0.28 0.93,0.512 0.435,0.232 0.885,0.232 0.884,0 1.551,-0.325 0.683,-0.326 1.132,-0.869 0.466,-0.543 0.698,-1.241 0.233,-0.714 0.233,-1.49 0,-0.992 -0.419,-1.83 -0.419,-0.853 -1.272,-1.473 -0.853,-0.636 -2.156,-0.993 -1.303,-0.357 -3.071,-0.357 z m 16.396,-4.126 5.042,-1.396 v 17.14 h -5.042 z m -0.217,-6.22 q 0,-0.512 0.202,-0.962 0.217,-0.45 0.59,-0.776 0.371,-0.341 0.868,-0.527 0.496,-0.202 1.055,-0.202 0.558,0 1.054,0.202 0.497,0.186 0.87,0.527 0.371,0.326 0.589,0.776 0.217,0.45 0.217,0.961 0,0.512 -0.217,0.962 -0.218,0.45 -0.59,0.776 -0.372,0.326 -0.869,0.527 -0.496,0.186 -1.054,0.186 -0.559,0 -1.055,-0.186 -0.497,-0.201 -0.869,-0.527 -0.372,-0.326 -0.59,-0.776 -0.201,-0.45 -0.201,-0.962 z m 17.901,22.275 q -1.985,0 -3.676,-0.651 -1.691,-0.652 -2.917,-1.784 -1.225,-1.148 -1.923,-2.7 -0.683,-1.55 -0.683,-3.335 0,-1.923 0.683,-3.536 0.698,-1.63 1.923,-2.793 1.226,-1.179 2.901,-1.83 1.691,-0.667 3.677,-0.667 1.985,0 3.676,0.651 1.706,0.636 2.932,1.769 1.24,1.132 1.939,2.652 0.698,1.52 0.698,3.273 0,1.846 -0.698,3.475 -0.698,1.629 -1.94,2.855 -1.225,1.21 -2.915,1.923 -1.691,0.698 -3.677,0.698 z M 134.602,30 q 0.698,0 1.272,-0.45 0.59,-0.45 1.008,-1.21 0.419,-0.76 0.651,-1.753 0.249,-0.993 0.249,-2.078 0,-1.598 -0.233,-3.01 -0.233,-1.411 -0.776,-2.466 -0.527,-1.055 -1.396,-1.676 -0.853,-0.62 -2.094,-0.62 -0.59,0 -1.148,0.45 -0.543,0.434 -0.962,1.179 -0.418,0.744 -0.682,1.722 -0.248,0.977 -0.248,2.047 0,1.614 0.294,3.04 0.295,1.428 0.854,2.498 0.574,1.07 1.38,1.706 0.807,0.621 1.83,0.621 z m 10.92,-0.17 q 0,-0.466 0.17,-0.87 0.172,-0.418 0.466,-0.713 0.31,-0.31 0.714,-0.48 0.419,-0.187 0.884,-0.187 0.465,0 0.884,0.186 0.42,0.17 0.714,0.481 0.31,0.295 0.48,0.714 0.187,0.403 0.187,0.868 0,0.466 -0.186,0.885 -0.17,0.403 -0.481,0.713 -0.295,0.295 -0.714,0.465 -0.419,0.171 -0.884,0.171 -0.465,0 -0.884,-0.17 -0.403,-0.171 -0.714,-0.466 -0.294,-0.31 -0.465,-0.713 -0.17,-0.42 -0.17,-0.885 z"
id="path7"
style="font-size:31.7692px;line-height:1.25;font-family:'Tamil MN';-inkscape-font-specification:'Tamil MN';letter-spacing:0;word-spacing:0;stroke-width:0.794234" />
<path
d="m 158.816,31.722 q 0,2.218 -0.512,3.568 -0.496,1.365 -1.411,2.11 -0.915,0.76 -2.203,1.008 -1.287,0.263 -2.854,0.263 -1.055,0 -1.877,-0.186 -0.822,-0.17 -1.38,-0.48 -0.56,-0.31 -0.838,-0.73 -0.295,-0.403 -0.295,-0.853 0,-0.791 0.62,-1.318 0.62,-0.528 1.691,-0.528 0.403,0 0.73,0.124 0.31,0.124 0.558,0.31 0.248,0.202 0.45,0.42 0.186,0.232 0.325,0.434 0.357,0.465 0.59,0.62 0.248,0.155 0.45,0.155 0.217,0 0.387,-0.108 0.171,-0.109 0.28,-0.388 0.108,-0.28 0.155,-0.745 0.062,-0.465 0.062,-1.194 V 15.977 l 5.072,-1.396 z m -5.29,-21.966 q 0,-0.511 0.202,-0.961 0.217,-0.45 0.59,-0.776 0.372,-0.341 0.868,-0.527 0.497,-0.202 1.055,-0.202 0.559,0 1.055,0.202 0.497,0.186 0.869,0.527 0.372,0.326 0.59,0.776 0.216,0.45 0.216,0.961 0,0.512 -0.217,0.962 -0.217,0.45 -0.59,0.776 -0.371,0.326 -0.868,0.527 -0.496,0.186 -1.055,0.186 -0.558,0 -1.055,-0.186 -0.496,-0.201 -0.868,-0.527 -0.373,-0.326 -0.59,-0.776 -0.201,-0.45 -0.201,-0.962 z m 14.489,21.966 h -5.01 V 8.376 l 5.01,-1.396 z"
id="path9"
style="font-size:31.7692px;line-height:1.25;font-family:'Tamil MN';-inkscape-font-specification:'Tamil MN';letter-spacing:0;word-spacing:0;stroke-width:0.794234" />
<path
style="fill:#3f61d7;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.194319"
d="m 122.12509,9.5034651 c 0,1.8882749 -1.51491,3.4179689 -3.38326,3.4179689 -1.86836,0 -3.38328,-1.529694 -3.38328,-3.4179689 0,-1.887515 1.51492,-3.4179718 3.38328,-3.4179718 1.86835,0 3.38326,1.5304568 3.38326,3.4179718"
id="path371" />
<g
clip-path="url(#b)"
transform="translate(-22.078 -88.72)"
id="g32">
<circle
id="a"
cx="39.401"
cy="106.043"
r="16"
style="fill:#b3b3b3;stroke-width:.350949;stroke-linejoin:round" />
<path
style="fill:#3f61d7;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.234504"
d="m 44.326967,123.25614 c 0,1.88828 -2.206268,3.41797 -4.927276,3.41797 -2.721021,0 -4.927304,-1.52969 -4.927304,-3.41797 0,-1.88751 2.206283,-3.41797 4.927304,-3.41797 2.721008,0 4.927276,1.53046 4.927276,3.41797"
id="path371-3" />
<path
d="m 48.228135,113.5 a 3.675,3.675 0 1 1 3.678,-3.675 3.679,3.679 0 0 1 -3.678,3.675 z"
class="cls-3"
style="fill:#ca3c32;stroke-width:0.412882"
id="path14" />
<path
d="m 57.060135,113.5 a 3.675,3.675 0 1 1 3.678,-3.675 3.679,3.679 0 0 1 -3.678,3.675 z"
class="cls-4"
style="fill:#9259a3;stroke-width:0.412882"
id="path16" />
<path
d="m 52.650135,105.85 a 3.675,3.675 0 1 1 3.674,-3.675 3.67,3.67 0 0 1 -3.674,3.674 z"
class="cls-5"
style="fill:#399746;stroke-width:0.412882"
id="path18" />
<path
d="m 21.731135,113.5 a 3.675,3.675 0 1 1 3.68,-3.675 3.679,3.679 0 0 1 -3.68,3.675 z"
class="cls-3"
style="fill:#ca3c32;stroke-width:0.412882"
id="path20" />
<path
d="m 30.564135,113.5 a 3.675,3.675 0 1 1 3.678,-3.675 3.679,3.679 0 0 1 -3.678,3.675 z"
class="cls-4"
style="fill:#9259a3;stroke-width:0.412882"
id="path22" />
<path
d="m 30.951598,98.056224 a 3.675,2.569137 0 1 1 3.678,-2.569136 3.679,2.5719333 0 0 1 -3.678,2.569136 z"
class="cls-4"
style="fill:#9259a3;stroke-width:0.345216"
id="path22-3" />
<path
d="m 26.150126,119.0792 a 3.675,2.569137 0 1 1 3.678,-2.56914 3.679,2.5719333 0 0 1 -3.678,2.56914 z"
class="cls-4"
style="fill:#9259a3;stroke-width:0.345216"
id="path22-3-9" />
<path
d="m 52.74135,119.08185 a 3.675,2.569137 0 1 1 3.678,-2.56914 3.679,2.5719333 0 0 1 -3.678,2.56914 z"
class="cls-4"
style="fill:#9259a3;stroke-width:0.345216"
id="path22-3-9-1" />
<path
d="m 26.154135,105.85 a 3.675,3.675 0 1 1 3.674,-3.675 3.67,3.67 0 0 1 -3.674,3.674 z"
class="cls-5"
style="fill:#399746;stroke-width:0.412882"
id="path24" />
<path
d="m 34.981135,98.5 a 3.675,3.675 0 1 0 3.68,3.675 3.679,3.679 0 0 0 -3.68,-3.675 z"
class="cls-3"
style="fill:#ca3c32;stroke-width:0.412882"
id="path26" />
<path
d="m 48.402688,92.969702 a 3.675,2.5691377 0 1 0 3.68,2.569141 3.679,2.571934 0 0 0 -3.68,-2.569141 z"
class="cls-3"
style="fill:#ca3c32;stroke-width:0.345216"
id="path26-5" />
<path
d="m 34.981087,113.94093 a 3.675,2.5691377 0 1 0 3.68,2.56914 3.679,2.571934 0 0 0 -3.68,-2.56914 z"
class="cls-3"
style="fill:#ca3c32;stroke-width:0.345216"
id="path26-5-6" />
<path
d="m 43.813135,98.5 a 3.675,3.675 0 1 0 3.679,3.675 3.679,3.679 0 0 0 -3.679,-3.675 z"
class="cls-4"
style="fill:#9259a3;stroke-width:0.412882"
id="path28" />
<path
d="m 39.399135,106.15 a 3.675,3.675 0 1 0 3.675,3.675 3.67,3.67 0 0 0 -3.675,-3.674 z"
class="cls-5"
style="fill:#399746;stroke-width:0.412882"
id="path30" />
<path
d="m 39.710811,92.917932 a 3.675,2.5691842 0 1 0 3.675,2.569184 3.67,2.5656887 0 0 0 -3.675,-2.568485 z"
class="cls-5"
style="fill:#399746;stroke-width:0.345219"
id="path30-7" />
<path
d="m 43.817196,113.94093 a 3.675,2.5691842 0 1 0 3.675,2.56919 3.67,2.5656887 0 0 0 -3.675,-2.56849 z"
class="cls-5"
style="fill:#399746;stroke-width:0.345219"
id="path30-7-2" />
</g>
<metadata
id="metadata319">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>KM3io.jl logo</dc:title>
<dc:date>2023-04-12</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>Johannes Schumann</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>KM3NeT </dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>KM3NeT </dc:title>
</cc:Agent>
</dc:publisher>
<dc:language>en</dc:language>
<dc:subject>
<rdf:Bag>
<rdf:li>neutrino km3net io dataformat root</rdf:li>
</rdf:Bag>
</dc:subject>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
</svg>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
// Small function to quickly swap out themes. Gets put into the <head> tag..
function set_theme_from_local_storage() {
// Initialize the theme to null, which means default
var theme = null;
// If the browser supports the localstorage and is not disabled then try to get the
// documenter theme
if (window.localStorage != null) {
// Get the user-picked theme from localStorage. May be `null`, which means the default
// theme.
theme = window.localStorage.getItem("documenter-theme");
}
// Check if the users preference is for dark color scheme
var darkPreference =
window.matchMedia("(prefers-color-scheme: dark)").matches === true;
// Initialize a few variables for the loop:
//
// - active: will contain the index of the theme that should be active. Note that there
// is no guarantee that localStorage contains sane values. If `active` stays `null`
// we either could not find the theme or it is the default (primary) theme anyway.
// Either way, we then need to stick to the primary theme.
//
// - disabled: style sheets that should be disabled (i.e. all the theme style sheets
// that are not the currently active theme)
var active = null;
var disabled = [];
var primaryLightTheme = null;
var primaryDarkTheme = null;
for (var i = 0; i < document.styleSheets.length; i++) {
var ss = document.styleSheets[i];
// The <link> tag of each style sheet is expected to have a data-theme-name attribute
// which must contain the name of the theme. The names in localStorage much match this.
var themename = ss.ownerNode.getAttribute("data-theme-name");
// attribute not set => non-theme stylesheet => ignore
if (themename === null) continue;
// To distinguish the default (primary) theme, it needs to have the data-theme-primary
// attribute set.
if (ss.ownerNode.getAttribute("data-theme-primary") !== null) {
primaryLightTheme = themename;
}
// Check if the theme is primary dark theme so that we could store its name in darkTheme
if (ss.ownerNode.getAttribute("data-theme-primary-dark") !== null) {
primaryDarkTheme = themename;
}
// If we find a matching theme (and it's not the default), we'll set active to non-null
if (themename === theme) active = i;
// Store the style sheets of inactive themes so that we could disable them
if (themename !== theme) disabled.push(ss);
}
var activeTheme = null;
if (active !== null) {
// If we did find an active theme, we'll (1) add the theme--$(theme) class to <html>
document.getElementsByTagName("html")[0].className = "theme--" + theme;
activeTheme = theme;
} else {
// If we did _not_ find an active theme, then we need to fall back to the primary theme
// which can either be dark or light, depending on the user's OS preference.
var activeTheme = darkPreference ? primaryDarkTheme : primaryLightTheme;
// In case it somehow happens that the relevant primary theme was not found in the
// preceding loop, we abort without doing anything.
if (activeTheme === null) {
console.error("Unable to determine primary theme.");
return;
}
// When switching to the primary light theme, then we must not have a class name
// for the <html> tag. That's only for non-primary or the primary dark theme.
if (darkPreference) {
document.getElementsByTagName("html")[0].className =
"theme--" + activeTheme;
} else {
document.getElementsByTagName("html")[0].className = "";
}
}
for (var i = 0; i < document.styleSheets.length; i++) {
var ss = document.styleSheets[i];
// The <link> tag of each style sheet is expected to have a data-theme-name attribute
// which must contain the name of the theme. The names in localStorage much match this.
var themename = ss.ownerNode.getAttribute("data-theme-name");
// attribute not set => non-theme stylesheet => ignore
if (themename === null) continue;
// we'll disable all the stylesheets, except for the active one
ss.disabled = !(themename == activeTheme);
}
}
set_theme_from_local_storage();
function maybeAddWarning() {
// DOCUMENTER_NEWEST is defined in versions.js, DOCUMENTER_CURRENT_VERSION and DOCUMENTER_STABLE
// in siteinfo.js.
// If either of these are undefined something went horribly wrong, so we abort.
if (
window.DOCUMENTER_NEWEST === undefined ||
window.DOCUMENTER_CURRENT_VERSION === undefined ||
window.DOCUMENTER_STABLE === undefined
) {
return;
}
// Current version is not a version number, so we can't tell if it's the newest version. Abort.
if (!/v(\d+\.)*\d+/.test(window.DOCUMENTER_CURRENT_VERSION)) {
return;
}
// Current version is newest version, so no need to add a warning.
if (window.DOCUMENTER_NEWEST === window.DOCUMENTER_CURRENT_VERSION) {
return;
}
// Add a noindex meta tag (unless one exists) so that search engines don't index this version of the docs.
if (document.body.querySelector('meta[name="robots"]') === null) {
const meta = document.createElement("meta");
meta.name = "robots";
meta.content = "noindex";
document.getElementsByTagName("head")[0].appendChild(meta);
}
const div = document.createElement("div");
div.classList.add("outdated-warning-overlay");
const closer = document.createElement("button");
closer.classList.add("outdated-warning-closer", "delete");
closer.addEventListener("click", function () {
document.body.removeChild(div);
});
const href = window.documenterBaseURL + "/../" + window.DOCUMENTER_STABLE;
div.innerHTML =
'This documentation is not for the latest stable release, but for either the development version or an older release.<br><a href="' +
href +
'">Click here to go to the documentation for the latest stable release.</a>';
div.appendChild(closer);
document.body.appendChild(div);
}
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", maybeAddWarning);
} else {
maybeAddWarning();
}
File added
This diff is collapsed.
\RequirePackage{luatex85}
\documentclass[tikz]{standalone}
% Default preamble
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{groupplots}
\usepgfplotslibrary{polar}
\usepgfplotslibrary{smithchart}
\usepgfplotslibrary{statistics}
\usepgfplotslibrary{dateplot}
\usepgfplotslibrary{ternary}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar, const plot, grid, xlabel={\Delta t / ns}, ylabel={counts}]
\addplot+
coordinates {
(-9.5,3)
(-8.5,5)
(-7.5,6)
(-6.5,5)
(-5.5,34)
(-4.5,81)
(-3.5,202)
(-2.5,413)
(-1.5,699)
(-0.5,950)
(0.5,874)
(1.5,778)
(2.5,601)
(3.5,425)
(4.5,319)
(5.5,231)
(6.5,181)
(7.5,171)
(8.5,134)
(9.5,122)
(10.5,93)
(11.5,91)
(12.5,87)
(13.5,65)
(14.5,71)
(15.5,63)
(16.5,59)
(17.5,54)
(18.5,50)
(19.5,36)
(20.5,44)
(21.5,42)
(22.5,37)
(23.5,40)
(24.5,42)
(25.5,35)
(26.5,37)
(27.5,24)
(28.5,36)
(29.5,36)
(30.5,44)
(31.5,23)
(32.5,30)
(33.5,28)
(34.5,24)
(35.5,25)
(36.5,18)
(37.5,17)
(38.5,16)
(39.5,20)
(40.5,13)
(41.5,17)
(42.5,11)
(43.5,15)
(44.5,14)
(45.5,13)
(46.5,6)
(47.5,11)
(48.5,7)
(49.5,15)
}
\closedcycle
;
\end{axis}
\end{tikzpicture}
\end{document}
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Cherenkov times · KM3io.jl</title><meta name="title" content="Cherenkov times · KM3io.jl"/><meta property="og:title" content="Cherenkov times · KM3io.jl"/><meta property="twitter:title" content="Cherenkov times · KM3io.jl"/><meta name="description" content="Documentation for KM3io.jl."/><meta property="og:description" content="Documentation for KM3io.jl."/><meta property="twitter:description" content="Documentation for KM3io.jl."/><script data-outdated-warner src="../../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.050/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="../.."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../../assets/documenter.js"></script><script src="../../search_index.js"></script><script src="../../siteinfo.js"></script><script src="../../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-mocha.css" data-theme-name="catppuccin-mocha"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-macchiato.css" data-theme-name="catppuccin-macchiato"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-frappe.css" data-theme-name="catppuccin-frappe"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-latte.css" data-theme-name="catppuccin-latte"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../../assets/themeswap.js"></script><link href="../../assets/custom.css" rel="stylesheet" type="text/css"/></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../../"><img src="../../assets/logo.svg" alt="KM3io.jl logo"/></a><button class="docs-search-query input is-rounded is-small is-clickable my-2 mx-auto py-1 px-2" id="documenter-search-query">Search docs (Ctrl + /)</button><ul class="docs-menu"><li><a class="tocitem" href="../../">Home</a></li><li><span class="tocitem">Manual</span><ul><li><a class="tocitem" href="../../manual/rootfiles/">ROOT Files</a></li><li><a class="tocitem" href="../../manual/detector/">Detector and its Components</a></li><li><a class="tocitem" href="../../manual/calibration/">Calibration</a></li><li><a class="tocitem" href="../../manual/auxfiles/">Auxiliary Files</a></li><li><a class="tocitem" href="../../manual/tools/">Tools</a></li></ul></li><li><span class="tocitem">Examples</span><ul><li><a class="tocitem" href="../online_data/">Online data</a></li><li><a class="tocitem" href="../offline_data/">Offline data</a></li><li class="is-active"><a class="tocitem" href>Cherenkov times</a></li><li><a class="tocitem" href="../orientations/">Orientations</a></li><li><a class="tocitem" href="../controlhost/">Accessing Live Data</a></li><li><a class="tocitem" href="../hdf5/">HDF5</a></li></ul></li><li><a class="tocitem" href="../../api/">API</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><a class="docs-sidebar-button docs-navbar-link fa-solid fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">Examples</a></li><li class="is-active"><a href>Cherenkov times</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Cherenkov times</a></li></ul></nav><div class="docs-right"><a class="docs-navbar-link" href="https://git.km3net.de/common/KM3io.jl" title="View the repository"><span class="docs-icon fa-brands"></span><span class="docs-label is-hidden-touch">Repository</span></a><a class="docs-navbar-link" href="https://git.km3net.de/common/KM3io.jl/blob/main/docs/src/examples/cherenkov_times.md#L" title="Edit source"><span class="docs-icon fa-solid"></span></a><a class="docs-settings-button docs-navbar-link fa-solid fa-gear" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-article-toggle-button fa-solid fa-chevron-up" id="documenter-article-toggle-button" href="javascript:;" title="Collapse all docstrings"></a></div></header><article class="content" id="documenter-page"><h1 id="Cherenkov-times"><a class="docs-heading-anchor" href="#Cherenkov-times">Cherenkov times</a><a id="Cherenkov-times-1"></a><a class="docs-heading-anchor-permalink" href="#Cherenkov-times" title="Permalink"></a></h1><p>In this example, we will pick the best reconstructed muon (from the Jpp muon reconstruction chain <code>JMuon</code>) in each event and calculate the Cherenkov hit time residuals for each triggered hit.</p><p>We open the a sample file from the <code>KM3NeTTestData</code> package:</p><pre><code class="language-julia hljs">using KM3io, KM3NeTTestData
f = ROOTFile(datapath(&quot;offline&quot;, &quot;mcv6.0.gsg_muon_highE-CC_50-500GeV.km3sim.jterbr00008357.jorcarec.aanet.905.root&quot;))</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">ROOTFile{OfflineTree (140 events)}</code></pre><p>Each event holds a vector of reconstructed tracks (<code>Vector{Trk}</code>) behind the <code>.trks</code> field. This vector contains different stages of reconstruction results from a variety of reconstruction algorithms (<code>JMuon</code>, <code>JShower</code>, <code>aashower</code> etc.). <code>KM3io.jl</code> exports helper functions to pick the best reconstructed track for a given reconstruction algorithm. The logic is based on the reference implementation in <a href="https://git.km3net.de/common/km3net-dataformat/-/blob/master/tools/reconstruction.hh">KM3NeT DataFormat tools</a>. The function <code>bestjppmuon()</code> can be used to select the best reconstructed <code>JMuon</code> for a given event:</p><pre><code class="language-julia hljs">evt = f.offline[1]
best_muon = bestjppmuon(evt)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">Trk (Reconstructed track)
id: 1
pos: Position{Float64}(472.387, 526.142, 198.522)
dir: Direction{Float64}(0.141, 0.986, 0.087)
t: 5.8796099548102595e7
E: 544.9525806125414
len: 0.0
lik: 40.55672709261793
rec_type: 4000
rec_stages: Int32[1, 2, 5, 3, 5, 4]
fitinf: FitInformation([0.014885871185356527, 0.010385140089653992, -40.55672709261793, 21.0, 544.9525806125414, 62.53353460788458, 3.9927948910593534, 14.0, 0.0, 8.658344340729155, 45.03600640024326, 0.0, 0.0, 1501.6459845444228, -60.9373245973645, 602.0, 18.0])</code></pre><p>We now use this track as a seed to calculate the Cherenkov photon (see <a href="../../api/#KM3io.CherenkovPhoton"><code>CherenkovPhoton</code></a>) parameters using <a href="../../api/#KM3io.cherenkov"><code>cherenkov()</code></a> for each hit triggered hit in the event. To select only triggered hits, we use the <a href="../../api/#KM3io.triggered"><code>triggered()</code></a> function together withe <code>filter()</code> which returns a new vector of triggered hits:</p><pre><code class="language-julia hljs">cherenkov(best_muon, filter(triggered, evt.hits))</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">18-element Vector{CherenkovPhoton}:
CherenkovPhoton(27.456056524385705, 40.873619315665835, 23.01132932189433, 5.879636441354458e7, -3.3185445815324783, -0.6308750235550006, Direction{Float64}(-0.528, 0.839, -0.133))
CherenkovPhoton(19.58954108346994, 29.162798528739586, 34.06689497770607, 5.879634739559217e7, -3.233592174947262, -0.5615835242962761, Direction{Float64}(-0.103, 0.816, -0.569))
CherenkovPhoton(10.86335249693419, 16.17218896884211, 44.610162820726416, 5.879632277897501e7, -13.470975004136562, -0.7747565822537268, Direction{Float64}(-0.274, 0.833, -0.481))
CherenkovPhoton(10.958658115674492, 16.31406970745347, 44.59234480366247, 5.879632337250174e7, -12.580501735210419, -0.1267142434217894, Direction{Float64}(-0.270, 0.832, -0.484))
CherenkovPhoton(10.944182695875304, 16.29252026178632, 44.40568465253136, 5.879632265069598e7, 3.0913040190935135, -0.9323746132442533, Direction{Float64}(-0.281, 0.833, -0.476))
CherenkovPhoton(11.17928745250317, 16.642518897357846, 44.22007515662778, 5.8796323642327406e7, 15.824672594666481, 0.13091951330569712, Direction{Float64}(-0.282, 0.833, -0.476))
CherenkovPhoton(10.90295605293336, 16.23114647681559, 44.79747555408915, 5.8796323675116315e7, 23.333883680403233, 0.21074029444645023, Direction{Float64}(-0.280, 0.833, -0.477))
CherenkovPhoton(10.834690812223194, 16.129520540155625, 44.74122710381231, 5.879632301979044e7, 35.40920955687761, -0.5058063194444703, Direction{Float64}(-0.276, 0.833, -0.480))
CherenkovPhoton(38.84032185176909, 57.82128719239538, -7.3748303011806655, 5.879634105250908e7, 2.452490918338299, -0.869871832680696, Direction{Float64}(-0.498, 0.841, -0.212))
CherenkovPhoton(28.225623531989715, 42.01926777682649, 4.187186042072113, 5.879630689544618e7, 0.01255381852388382, 0.01080998510609144, Direction{Float64}(-0.205, 0.827, -0.524))
CherenkovPhoton(14.785344110263079, 22.01082759562596, 20.557497574678035, 5.8796269418408036e7, 1.031591959297657, -0.8687222096306455, Direction{Float64}(-0.495, 0.841, -0.216))
CherenkovPhoton(14.880944341352187, 22.153146921365813, 20.510617841677842, 5.879626991701378e7, 6.563986226916313, -0.32708069174389154, Direction{Float64}(-0.494, 0.841, -0.220))
CherenkovPhoton(15.035038797101658, 22.382546147629952, 20.413422353617566, 5.8796270648541935e7, 10.363458067178726, 0.45681008948052304, Direction{Float64}(-0.495, 0.841, -0.217))
CherenkovPhoton(35.48962576204839, 52.8331317997193, -2.014094840107113, 5.879633597758977e7, 1.9564102292060852, -0.4138351012632555, Direction{Float64}(0.234, 0.770, -0.594))
CherenkovPhoton(35.322525552364354, 52.584371008011026, -1.7938275339033467, 5.879633556747952e7, 3.269520476460457, -0.8429145215271235, Direction{Float64}(0.235, 0.770, -0.594))
CherenkovPhoton(25.877763469142074, 38.52402663285318, 9.45499183787367, 5.8796308381212674e7, -0.5812126770615578, -0.9686719491474437, Direction{Float64}(0.275, 0.763, -0.585))
CherenkovPhoton(26.084505456694867, 38.83180183313701, 9.19462645688342, 5.8796308929165296e7, 2.361834704875946, -0.39414201377088814, Direction{Float64}(0.278, 0.763, -0.584))
CherenkovPhoton(17.507053914837183, 26.062615963014824, 19.40524417300148, 5.8796284221979275e7, 1.8830207213759422, -0.916509537609059, Direction{Float64}(0.355, 0.749, -0.559))</code></pre><p>To obtain more statistics, we iterate through all the events and calculate the Cherenkov time residuals for each set of hits based on the best reconstruction track. We fill the time residuals in a 1D histogram using the <a href="https://github.com/Moelf/FHist.jl">FHist</a> package.</p><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>This example uses <a href="https://github.com/KristofferC/PGFPlotsX.jl">PGFPlotsX</a> which is a wrapper for the LaTeX library PGFPlots. Feel free to adapt the example to use your favourite plotting library.</p></div></div><pre><code class="language-julia hljs">using KM3io, KM3NeTTestData
using FHist
using PGFPlotsX
f = ROOTFile(datapath(&quot;offline&quot;, &quot;mcv6.0.gsg_muon_highE-CC_50-500GeV.km3sim.jterbr00008357.jorcarec.aanet.905.root&quot;))
Δts = Hist1D(; counttype=Int, binedges=-10:50)
for evt ∈ f.offline
m = bestjppmuon(evt)
cherenkov_photons = cherenkov(m, filter(triggered, evt.hits))
for cp ∈ cherenkov_photons
push!(Δts, cp.Δt)
end
end
axis = @pgf Axis(
{
ybar, const_plot, grid,
xlabel=raw&quot;\Delta t / ns&quot;,
ylabel=&quot;counts&quot;,
},
PlotInc(Coordinates(bincenters(Δts), bincounts(Δts)), raw&quot;\closedcycle&quot;)
)
axis</code></pre><p><a href="../cherenkov.pdf">[.pdf]</a>, <a href="../cherenkov.tex">[generated .tex]</a></p><p><img src="../cherenkov.svg" alt/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../offline_data/">« Offline data</a><a class="docs-footer-nextpage" href="../orientations/">Orientations »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.10.1 on <span class="colophon-date" title="Friday 4 April 2025 18:23">Friday 4 April 2025</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Accessing Live Data · KM3io.jl</title><meta name="title" content="Accessing Live Data · KM3io.jl"/><meta property="og:title" content="Accessing Live Data · KM3io.jl"/><meta property="twitter:title" content="Accessing Live Data · KM3io.jl"/><meta name="description" content="Documentation for KM3io.jl."/><meta property="og:description" content="Documentation for KM3io.jl."/><meta property="twitter:description" content="Documentation for KM3io.jl."/><script data-outdated-warner src="../../assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.050/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="../.."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../../assets/documenter.js"></script><script src="../../search_index.js"></script><script src="../../siteinfo.js"></script><script src="../../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-mocha.css" data-theme-name="catppuccin-mocha"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-macchiato.css" data-theme-name="catppuccin-macchiato"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-frappe.css" data-theme-name="catppuccin-frappe"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/catppuccin-latte.css" data-theme-name="catppuccin-latte"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../../assets/themeswap.js"></script><link href="../../assets/custom.css" rel="stylesheet" type="text/css"/></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../../"><img src="../../assets/logo.svg" alt="KM3io.jl logo"/></a><button class="docs-search-query input is-rounded is-small is-clickable my-2 mx-auto py-1 px-2" id="documenter-search-query">Search docs (Ctrl + /)</button><ul class="docs-menu"><li><a class="tocitem" href="../../">Home</a></li><li><span class="tocitem">Manual</span><ul><li><a class="tocitem" href="../../manual/rootfiles/">ROOT Files</a></li><li><a class="tocitem" href="../../manual/detector/">Detector and its Components</a></li><li><a class="tocitem" href="../../manual/calibration/">Calibration</a></li><li><a class="tocitem" href="../../manual/auxfiles/">Auxiliary Files</a></li><li><a class="tocitem" href="../../manual/tools/">Tools</a></li></ul></li><li><span class="tocitem">Examples</span><ul><li><a class="tocitem" href="../online_data/">Online data</a></li><li><a class="tocitem" href="../offline_data/">Offline data</a></li><li><a class="tocitem" href="../cherenkov_times/">Cherenkov times</a></li><li><a class="tocitem" href="../orientations/">Orientations</a></li><li class="is-active"><a class="tocitem" href>Accessing Live Data</a><ul class="internal"><li><a class="tocitem" href="#Launching-JLigier"><span>Launching <code>JLigier</code></span></a></li><li><a class="tocitem" href="#Simulating-the-DAQ"><span>Simulating the DAQ</span></a></li><li><a class="tocitem" href="#Retrieving-Events"><span>Retrieving Events</span></a></li></ul></li><li><a class="tocitem" href="../hdf5/">HDF5</a></li></ul></li><li><a class="tocitem" href="../../api/">API</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><a class="docs-sidebar-button docs-navbar-link fa-solid fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">Examples</a></li><li class="is-active"><a href>Accessing Live Data</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Accessing Live Data</a></li></ul></nav><div class="docs-right"><a class="docs-navbar-link" href="https://git.km3net.de/common/KM3io.jl" title="View the repository"><span class="docs-icon fa-brands"></span><span class="docs-label is-hidden-touch">Repository</span></a><a class="docs-navbar-link" href="https://git.km3net.de/common/KM3io.jl/blob/main/docs/src/examples/controlhost.md#L" title="Edit source"><span class="docs-icon fa-solid"></span></a><a class="docs-settings-button docs-navbar-link fa-solid fa-gear" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-article-toggle-button fa-solid fa-chevron-up" id="documenter-article-toggle-button" href="javascript:;" title="Collapse all docstrings"></a></div></header><article class="content" id="documenter-page"><h1 id="Accessing-Live-Data"><a class="docs-heading-anchor" href="#Accessing-Live-Data">Accessing Live Data</a><a id="Accessing-Live-Data-1"></a><a class="docs-heading-anchor-permalink" href="#Accessing-Live-Data" title="Permalink"></a></h1><p>This example shows how to access and process live data (events) from the KM3NeT DAQ system. We will use two Jpp command line tools (<a href="https://common.pages.km3net.de/jpp/#JLigier"><code>JLigier</code></a> and <a href="https://common.pages.km3net.de/jpp/#JRegurgitate"><code>JRegurgitate</code></a>) to create a ligier dispatcher and send triggered DAQ events to it.</p><p>This example uses Jpp v14.4.3 and real data from a KM3NeT detector (online ROOT format) with the filename <code>KM3NeT_00000075_00010275.root</code> which can be found on the HPSS storage.</p><h2 id="Launching-JLigier"><a class="docs-heading-anchor" href="#Launching-JLigier">Launching <code>JLigier</code></a><a id="Launching-JLigier-1"></a><a class="docs-heading-anchor-permalink" href="#Launching-JLigier" title="Permalink"></a></h2><p>We open a terminal and launch the <code>JLigier</code> process with a high debug level. This ligier is the central communication point and it will receive messages which are tagged with short label of maximum 8 characters.</p><pre><code class="language-shell hljs">$ JLigier -P 5553 -d 3
Port 5553
Memory limit 16760735744
Queue limit 100</code></pre><p>The ligier is now running and and listening on port 5553 of all host IP addresses (including the localhost <code>127.0.0.1</code>). Clients can connect to it and subscribe for a given set of message tags. Leave this terminal open.</p><h2 id="Simulating-the-DAQ"><a class="docs-heading-anchor" href="#Simulating-the-DAQ">Simulating the DAQ</a><a id="Simulating-the-DAQ-1"></a><a class="docs-heading-anchor-permalink" href="#Simulating-the-DAQ" title="Permalink"></a></h2><p>The first client we start in new terminal session is the <a href="https://common.pages.km3net.de/jpp/#JRegurgitate"><code>JRegurgitate</code></a> process which takes a ROOT file (in online format), a class identifier, a few other parameters like the frequency and timeout of the messages and also the IP and port of the ligier to send to. We will use this application to simulate the KM3NeT DAQ – at least the output of the <a href="https://common.pages.km3net.de/jpp/#JDataFilter"><code>JDataFilter</code></a> which is responsible for triggering events and sending them downstreams to a <code>JLigier</code> so that they can be picked up by the <a href="https://common.pages.km3net.de/jpp/#JDataWriter"><code>JDataWriter</code></a> to store them in <a href="../../manual/rootfiles/#online_dataformat">ROOT files (online format)</a>.</p><pre><code class="language-shell hljs">$ JRegurgitate -f /data/sea/KM3NeT_00000075_00010275.root -C JDAQEvent -R 2 -T 10000000 -H 127.0.0.1:5553</code></pre><p>This program is fairly quite but if you look at the terminal where the <code>JLigier</code> is running, you&#39;ll see a flood of messages, showing that a new client has connected and data is received (tagged with <code>IO_EVT</code>). It also prints the number of bytes of each message:</p><pre><code class="language-shell hljs">$ JLigier -P 5553 -d 3
Port 30001
Memory limit 16760735744
Queue limit 100
New client[4]
Client[4].read(0,1,1756)
Client[4].read(1,2,0)
Message[4] IO_EVT 1772
Client[4].read(0,1,1394)
Client[4].read(1,2,0)
Message[4] IO_EVT 1410
Client[4].read(0,1,1716)
...
...
...</code></pre><h2 id="Retrieving-Events"><a class="docs-heading-anchor" href="#Retrieving-Events">Retrieving Events</a><a id="Retrieving-Events-1"></a><a class="docs-heading-anchor-permalink" href="#Retrieving-Events" title="Permalink"></a></h2><p>Now open a thrid terminal and fire up the Julia REPL. With a few lines, we will able to connect to the ligier and receive DAQ events interactively.</p><pre><code class="language-julia-repl hljs">julia&gt; using KM3io
julia&gt; c = CHClient{KM3io.DAQEvent}(ip&quot;127.0.0.1&quot;, 5553)
CHClient{DAQEvent}(ip&quot;127.0.0.1&quot;, 0x7531, CHTag[CHTag(&quot;IO_EVT&quot;)], Sockets.TCPSocket(RawFD(20) open, 0 bytes waiting))
julia&gt; for e in c
@show e
end
e = DAQEvent with 126 snapshot and 7 triggered hits
e = DAQEvent with 138 snapshot and 6 triggered hits
e = DAQEvent with 149 snapshot and 6 triggered hits
e = DAQEvent with 149 snapshot and 6 triggered hits
e = DAQEvent with 136 snapshot and 6 triggered hits
...
...
...</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../orientations/">« Orientations</a><a class="docs-footer-nextpage" href="../hdf5/">HDF5 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.10.1 on <span class="colophon-date" title="Friday 4 April 2025 18:23">Friday 4 April 2025</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment