OscProb
|
#include <EarthModelBinned.h>
Public Member Functions | |
EarthBin (double r_out=0, double r_in=0, double lat=0, double lon=0, double den=0, double z=0.5, int n=0) | |
Constructor. More... | |
void | SetBin (double r_out=0, double r_in=0, double lat=0, double lon=0, double den=0, double z=0.5, int n=0) |
Set the properties of the bin. More... | |
Public Attributes | |
double | radius_out |
The outer radius of the bin in km. More... | |
double | radius_in |
The inner radius of the bin in km. More... | |
double | latitude |
The latitude of the bin center in radians. More... | |
double | longitude |
The longitude of the bin center in radians. More... | |
double | density |
The density of the matter in the bin in g/cm^3. More... | |
double | zoa |
The effective Z/A value of the matter in the bin. More... | |
int | index |
Region index. More... | |
Definition at line 150 of file EarthModelBinned.h.
|
inline |
Constructor.
By default it creates a bin of zero radius, zero latitude, zero longitude, and zero density. The effective Z/A value is set to 0.5 by default.
The properties of the layer can be given directly in the construction.
r_out | - The outer radius of the bin in km |
r_in | - The inner radius of the bin in km |
lat | - Latitude of bin center in deg |
lon | - Longitude of bin center in deg |
den | - The density of the matter in the bin in g/cm^3 |
z | - The effective Z/A value of the matter in the bin |
n | - Region index |
Definition at line 170 of file EarthModelBinned.h.
References SetBin().
|
inline |
Set the properties of the bin.
By default it creates a bin of zero radius, zero latitude, zero longitude, and zero density. The effective Z/A value is set to 0.5 by default.
r_out | - The outer radius of the bin in km |
r_in | - The inner radius of the bin in km |
lat | - Latitude of bin center in deg |
lon | - Longitude of bin center in deg |
den | - The density of the matter in the bin in g/cm^3 |
z | - The effective Z/A value of the matter in the bin |
n | - Region index |
Definition at line 193 of file EarthModelBinned.h.
References density, index, latitude, longitude, radius_in, radius_out, and zoa.
Referenced by EarthBin().
double OscProb::EarthBin::density |
Definition at line 209 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::AddPath(), and SetBin().
int OscProb::EarthBin::index |
Definition at line 211 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::AddPath(), and SetBin().
double OscProb::EarthBin::latitude |
Definition at line 207 of file EarthModelBinned.h.
Referenced by SetBin().
double OscProb::EarthBin::longitude |
Definition at line 208 of file EarthModelBinned.h.
Referenced by SetBin().
double OscProb::EarthBin::radius_in |
Definition at line 206 of file EarthModelBinned.h.
Referenced by SetBin().
double OscProb::EarthBin::radius_out |
Definition at line 205 of file EarthModelBinned.h.
Referenced by SetBin().
double OscProb::EarthBin::zoa |
Definition at line 210 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::AddPath(), and SetBin().