10 #include <utl/TabulatedFunction.h>
11 #include <utl/Reader.h>
12 #include <utl/ErrorLogger.h>
13 #include <utl/MathConstants.h>
14 #include <utl/Vector.h>
15 #include <utl/PhysicalConstants.h>
16 #include <utl/Transformation.h>
17 #include <utl/TabulatedFunctionErrors.h>
18 #include <det/Detector.h>
19 #include <atm/Atmosphere.h>
20 #include <atm/ProfileResult.h>
21 #include <atm/Nagano2004FluorescenceModel.h>
22 #include <fwk/CentralConfig.h>
46 const std::vector<double>&
47 Nagano2004FluorescenceModel::GetWavelengths()
const{
55 Nagano2004FluorescenceModel::EvaluateFluorescenceYield
56 (
const double heightAboveSeaLevel)
const{
58 double fluorescenceYield = 0;
60 const Atmosphere& atmo = det::Detector::GetInstance().GetAtmosphere();
63 const double temperature = tempProfile.
Y(heightAboveSeaLevel);
64 const double density = densityProfile.
Y(heightAboveSeaLevel);
68 fFluorescenceSpectrum.Clear();
69 for (
unsigned int iwl=0; iwl<fWavelength.size(); iwl++){
71 double wavelength = fWavelength[iwl];
73 fluorescenceYield = fNaganoA[iwl]*density/(1.+ density*fNaganoB[iwl]
76 fFluorescenceSpectrum.PushBack(wavelength, fluorescenceYield);
80 return fFluorescenceSpectrum;
84 double Nagano2004FluorescenceModel::GetdEdX0()
const {
Top of the interface to Atmosphere information.
Class to hold collection (x,y) points and provide interpolation between them.
const atm::ProfileResult & EvaluateDensityVsHeight() const
Tabulated function giving Y=density as a function of X=height.
void Init()
Initialise the registry.
Branch GetChild(const std::string &childName) const
Get child of this Branch by child name.
double Y(const double x) const
Get the Y value (coordinate) for given X (ordinate)
Class representing a document branch.
Class describing the Atmospheric profile.
void GetData(bool &b) const
Overloads of the GetData member template function.
Main configuration utility.
utl::Branch GetTopBranch(const std::string &id)
Get top branch for moduleConfigLink with given id (XML files)
const atm::ProfileResult & EvaluateTemperatureVsHeight() const
Tabulated function giving Y=temperature as a function of X=height.