1 #include <io/GaisserHillasParameters_ROOT.h>
2 #include <evt/VGaisserHillasParameter.h>
3 #include <evt/GaisserHillas2Parameter.h>
4 #include <evt/GaisserHillas4Parameter.h>
5 #include <evt/GaisserHillas6Parameter.h>
6 #include <evt/GaisserHillasTypes.h>
16 fXMaxError(
g.GetXMaxError()),
18 fNMaxError(
g.GetNMaxError()),
19 fRhoNMaxXMax(
g.GetNMaxXMaxCorrelation()),
20 fChiSqr(
g.GetChiSquare()),
24 fIsdEdXProfile(
g.IsdEdXProfile())
26 if (dynamic_cast<const evt::GaisserHillas2Parameter*>(&
g)) {
27 fGHtype = e2Parameter;
33 fGHtype = e4Parameter;
56 fGHtype = e6Parameter;
double GetShapeParameter(const gh::EShapeParameter par) const
access to all variants of shape parameters (see GaisserHillasTypes.h)
double GetXZeroError() const
double GetCorrelationShapeParameters() const
double GetCorrelationXMaxShapeParameter(const gh::EShapeParameter par) const
double GetCorrelationNMaxShapeParameter(const gh::EShapeParameter par) const
void SetNMaxXMaxCorrelation(const double rho)
void SetXMax(const double xMax, const double error)
void SetShapeParameter(const gh::EShapeParameter par, const double value, const double error)
Setters.
void operator>>(evt::VGaisserHillasParameter *&g) const
void SetB(const double b, const double error)
void SetXZero(const double xZero, const double error)
void SetC(const double c, const double error)
void SetChiSquare(const double chi, const unsigned int ndof)
Gaisser Hillas with 4 parameters.
gh::EShapeParameter InternalToExternal(const EInternalShapeParameter) const
void SetNMax(const double nMax, const double error, const bool isEnergyDeposit=false)
void SetA(const double a, const double error)
Interface class for access to the Gaisser-Hillas parameters.
void SetCorrelationNMaxShapeParameter(const gh::EShapeParameter par, const double rho)
double GetShapeParameterError(const gh::EShapeParameter par) const
gh::EFunctionType GetFunctionType() const
Gaisser Hillas with 4 parameters.
void SetCorrelationShapeParameters(const double rho)
Gaisser-Hillas with 6 parameters (CORSIKA)