Skip to content

Commit

Permalink
change azimuth to GRAND conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
jelenakhlr committed Mar 18, 2024
1 parent 7c173fa commit f8cc6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim2root/CoREASRawRoot/CoreasToRawROOT.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def CoreasToRawRoot(file, simID=None):

if read_params(reas_input, "ShowerZenithAngle"):
zenith = read_params(reas_input, "ShowerZenithAngle")
azimuth = read_params(reas_input, "ShowerAzimuthAngle")
azimuth = read_params(reas_input, "ShowerAzimuthAngle") + 180 #shift to GRAND conventions

Energy = read_params(reas_input, "PrimaryParticleEnergy") # in GeV
Primary = read_params(reas_input, "PrimaryParticleType") # as defined in CORSIKA
Expand Down

0 comments on commit f8cc6cd

Please # to comment.