43 EarthModel(
int model = 0,
int WEIGHTABSORPTION_SETTING=1);
46 static constexpr
double R_EARTH=6.378140E6;
56 virtual double Geoid(
double latitude) ;
60 virtual double Surface(
double lon,
double lat) ;
66 virtual double WaterDepth(
double lon,
double lat) ;
74 double distance_in_ice,
75 bool include_ice_absorption,
79 double& probability_tmp,
157 double SmearPhi(
int ilon,
double rand);
162 double GetLat(
double theta) ;
163 double GetLon(
double phi) ;
static constexpr double R_EARTH
Definition: earthmodel.hh:46
double uppercrustr[NLON][NLAT]
Definition: earthmodel.hh:129
static const double MAXTHETA
Definition: earthmodel.hh:120
double GetLat(double theta)
Definition: earthmodel.cc:207
double ice_area
Definition: earthmodel.hh:53
static double LongtoPhi_0isPrimeMeridian(double longitude)
Definition: earthmodel.cc:119
double waterthkarray[NLON][NLAT]
Definition: earthmodel.hh:136
static constexpr int NPHI
Definition: earthmodel.hh:119
virtual ~EarthModel()
Definition: earthmodel.cc:116
virtual double WaterDepth(double lon, double lat)
Definition: earthmodel.cc:199
int FIXEDELEVATION
Definition: earthmodel.hh:104
This class represents a three-vector. Operators are overloaded to provide for the familiar operations...
Definition: vector.hh:27
double GetLon(double phi)
Definition: earthmodel.cc:211
double dGetPhi(int ilon)
Definition: earthmodel.cc:974
double total_kgm2
Definition: icemc.cc:370
double middlecrustr[NLON][NLAT]
Definition: earthmodel.hh:130
int weightabsorption
Definition: earthmodel.hh:106
double waterdensityarray[NLON][NLAT]
Definition: earthmodel.hh:144
static const int ILAT_COASTLINE
Definition: earthmodel.hh:123
int crust_entered
Definition: icemc.cc:393
double crustthkarray[NLON][NLAT]
Definition: earthmodel.hh:143
double max_icevol_perbin
Definition: earthmodel.hh:54
static constexpr int getchord_method
Definition: earthmodel.hh:110
double icethkarray[NLON][NLAT]
Definition: earthmodel.hh:137
double area[NLAT]
Definition: earthmodel.hh:151
virtual double RockSurface(double lon, double lat)
Definition: earthmodel.cc:183
Ice thicknesses and water depth.
Definition: icemodel.hh:88
double radii[3]
Definition: earthmodel.hh:49
double hardsedthkarray[NLON][NLAT]
Definition: earthmodel.hh:139
static constexpr int NLON
Definition: earthmodel.hh:117
double surfacer[NLON][NLAT]
Definition: earthmodel.hh:124
This class is a 3-vector that represents a position on the Earth's surface.
Definition: position.hh:26
double softseddensityarray[NLON][NLAT]
Definition: earthmodel.hh:146
void GetILonILat(const Position &, int &ilon, int &ilat)
Definition: earthmodel.cc:981
static const double GEOID_MIN
Definition: earthmodel.hh:113
virtual double IceThickness(double lon, double lat)
Definition: earthmodel.cc:159
double hardsedr[NLON][NLAT]
Definition: earthmodel.hh:128
int FLATSURFACE
Definition: earthmodel.hh:105
void EarthCurvature(double *array, double depth_temp)
Definition: earthmodel.cc:994
static const double COASTLINE
Definition: earthmodel.hh:114
Functions you need to generate a primary interaction including cross sections and picking charged cur...
Definition: Primaries.h:83
double nearthlayers
Definition: icemc.cc:250
double lowercrustdensityarray[NLON][NLAT]
Definition: earthmodel.hh:150
void ReadCrust(string)
Definition: earthmodel.cc:689
double lowercrustr[NLON][NLAT]
Definition: earthmodel.hh:131
static double LongtoPhi_0is180thMeridian(double longitude)
Definition: earthmodel.cc:132
int mantle_entered
Definition: icemc.cc:394
double phistep
Definition: earthmodel.hh:122
virtual double SurfaceDeepIce(const Position &pos)
Definition: earthmodel.cc:171
double softsedr[NLON][NLAT]
Definition: earthmodel.hh:127
double average_iceth
Definition: earthmodel.hh:152
static const double GEOID_MAX
Definition: earthmodel.hh:112
int CONSTANTICETHICKNESS
Definition: earthmodel.hh:102
double GetDensity(double altitude, const Position earth_in, int &crust_entered, bool *inice=0)
Definition: earthmodel.cc:220
Reads in and stores input settings for the run.
Definition: Settings.h:35
double icedensityarray[NLON][NLAT]
Definition: earthmodel.hh:145
double volume
Definition: earthmodel.hh:52
double SmearTheta(int ilat, double rand)
Definition: earthmodel.cc:669
double waterr[NLON][NLAT]
Definition: earthmodel.hh:126
Vector PickPosnuForaLonLat(double lon, double lat, double theta, double phi)
Definition: earthmodel.cc:941
double uppercrustthkarray[NLON][NLAT]
Definition: earthmodel.hh:140
double middlecrustthkarray[NLON][NLAT]
Definition: earthmodel.hh:141
EarthModel(int model=0, int WEIGHTABSORPTION_SETTING=1)
Definition: earthmodel.cc:38
virtual double Geoid(double latitude)
Definition: earthmodel.cc:147
virtual double SurfaceAboveGeoid(double lon, double lat)
Definition: earthmodel.cc:191
int core_entered
Definition: icemc.cc:395
virtual double Surface(double lon, double lat)
Definition: earthmodel.cc:175
double thetastep
Definition: earthmodel.hh:121
Position WhereDoesItEnter(const Position &posnu, const Vector &nnu)
Definition: earthmodel.cc:1014
double softsedthkarray[NLON][NLAT]
Definition: earthmodel.hh:138
double elevationarray[NLON][NLAT]
Definition: earthmodel.hh:135
double max_icethk_perbin
Definition: earthmodel.hh:55
int CONSTANTCRUST
Definition: earthmodel.hh:103
int inu
Definition: icemc.cc:124
double icer[NLON][NLAT]
Definition: earthmodel.hh:125
double lowercrustthkarray[NLON][NLAT]
Definition: earthmodel.hh:142
double MIN_ALTITUDE_CRUST
Definition: earthmodel.hh:133
double dGetTheta(int itheta)
Definition: earthmodel.cc:970
double hardseddensityarray[NLON][NLAT]
Definition: earthmodel.hh:147
int Getchord(Settings *settings1, double len_int_kgm2, const Position &earth_in, double distance_in_ice, bool include_ice_absorption, const Position &posnu, int inu, double &chord, double &probability_tmp, double &weight1_tmp, double &nearthlayers, double myair, double &total_kgm2, int &crust_entered, int &mantle_entered, int &core_entered)
Definition: earthmodel.cc:280
double geoid[NLAT]
Definition: earthmodel.hh:132
int EARTH_MODEL
Definition: earthmodel.hh:101
static constexpr int NLAT
Definition: earthmodel.hh:118
virtual int InFirn(const Position &pos)
Definition: earthmodel.cc:166
int GeoidIntersection(Vector x0, Vector p0, Position *int1, Position *int2, double extra_height=5500, double *ds=0) const
Definition: earthmodel.cc:1079
Vector GetSurfaceNormal(const Position &r_out)
Definition: earthmodel.cc:611
double SmearPhi(int ilon, double rand)
Definition: earthmodel.cc:658
double middlecrustdensityarray[NLON][NLAT]
Definition: earthmodel.hh:149
constexpr double densities[3]
Definition: earthmodel.hh:169
Shape of the earth, ice thicknesses, profiles of earth layers, densities, neutrino absorption...
Definition: earthmodel.hh:40
Stores everything about a particular neutrino interaction. Interaction.
Definition: Primaries.h:136
double uppercrustdensityarray[NLON][NLAT]
Definition: earthmodel.hh:148