GaisserHillas2Parameter.cc
Go to the documentation of this file.
1 #include <evt/GaisserHillas2Parameter.h>
2 #include <utl/AugerUnits.h>
3 #include <utl/ErrorLogger.h>
4 using namespace evt;
5 using namespace utl;
6 
7 
10  const
11 {
12  return new GaisserHillas2Parameter;
13 }
14 
15 
18  const
19 {
20  return new GaisserHillas2Parameter(*this);
21 }
22 
23 
24 double
25 GaisserHillas2Parameter::Eval(const double /*depth*/)
26  const
27 {
28  ERROR("not possible!");
29  return -1.; // throw exception ???
30 }
31 
32 
33 void
35  const
36 {
37  os << "GH function with 2 parameters" << '\n'
38  << " X_max = " << fXMax/g*cm2 << " g/cm^2 (sigma = " << fXMaxError << ")\n"
39  << " N_max = " << fNMax << " (sigma = " << fNMaxError << std::endl;
40 }
41 
42 
43 double
45  const
46 {
47  ERROR("not possible!");
48  return 0.;
49 }
50 
51 
52 double
54  const
55 {
56  ERROR("not possible!");
57  return 0.;
58 }
double Eval(const double depth) const
double GetIntegralError() const
return relative error of integral
void Dump(std::ostream &os=std::cout) const
GaisserHillas2Parameter * Create() const
constexpr double g
Definition: AugerUnits.h:200
Gaisser Hillas with 4 parameters.
GaisserHillas2Parameter * Clone() const
#define ERROR(message)
Macro for logging error messages.
Definition: ErrorLogger.h:165
constexpr double cm2
Definition: AugerUnits.h:118

, generated on Tue Sep 26 2023.