#include <Atmosphere.h>
Public Member Functions | |
Atmosphere (const bool UseGDAS=false, const std::string atmtype="monthly") | |
void | ClearCurrentAtmosphere () |
float | Get_DX_DL (float r, float psi, float SlantDepth, float theta, float hground, bool UseDL, bool IsDiffusive) |
float | Get_DX_DL_i (float r, float psi, float SlantDepth, float theta, float hground, bool UseDL, bool IsDiffusive) |
float | GetC0 () |
AtmModel * | GetCurrentAtmosphere () |
int | GetCurrentAtmosphereMonth () |
float | GetDensity (float h) |
float | GetDensity_i (float h) |
float | GetDensityAboveGround (float hground, float theta, float nRad) |
float | GetDensityAboveGround_i (float hground, float theta, float nRad) |
float | GetSlant0 () |
float | GetTimeCF (float r, float psi, float SlantDepth, float theta, float hground) |
float | GetTimeCF_h (float r, float psi, float h1, float theta, float hground) |
float | GetTimeCF_i (float r, float psi, float SlantDepth, float theta, float hground) |
float | GetTimePF (float r, float psi, float SlantDepth, float theta, float hground) |
float | GetTimePF_delay (float x, float y, float z, float theta, float azi) |
float | GetTimePF_h (float r, float psi, float hStart, float theta, float hground) |
float | GetTimePF_i (float r, float psi, float SlantDepth, float theta, float hground) |
float | HeightToSlantDepth (float h, float theta) |
float | HeightToVertDepth (float h) |
void | printCurrentAtmosphere (FILE *fp) |
void | SetCurrentAtmosphere (AtmModel theAtm) |
void | SetCurrentAtmosphere (int imonth) |
void | SetCurrentAtmosphere (float *ai, float *bi, float *ci, float *hi) |
float | SlantDepthToHeight (float sdepth, float theta) |
float | VertDepthToHeight (float vdepth) |
~Atmosphere () | |
Private Attributes | |
AtmModel | acurrent |
AtmModel | amonth [12] |
AtmModel | aseason [5] |
std::string | atmType |
bool | ok |
Definition at line 39 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
Atmosphere::Atmosphere | ( | const bool | UseGDAS = false , |
const std::string | atmtype = "monthly" |
||
) |
Definition at line 27 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References AtmosphereNS::AtmModel::ai, amonth, aseason, atmType, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, AtmosphereNS::AtmModel::hi, and ok.
Atmosphere::~Atmosphere | ( | ) |
Definition at line 253 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
void Atmosphere::ClearCurrentAtmosphere | ( | ) |
Definition at line 363 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, AtmosphereNS::AtmModel::hi, and ok.
float Atmosphere::Get_DX_DL | ( | float | r, |
float | psi, | ||
float | SlantDepth, | ||
float | theta, | ||
float | hground, | ||
bool | UseDL, | ||
bool | IsDiffusive | ||
) |
Definition at line 526 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References Get_DX_DL_i(), ok, and SetCurrentAtmosphere().
Referenced by UnivParamTimeNS::UnivParamTime::GetMS(), UnivParamNS::UnivParam::GetSignal(), UniversalityFitter::UniversalityFitter::Run(), and UnivRecNS::UnivRec::SetSPCoordinates().
float Atmosphere::Get_DX_DL_i | ( | float | r, |
float | psi, | ||
float | SlantDepth, | ||
float | theta, | ||
float | hground, | ||
bool | UseDL, | ||
bool | IsDiffusive | ||
) |
Definition at line 548 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References HeightToSlantDepth(), ok, std::pow(), SlantDepthToHeight(), and sqrt().
Referenced by Get_DX_DL(), and UnivTimeKGTester::UnivTimeKGTester::Run().
|
inline |
Definition at line 78 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
References acurrent, and AtmosphereNS::AtmModel::ci.
|
inline |
Definition at line 51 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
References acurrent.
|
inline |
Definition at line 55 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
References acurrent, and AtmosphereNS::AtmModel::atmflag.
Referenced by UnivRecNS::UnivRec::InitRecParameters().
float Atmosphere::GetDensity | ( | float | h | ) |
Definition at line 485 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetDensity_i(), ok, and SetCurrentAtmosphere().
Referenced by AtmCorrNS::AtmCorr::GetCorrTypeI(), GetDensityAboveGround_i(), UnivParamNS::UnivParam::GetSignal(), and UnivRecNS::UnivRec::SetSPCoordinates().
float Atmosphere::GetDensity_i | ( | float | h | ) |
Definition at line 498 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, RdGeoCeLDFFitter::h_max, AtmosphereNS::AtmModel::hi, and ok.
Referenced by GetDensity().
float Atmosphere::GetDensityAboveGround | ( | float | hground, |
float | theta, | ||
float | nRad | ||
) |
Definition at line 457 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetDensityAboveGround_i(), ok, and SetCurrentAtmosphere().
Referenced by AtmCorrNS::AtmCorr::GetCorrTypeII().
float Atmosphere::GetDensityAboveGround_i | ( | float | hground, |
float | theta, | ||
float | nRad | ||
) |
Definition at line 475 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetDensity(), HeightToSlantDepth(), ok, and SlantDepthToHeight().
Referenced by GetDensityAboveGround().
|
inline |
Definition at line 74 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
References acurrent, AtmosphereNS::AtmModel::ai, AtmosphereNS::AtmModel::bi, and AtmosphereNS::AtmModel::ci.
float Atmosphere::GetTimeCF | ( | float | r, |
float | psi, | ||
float | SlantDepth, | ||
float | theta, | ||
float | hground | ||
) |
Definition at line 665 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetTimeCF_i(), ok, and SetCurrentAtmosphere().
float Atmosphere::GetTimeCF_h | ( | float | r, |
float | psi, | ||
float | h1, | ||
float | theta, | ||
float | hground | ||
) |
Definition at line 693 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References AtmosphereNS::c_cmperns, and sqrt().
Referenced by GetTimeCF_i(), and UnivRecNS::UnivRec::SetSPCoordinates().
float Atmosphere::GetTimeCF_i | ( | float | r, |
float | psi, | ||
float | SlantDepth, | ||
float | theta, | ||
float | hground | ||
) |
Definition at line 685 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetTimeCF_h(), ok, and SlantDepthToHeight().
Referenced by GetTimeCF().
float Atmosphere::GetTimePF | ( | float | r, |
float | psi, | ||
float | SlantDepth, | ||
float | theta, | ||
float | hground | ||
) |
Definition at line 619 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetTimePF_i(), ok, and SetCurrentAtmosphere().
float Atmosphere::GetTimePF_delay | ( | float | x, |
float | y, | ||
float | z, | ||
float | theta, | ||
float | azi | ||
) |
Definition at line 596 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References AtmosphereNS::c_cmperns.
float Atmosphere::GetTimePF_h | ( | float | r, |
float | psi, | ||
float | hStart, | ||
float | theta, | ||
float | hground | ||
) |
Definition at line 649 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References AtmosphereNS::c_cmperns, and ok.
Referenced by GetTimePF_i(), and UnivRecNS::UnivRec::SetSPCoordinates().
float Atmosphere::GetTimePF_i | ( | float | r, |
float | psi, | ||
float | SlantDepth, | ||
float | theta, | ||
float | hground | ||
) |
Definition at line 639 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References GetTimePF_h(), ok, and SlantDepthToHeight().
Referenced by GetTimePF().
float Atmosphere::HeightToSlantDepth | ( | float | h, |
float | theta | ||
) |
Definition at line 449 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References HeightToVertDepth(), and ok.
Referenced by Get_DX_DL_i(), and GetDensityAboveGround_i().
float Atmosphere::HeightToVertDepth | ( | float | h | ) |
Definition at line 423 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, RdGeoCeLDFFitter::h_max, AtmosphereNS::AtmModel::hi, and ok.
Referenced by HeightToSlantDepth().
void Atmosphere::printCurrentAtmosphere | ( | FILE * | fp | ) |
Definition at line 375 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, AtmosphereNS::AtmModel::atmflag, atmType, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, and AtmosphereNS::AtmModel::hi.
void Atmosphere::SetCurrentAtmosphere | ( | AtmModel | theAtm | ) |
Definition at line 258 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, amonth, AtmosphereNS::AtmModel::atmflag, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, exit, AtmosphereNS::AtmModel::hi, and ok.
Referenced by Get_DX_DL(), GetDensity(), GetDensityAboveGround(), UnivParamNS::UnivParam::GetSignal(), GetTimeCF(), GetTimePF(), UniversalityFitter::UniversalityFitter::InitBarilocheReconstruction(), UnivTimeKGTester::UnivTimeKGTester::Run(), UniversalityFitter::UniversalityFitter::Run(), and UnivRecNS::UnivRec::RWRecinfo().
void Atmosphere::SetCurrentAtmosphere | ( | int | imonth | ) |
Definition at line 334 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, amonth, aseason, AtmosphereNS::AtmModel::atmflag, atmType, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, AtmosphereNS::AtmModel::hi, and ok.
void Atmosphere::SetCurrentAtmosphere | ( | float * | ai, |
float * | bi, | ||
float * | ci, | ||
float * | hi | ||
) |
Definition at line 298 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, amonth, AtmosphereNS::AtmModel::atmflag, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, exit, AtmosphereNS::AtmModel::hi, and ok.
float Atmosphere::SlantDepthToHeight | ( | float | sdepth, |
float | theta | ||
) |
Definition at line 415 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References ok, and VertDepthToHeight().
Referenced by Get_DX_DL_i(), GetDensityAboveGround_i(), GetTimeCF_i(), GetTimePF_i(), and UnivRecNS::UnivRec::SetSPCoordinates().
float Atmosphere::VertDepthToHeight | ( | float | vdepth | ) |
Definition at line 387 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.cc.
References acurrent, AtmosphereNS::AtmModel::ai, AtmosphereNS::AtmModel::bi, AtmosphereNS::AtmModel::ci, AtmosphereNS::AtmModel::hi, det::if(), and ok.
Referenced by SlantDepthToHeight().
|
private |
Definition at line 44 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
Referenced by ClearCurrentAtmosphere(), GetC0(), GetCurrentAtmosphere(), GetCurrentAtmosphereMonth(), GetDensity_i(), GetSlant0(), HeightToVertDepth(), printCurrentAtmosphere(), SetCurrentAtmosphere(), and VertDepthToHeight().
|
private |
Definition at line 42 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
Referenced by Atmosphere(), and SetCurrentAtmosphere().
|
private |
Definition at line 43 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
Referenced by Atmosphere(), and SetCurrentAtmosphere().
|
private |
Definition at line 46 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
Referenced by Atmosphere(), printCurrentAtmosphere(), and SetCurrentAtmosphere().
|
private |
Definition at line 45 of file Tools/ShowerUniversality/UnivParamNS/Atmosphere.h.
Referenced by Atmosphere(), ClearCurrentAtmosphere(), Get_DX_DL(), Get_DX_DL_i(), GetDensity(), GetDensity_i(), GetDensityAboveGround(), GetDensityAboveGround_i(), GetTimeCF(), GetTimeCF_i(), GetTimePF(), GetTimePF_h(), GetTimePF_i(), HeightToSlantDepth(), HeightToVertDepth(), SetCurrentAtmosphere(), SlantDepthToHeight(), and VertDepthToHeight().