@@ -336,6 +336,7 @@ class MAGICEventSource(EventSource):
...
@@ -336,6 +336,7 @@ class MAGICEventSource(EventSource):
else:
else:
assertself.current_run['data'].mcheader_data['M1']==self.current_run['data'].mcheader_data['M2'],"Simulation configurations are different for M1 and M2 !!!"
assertself.current_run['data'].mcheader_data['M1']==self.current_run['data'].mcheader_data['M2'],"Simulation configurations are different for M1 and M2 !!!"
mcheader_data['sim_reuse']=1#this value is not written in the magic root file, but since the sim_events already include shower reuse we artificially set it to 1 (actually every shower reused 5 times for std MAGIC MC)