VFluorescenceModel.cc
Go to the documentation of this file.
1 
10 #include <cmath>
11 #include <atm/VFluorescenceModel.h>
12 #include <utl/AugerUnits.h>
13 using namespace utl;
14 using namespace atm;
15 
16 double
17 VFluorescenceModel::GetDeExcitationTime(const double height_asl)
18  const
19 {
20 
21  // see GAP-2007-099 Eq. (6.14)
22 
23  const double tau_0 = 37.5*ns; // vacuum lifetime
24  const double H = 8005.*m; // (scale height)
25  const double a = 95.;
26 
27  const double lifetime = (
28  height_asl>=0. ?
29  tau_0 / (a * exp(-height_asl/H) + 1.) :
30  0.
31  );
32 
33  return lifetime;
34 
35 }
36 
37 
38 // Configure (x)emacs for this file ...
39 // Local Variables:
40 // mode:c++
41 // compile-command: "make -C .. -k"
42 // End:
constexpr double ns
Definition: AugerUnits.h:162
constexpr double m
Definition: AugerUnits.h:121

, generated on Tue Sep 26 2023.