List of all members | Public Member Functions | Public Attributes | Protected Attributes
LDFFinderKG::ExpSqrtPolyLDF Class Referenceabstract

#include <ExpSqrtPolyLDF.h>

Inheritance diagram for LDFFinderKG::ExpSqrtPolyLDF:
Inheritance graph
[legend]

Public Member Functions

virtual double BetaUncertainty (const double showerSize) const =0
 
 ExpSqrtPolyLDF (const double refDistance)
 
unsigned int GetNShapeParameters () const
 
virtual double SecondDerivative (const double r, const std::vector< double > &shape) const =0
 
virtual std::vector< double > ShapeModel (const double cosTheta, double showerSize) const =0
 
return std::exp (z0+z *(alpha+z *(beta+z *(gamma+z *delta))))
 
virtual double Value (const double r, const std::vector< double > &shape) const =0
 

Public Attributes

const double alpha = shape[0]
 
const double beta = shape[1]
 
double const
 
std::vector< double > const
 
const double delta = shape[3]
 
const double dfdr = f * g
 
const double dgdr = z*(-0.25*alpha + z*z*(0.75*gamma + z*2*delta)) / (r*r)
 
return dfdr *g fdgdr
 
const double f = Value(r, shape)
 
const double g = z*(0.5*alpha + z*(beta + z*(1.5*gamma + z*2*delta))) / r
 
const double gamma = shape[2]
 
const double z0 = -zRef*(alpha + zRef*(beta + zRef*(gamma + zRef*delta)))
 
const double zRef = std::sqrt(fReferenceDistance)
 

Protected Attributes

std::vector< double > fBetaUncertaintyModelVector
 
const double fReferenceDistance
 
std::vector< double > fShapeModelVector
 

Detailed Description

Definition at line 14 of file ExpSqrtPolyLDF.h.

Constructor & Destructor Documentation

LDFFinderKG::ExpSqrtPolyLDF::ExpSqrtPolyLDF ( const double  refDistance)
inline

Definition at line 17 of file ExpSqrtPolyLDF.h.

Member Function Documentation

virtual double LDFFinderKG::VLDF::BetaUncertainty ( const double  showerSize) const
pure virtualinherited
unsigned int LDFFinderKG::ExpSqrtPolyLDF::GetNShapeParameters ( ) const
inlinevirtual

Implements LDFFinderKG::VLDF.

Definition at line 68 of file ExpSqrtPolyLDF.h.

virtual double LDFFinderKG::VLDF::SecondDerivative ( const double  r,
const std::vector< double > &  shape 
) const
pure virtualinherited
virtual std::vector<double> LDFFinderKG::VLDF::ShapeModel ( const double  cosTheta,
double  showerSize 
) const
pure virtualinherited
return LDFFinderKG::ExpSqrtPolyLDF::std::exp ( z0+z *  alpha+z *(beta+z *(gamma+z *delta)))
virtual double LDFFinderKG::VLDF::Value ( const double  r,
const std::vector< double > &  shape 
) const
pure virtualinherited

Member Data Documentation

const double LDFFinderKG::ExpSqrtPolyLDF::alpha = shape[0]

Definition at line 25 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::beta = shape[1]

Definition at line 26 of file ExpSqrtPolyLDF.h.

double LDFFinderKG::ExpSqrtPolyLDF::const
Initial value:
{
const double z = std::sqrt(r)

Definition at line 22 of file ExpSqrtPolyLDF.h.

std::vector<double> LDFFinderKG::ExpSqrtPolyLDF::const
Initial value:
{
return std::vector<double>(4)

Definition at line 55 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::delta = shape[3]

Definition at line 28 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::dfdr = f * g

Definition at line 47 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::dgdr = z*(-0.25*alpha + z*z*(0.75*gamma + z*2*delta)) / (r*r)

Definition at line 48 of file ExpSqrtPolyLDF.h.

return dfdr* g f* LDFFinderKG::ExpSqrtPolyLDF::dgdr

Definition at line 49 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::f = Value(r, shape)

Definition at line 45 of file ExpSqrtPolyLDF.h.

std::vector<double> LDFFinderKG::VLDF::fBetaUncertaintyModelVector
protectedinherited

Definition at line 31 of file LDFFinderKG/VLDF.h.

const double LDFFinderKG::VLDF::fReferenceDistance
protectedinherited

Definition at line 29 of file LDFFinderKG/VLDF.h.

std::vector<double> LDFFinderKG::VLDF::fShapeModelVector
protectedinherited

Definition at line 30 of file LDFFinderKG/VLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::g = z*(0.5*alpha + z*(beta + z*(1.5*gamma + z*2*delta))) / r

Definition at line 46 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::gamma = shape[2]

Definition at line 27 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::z0 = -zRef*(alpha + zRef*(beta + zRef*(gamma + zRef*delta)))

Definition at line 31 of file ExpSqrtPolyLDF.h.

const double LDFFinderKG::ExpSqrtPolyLDF::zRef = std::sqrt(fReferenceDistance)

Definition at line 24 of file ExpSqrtPolyLDF.h.


The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.