CorsikaUtilities.h
Go to the documentation of this file.
1 #ifndef _io_CorsikaToPDG_h_
2 #define _io_CorsikaToPDG_h_
3 
4 #include <utl/AugerUnits.h>
5 
6 
7 namespace io {
8 
9  namespace Corsika {
10 
18  int CorsikaToPDG(const int corsikaCode);
20 
22  double CorsikaAzimuthToAuger(const double corsikaAzimuth,
23  const double magneticFieldDeclination);
24 
25  const double kEarthRadius = 6.371315e6*utl::m;
26  const double hAtmBoundary = 112.8292*utl::km;
27 
29  double fZLAY[5];
30  double fHLAY[5];
31  double fAATM[5];
32  double fBATM[5];
33  double fCATM[5];
34  };
35 
36  }
37 
38 }
39 
40 
41 #endif
constexpr double km
Definition: AugerUnits.h:125
double CorsikaAzimuthToAuger(const double corsikaAzimuth, const double magneticFieldDeclination)
Returns the azimuth rotated from Corisika&#39;s system to Auger standard.
const double hAtmBoundary
int CorsikaToPDG(const int corsikaCode)
converters from CORSIKA to PDG particle codes
constexpr double m
Definition: AugerUnits.h:121
const double kEarthRadius

, generated on Tue Sep 26 2023.