Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
km3io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
km3py
km3io
Commits
31f64be8
Commit
31f64be8
authored
4 years ago
by
Zineb Aly
Browse files
Options
Downloads
Patches
Plain Diff
remove old DAQ doc file
parent
c30691f2
Branches
14-read-problem-with-timeslice-key-default
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/plot_example.py
+0
-27
0 additions, 27 deletions
examples/plot_example.py
with
0 additions
and
27 deletions
examples/plot_example.py
deleted
100644 → 0
+
0
−
27
View file @
c30691f2
"""
Reading DAQ Data
================
The following example shows how to access hits in a ROOT file which is coming
from the detector and written by the `JDataWriter` application.
Such a file is usually called
"
KM3NET_00000001_00000002.root
"
, where the first
number is the detector ID and the second the run number.
"""
import
km3io
#####################################################
# Accessing the event tree
# ------------------------
# Just pass a filename to the reader class and get access to the event tree
# with:
f
=
km3io
.
OnlineReader
(
"
samples/daq_v1.0.0.root
"
)
#####################################################
# Note that only some meta information is read into memory.
#
# Printing it will simply tell you how many events it has found. Again, nothing
# else is read yet:
print
(
f
.
events
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment