Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3io.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
common
KM3io.jl
Commits
70553bd0
Verified
Commit
70553bd0
authored
2 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Update docs on Summaryslices
parent
a2d6b806
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-0
33 additions, 0 deletions
README.md
with
33 additions
and
0 deletions
README.md
+
33
−
0
View file @
70553bd0
...
...
@@ -68,3 +68,36 @@ event.header.frame_index = 129
length
(
event
.
snapshot_hits
)
=
78
```
### Summaryslices and Summary Frames
Summaryslices are generated from timeslices (raw hit data) and are produced by
the DataFilter. A slice contains the data of 100ms and is divided into so-called
frames, each corresponding to the data of a single optical module. Due to the
high amount of data, the storage of timeslices is usually reduced by a factor of
10-100 after the event triggering stage. However, summaryslices are covering the
full data taking period. They however do not contain hit data but only the rates
of the PMTs encoded into a single byte, which therefore is only capable to store
256 different values. The actual rate is calcuated by a helper function (TODO).
The summaryslices are accessible using the
`.summaryslices`
attribute of the
`OnlineFile`
instance:
```
julia
julia
>
using
KM3io
,
UnROOT
,
KM3NeTTestData
julia
>
f
=
OnlineFile
(
datapath
(
"online"
,
"km3net_online.root"
))
OnlineFile
with
3
events
julia
>
f
.
summaryslices
KM3io
.
SummarysliceContainer
with
3
summaryslices
julia
>
for
s
∈
f
.
summaryslices
@show
s
.
header
end
s
.
header
=
KM3io
.
SummarysliceHeader
(
44
,
6633
,
126
,
KM3io
.
UTCExtended
(
0x5dc6018c
,
0x23c34600
,
false
))
s
.
header
=
KM3io
.
SummarysliceHeader
(
44
,
6633
,
127
,
KM3io
.
UTCExtended
(
0x5dc6018c
,
0x29b92700
,
false
))
s
.
header
=
KM3io
.
SummarysliceHeader
(
44
,
6633
,
128
,
KM3io
.
UTCExtended
(
0x5dc6018c
,
0x2faf0800
,
false
))
```
To access the actual PMT rates and flags (e.g. for high-rate veto or FIFO
status), the
`s.frames`
can be used (TODO).
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