Commit 171f3eb0 authored by Federico Di Pierro's avatar Federico Di Pierro
Browse files

Added shower reuse value also in the mono_event_generator

parent f41bddde
Pipeline #89560 failed with stage
in 20 minutes and 29 seconds
......@@ -521,6 +521,7 @@ class MAGICEventSource(EventSource):
#fdp (mono version not fully tested)
data.mcheader.num_showers = self.current_run['data'].mcheader_data[telescope]['sim_nevents'] # total, including reuse
data.mcheader.shower_reuse = self.current_run['data'].mcheader_data[telescope]['sim_reuse']
data.mcheader.energy_range_min = (self.current_run['data'].mcheader_data[telescope]['sim_emin']).to(u.TeV) # GeV->TeV
data.mcheader.energy_range_max = (self.current_run['data'].mcheader_data[telescope]['sim_emax']).to(u.TeV) # GeV->TeV
data.mcheader.spectral_index = self.current_run['data'].mcheader_data[telescope]['sim_eslope']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment