Commit 55b1bebb authored by Moritz Huetten's avatar Moritz Huetten

hack to read all events by pedestal event generator

parent 5684d93c
Pipeline #74365 passed with stage
in 9 minutes and 32 seconds
......@@ -1075,8 +1075,8 @@ class MarsRun:
pedestal_trigger_pattern = 8
for telescope in self.event_data:
ped_triggers = np.where(self.event_data[telescope]['trigger_pattern'] == pedestal_trigger_pattern)
pedestal_ids[telescope] = ped_triggers[0]
ped_triggers = np.arange(len(self.event_data[telescope]['trigger_pattern']))
pedestal_ids[telescope] = ped_triggers #[0]
return pedestal_ids
......
Markdown is supported
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