|
OscProb
|
A struct holding useful combinations of trajectory variables. More...
#include <EarthModelBinned.h>
Public Member Functions | |
| TrajConstants (double cosT=0, double phi=0, double DetLat=0, double DetLon=0, double rDet=6368) | |
| Constructor. More... | |
| void | UpdateNuAngles (double cosTheta, double phi) |
| void | UpdateDetPos (double rDet, double DetLat, double DetLon) |
| void | Recalculate () |
Public Attributes | |
| double | cosT |
| cosT More... | |
| double | cosA |
| cos(phi) More... | |
| double | sinA |
| sin(phi) More... | |
| double | sinDetLat |
| sin(DetLat) More... | |
| double | cosDetLon |
| cos(DetLon) More... | |
| double | sinDetLon |
| sin(DetLon) More... | |
| double | DetRadius |
| rDet More... | |
| double | sinSqT |
| sin^2(T) = 1 - (cosT)^2 More... | |
| double | sinT |
| sin(T) = sqrt(sinSqT) More... | |
| double | sinTsinA |
| sin(T)*sin(phi) More... | |
| double | sinTcosA |
| sin(T)*cos(phi) More... | |
| double | cosDetLat |
| cos(DetLat) More... | |
| double | rDetSinDetLat |
| rDet*sin(DetLat) More... | |
| double | rDetCosDetLat |
| rDet*cos(DetLat) More... | |
| double | sinTsinAsinDetLon |
| sin(T)*sin(phi)*sin(DetLon) More... | |
| double | sinTsinAcosDetLon |
| sin(T)*sin(phi)*cos(DetLon) More... | |
| double | cosTcosDetLat |
| cosT*cos(DetLat) More... | |
| double | rDetCosT |
| rDet*cosT More... | |
| double | rDetSinT |
| rDet*sin(T) More... | |
| double | alpha |
| sin(T)*cos(phi)*sin(DetLat)-cosT*cos(DetLat) More... | |
| double | beta |
| sin(T)*sin(DetLat)-cos(phi)*cosT*cos(DetLat) More... | |
| double | gamma |
| sin(T)*cos(phi)*cos(DetLat)+cosT*sin(DetLat) More... | |
| double | gammaSq |
| [sin(T)*cos(phi)*cos(DetLat)+cosT*sin(DetLat)]^2 More... | |
| double | rDetGammaSinDetLat |
| rDet*sin(DetLat)*[sin(T)*cos(phi)*cos(DetLat)+cosT*sin(DetLat)] More... | |
| double | maxSinSqLat |
| 1 - [sin(phi)*cos(DetLat)]^2 More... | |
| double | xlatextreme |
This struct holds combinations of variables that are useful when doing the calculations needed for FindPath within EarthModelBinned.
Definition at line 80 of file EarthModelBinned.h.
| TrajConstants::TrajConstants | ( | double | cosT = 0, |
| double | phi = 0, |
||
| double | DetLat = 0, |
||
| double | DetLon = 0, |
||
| double | rDet = 6368 |
||
| ) |
Constructor.
By default, it sets cosT, Az, latD, and lonD equal to 0, and it uses 6368km for rD.
| cosT | - Cosine of the zenith angle for the neutrino trajectory |
| phi | - The azimuthal angle for the neutrino trajectory (in rad) |
| DetLat | - The latitude of the detector (in rad) |
| DetLon | - The longitude of the detector (in rad) |
| rDet | - The distance from the center of the Earth to the detector (in km) |
Definition at line 19 of file EarthModelBinned.cxx.
References cosT, UpdateDetPos(), and UpdateNuAngles().
| void TrajConstants::Recalculate | ( | ) |
Calculate constants that use combinations of detector position variables and neutrino direction angles
Recalculate constants that use combinations of detector position variables and neutrino direction angles.
Definition at line 73 of file EarthModelBinned.cxx.
References alpha, beta, cosA, cosDetLat, cosDetLon, cosT, cosTcosDetLat, DetRadius, gamma, gammaSq, maxSinSqLat, rDetCosDetLat, rDetCosT, rDetGammaSinDetLat, rDetSinDetLat, rDetSinT, sinA, sinDetLat, sinDetLon, sinT, sinTcosA, sinTsinA, sinTsinAcosDetLon, sinTsinAsinDetLon, and xlatextreme.
Referenced by OscProb::EarthModelBinned::FillPath().
| void TrajConstants::UpdateDetPos | ( | double | rDet, |
| double | DetLat, | ||
| double | DetLon | ||
| ) |
Update detector position for neutrino trajectory calculations
Update detector position for neutrino trajectory calculations.
| rDet | - The distance from the center of the Earth to the detector (in km) |
| DetLat | - The latitude of the detector (in rad) |
| DetLon | - The longitude of the detector (in rad) |
Definition at line 56 of file EarthModelBinned.cxx.
References cosDetLat, cosDetLon, DetRadius, rDetCosDetLat, rDetSinDetLat, sinDetLat, and sinDetLon.
Referenced by OscProb::EarthModelBinned::SetDetPos(), and TrajConstants().
| void TrajConstants::UpdateNuAngles | ( | double | cosTheta, |
| double | phi | ||
| ) |
Update values of zenith angle and azimuthal angle for neutrino trajectory
Update values of zenith angle and azimuthal angle for neutrino trajectory.
| cosTheta | - Cosine of the zenith angle |
| phi | - The azimuthal angle in radians |
Definition at line 34 of file EarthModelBinned.cxx.
References cosA, cosT, sinA, sinSqT, sinT, sinTcosA, and sinTsinA.
Referenced by OscProb::EarthModelBinned::FillPath(), and TrajConstants().
| double OscProb::TrajConstants::alpha |
Definition at line 136 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLonBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::beta |
Definition at line 137 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::cosA |
Definition at line 112 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateNuAngles().
| double OscProb::TrajConstants::cosDetLat |
Definition at line 126 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::cosDetLon |
Definition at line 115 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLonBin(), OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::cosT |
Definition at line 111 of file EarthModelBinned.h.
Referenced by Recalculate(), TrajConstants(), and UpdateNuAngles().
| double OscProb::TrajConstants::cosTcosDetLat |
Definition at line 133 of file EarthModelBinned.h.
Referenced by Recalculate().
| double OscProb::TrajConstants::DetRadius |
Definition at line 117 of file EarthModelBinned.h.
Referenced by Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::gamma |
Definition at line 138 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::gammaSq |
Definition at line 139 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), and Recalculate().
| double OscProb::TrajConstants::maxSinSqLat |
Definition at line 142 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), and Recalculate().
| double OscProb::TrajConstants::rDetCosDetLat |
Definition at line 128 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLonBin(), OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::rDetCosT |
Definition at line 134 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::rDetGammaSinDetLat |
Definition at line 141 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), and Recalculate().
| double OscProb::TrajConstants::rDetSinDetLat |
Definition at line 127 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::rDetSinT |
Definition at line 135 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::sinA |
Definition at line 113 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateNuAngles().
| double OscProb::TrajConstants::sinDetLat |
Definition at line 114 of file EarthModelBinned.h.
Referenced by Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::sinDetLon |
Definition at line 116 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLonBin(), OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateDetPos().
| double OscProb::TrajConstants::sinSqT |
Definition at line 120 of file EarthModelBinned.h.
Referenced by UpdateNuAngles().
| double OscProb::TrajConstants::sinT |
Definition at line 121 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::FillPath(), Recalculate(), and UpdateNuAngles().
| double OscProb::TrajConstants::sinTcosA |
Definition at line 123 of file EarthModelBinned.h.
Referenced by Recalculate(), and UpdateNuAngles().
| double OscProb::TrajConstants::sinTsinA |
Definition at line 122 of file EarthModelBinned.h.
Referenced by Recalculate(), and UpdateNuAngles().
| double OscProb::TrajConstants::sinTsinAcosDetLon |
Definition at line 132 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLonBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::sinTsinAsinDetLon |
Definition at line 131 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLonBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().
| double OscProb::TrajConstants::xlatextreme |
rDet*cos(phi)*cos(DetLat)/[sin(T)*sin(DetLat)-cos(phi)*cosT*cos(DetLat)], unless the denominator is 0, in which case it is set to 0
Definition at line 144 of file EarthModelBinned.h.
Referenced by OscProb::EarthModelBinned::DetDistForNextLatBin(), OscProb::EarthModelBinned::FillPath(), and Recalculate().