diff --git a/sim2root/CoREASRawRoot/CoreasToRawROOT.py b/sim2root/CoREASRawRoot/CoreasToRawROOT.py index f8ad8c30..add180c6 100644 --- a/sim2root/CoREASRawRoot/CoreasToRawROOT.py +++ b/sim2root/CoREASRawRoot/CoreasToRawROOT.py @@ -145,9 +145,10 @@ def CoreasToRawRoot(file, simID=None): GeomagneticAngle = read_params(reas_input, "GeomagneticAngle") # in degrees else: - #theta_GRAND = 180-theta_Corsika - zenith = 180 - read_params(inp_input, "THETAP") - azimuth = read_params(inp_input, "PHIP") + #theta_GRAND = theta_Corsika + zenith = read_params(inp_input, "THETAP") + #azimuth_GRAND = 180 - azimuth_Corsika + azimuth = 180 - read_params(inp_input, "PHIP") Energy = read_params(inp_input, "ERANGE") # in GeV Primary = read_params(inp_input, "PRMPAR") # as defined in CORSIKA