Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ievgen Vovk
ctapipe_io_magic
Commits
48182ed3
Commit
48182ed3
authored
Apr 22, 2019
by
Ievgen Vovk
Browse files
[MarsMCFile]: fixed true MC values not returned when reading mono events.
parent
c6dbdbed
Pipeline
#47252
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
ctapipe_io_magic/__init__.py
View file @
48182ed3
...
...
@@ -1578,9 +1578,9 @@ class MarsMCFile:
pointing_zd
=
self
.
event_data
[
'pointing_zd'
][
event_id
]
pointing_az
=
self
.
event_data
[
'pointing_az'
][
event_id
]
event_true_energy
=
0.0
event_true_zd
=
0.0
event_true_az
=
0.0
event_true_energy
=
self
.
event_data
[
'true_energy'
][
event_id
]
event_true_zd
=
self
.
event_data
[
'true_zd'
][
event_id
]
event_true_az
=
self
.
event_data
[
'true_az'
][
event_id
]
event_data
=
dict
()
event_data
[
'image'
]
=
photon_content
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment