Skip to content

Commit

Permalink
Merge branch 'dev_sim2root' of https://github.com/grand-mother/grand
Browse files Browse the repository at this point in the history
…into dev_sim2root
  • Loading branch information
mjtueros committed Mar 4, 2024
2 parents f8ae3a9 + ee101ca commit 00ad1ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sim2root/CoREASRawRoot/CoreasToRawROOT.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00ad1ae

Please sign in to comment.