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
e4b905c0
Verified
Commit
e4b905c0
authored
2 years ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Update accessors for new definitions
parent
f36a5412
No related branches found
No related tags found
1 merge request
!71
Resolve "New KM3NeT Dataformat Release v2.2.0"
Pipeline
#26502
passed
2 years ago
Stage: test
Stage: coverage
Stage: doc
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/km3io/definitions.py
+9
-0
9 additions, 0 deletions
src/km3io/definitions.py
with
9 additions
and
0 deletions
src/km3io/definitions.py
+
9
−
0
View file @
e4b905c0
...
...
@@ -9,9 +9,12 @@ from km3io._definitions.root import data as root
from
km3io._definitions.trigger
import
data
as
trigger
from
km3io._definitions.w2list_genhen
import
data
as
w2list_genhen
from
km3io._definitions.w2list_gseagen
import
data
as
w2list_gseagen
from
km3io._definitions.w2list_km3buu
import
data
as
w2list_km3buu
from
km3io._definitions.trkmembers
import
data
as
trkmembers
from
km3io._definitions.applications
import
data
as
applications
from
km3io._definitions.pmt_status
import
data
as
pmt_status
from
km3io._definitions.weightlist
import
data
as
weightlist
from
km3io._definitions.module_status
import
data
as
module_status
class
AttrDict
(
dict
):
...
...
@@ -29,11 +32,17 @@ fitparameters = AttrDict(fitparameters)
reconstruction
=
AttrDict
(
reconstruction
)
w2list_genhen
=
AttrDict
(
w2list_genhen
)
w2list_gseagen
=
AttrDict
(
w2list_gseagen
)
w2list_km3buu
=
AttrDict
(
w2list_km3buu
)
weightlist
=
AttrDict
(
weightlist
)
module_status
=
AttrDict
(
module_status
)
trigger_idx
=
{
v
:
k
for
k
,
v
in
trigger
.
items
()}
fitparameters_idx
=
{
v
:
k
for
k
,
v
in
fitparameters
.
items
()}
reconstruction_idx
=
{
v
:
k
for
k
,
v
in
reconstruction
.
items
()}
w2list_genhen_idx
=
{
v
:
k
for
k
,
v
in
w2list_genhen
.
items
()}
w2list_gseagen_idx
=
{
v
:
k
for
k
,
v
in
w2list_gseagen
.
items
()}
w2list_km3buu_idx
=
{
v
:
k
for
k
,
v
in
w2list_km3buu
.
items
()}
pmt_status_idx
=
{
v
:
k
for
k
,
v
in
pmt_status
.
items
()}
trkmembers_idx
=
{
v
:
k
for
k
,
v
in
trkmembers
.
items
()}
module_status_idx
=
{
v
:
k
for
k
,
v
in
module_status
.
items
()}
weightlist_idx
=
{
v
:
k
for
k
,
v
in
weightlist
.
items
()}
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