1 #ifndef _evt_GaisserHillas4Parameter_h_
2 #define _evt_GaisserHillas4Parameter_h_
4 #include <evt/VGaisserHillasParameter.h>
5 #include <evt/GaisserHillasTypes.h>
6 #include <utl/TabulatedFunction.h>
13 class GaisserHillasParameters_ROOT;
64 double Eval(
const double depth)
const;
66 void Dump(std::ostream& os = std::cout)
const;
83 const double value,
const double error);
102 double Inverse(
const double h,
const int branch)
const;
double GetShapeParameter(const gh::EShapeParameter par) const
access to all variants of shape parameters (see GaisserHillasTypes.h)
double GetCorrelationShapeParameters() const
double GetCorrelationXMaxShapeParameter(const gh::EShapeParameter par) const
EInternalShapeParameter ExternalToInternal(const gh::EShapeParameter par) const
double GetCorrelationNMaxShapeParameter(const gh::EShapeParameter par) const
double GetIntegralError() const
return relative error of integral
double fRhoNMaxShapePar[eLast+1]
Class to hold collection (x,y) points and provide interpolation between them.
double CalculateR(const double asym) const
GaisserHillas4Parameter * Create() const
std::pair< gh::EShapeParameter, double > ShapeParameter
void SetShapeParameter(const gh::EShapeParameter par, const double value, const double error)
Setters.
GaisserHillas4Parameter * Clone() const
double InverseLeft(const double h) const
return depth left of XMax for which GH = h*NMax
double InverseRight(const double h) const
return depth right of XMax for which GH = h*NMax
GaisserHillas4Parameter(const gh::EFunctionType functionType=gh::eClassic)
double GetLambdaX0Correlation() const
double GetXZeroError() const
bool IsInternal(const gh::EShapeParameter par) const
check if parameter "par" is one of the internal shape parameters
gh::EShapeParameter InternalToExternal(const EInternalShapeParameter) const
double Eval(const double depth) const
evaluate function a X = depth
double GetXMaxLambdaCorrelation() const
gh::EFunctionType fFunctionType
virtual ~GaisserHillas4Parameter()
double Inverse(const double h, const int branch) const
Inverse of GH function. branch = -1 is right of XMax, branch = 0 left of XMax.
Interface class for access to the Gaisser-Hillas parameters.
double fRhoXMaxShapePar[eLast+1]
void SetCorrelationNMaxShapeParameter(const gh::EShapeParameter par, const double rho)
double GetXMaxX0Correlation() const
static utl::TabulatedFunction fRvsAsymTable
double GetShapeParameterError(const gh::EShapeParameter par) const
double GetIntegral() const
calculate integral
gh::EFunctionType GetFunctionType() const
Gaisser Hillas with 4 parameters.
void SetCorrelationShapeParameters(const double rho)
void SetCorrelationXMaxShapeParameter(const gh::EShapeParameter par, const double rho)
void Dump(std::ostream &os=std::cout) const
dump the parameters
double fShapePar[eLast+1]
double GetNMaxLambdaCorrelation() const
double GetLambdaError() const
double GetNMaxX0Correlation() const
double fShapeParError[eLast+1]