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

#include <PowerLawLDF.h>

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

Public Member Functions

virtual double BetaUncertainty (const double showerSize) const =0
 
return
fBetaUncertaintyModelVector *[0] 
exp (fBetaUncertaintyModelVector[1]*lgS)
 
unsigned int GetNShapeParameters () const
 
 if (relR > nearCore)
 
 PowerLawLDF (const double refDistance)
 
virtual double SecondDerivative (const double r, const std::vector< double > &shape) const =0
 
std::vector< double > shape (2)
 
virtual std::vector< double > ShapeModel (const double cosTheta, double showerSize) const =0
 
return std::pow (relR, beta+gamma *std::log(relR))
 
virtual double Value (const double r, const std::vector< double > &shape) const =0
 

Public Attributes

const double a0 = fShapeModelVector[0]
 
const double a1 = fShapeModelVector[1]
 
const double b0 = fShapeModelVector[2]
 
const double b1 = fShapeModelVector[3]
 
const double beta = shape[0]
 
double & beta = shape[0]
 
 beta = a0 + a1*lgSize + secTheta*(b0 + b1*lgSize + secTheta*(c0 + c1*lgSize))
 
const double bgl = beta + gamma * std::log(nearCore)
 
const double c0 = fShapeModelVector[4]
 
const double c1 = fShapeModelVector[5]
 
double const
 
return std::pow(relR, beta+2
*gf)*std doubl 
const )
 
return(bgl-1)*bgl *std
std::vector< double > 
const
 
const double gamma = shape[1]
 
double & gamma = shape[1]
 
 gamma = 0.05*std::sin(8*(cosTheta - 0.6)) - 0.5
 
const double gf = gamma*std::log(nearCore)
 
const double nearCore = kNearRadius / rRef
 
const double relR = r / rRef
 
const double rRef = fReferenceDistance
 
const double secTheta = 1 / cosTheta
 
return shape
 

Protected Attributes

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

Detailed Description

Definition at line 14 of file PowerLawLDF.h.

Constructor & Destructor Documentation

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

Definition at line 17 of file PowerLawLDF.h.

Member Function Documentation

virtual double LDFFinderKG::VLDF::BetaUncertainty ( const double  showerSize) const
pure virtualinherited
return fBetaUncertaintyModelVector* [0] LDFFinderKG::PowerLawLDF::exp ( fBetaUncertaintyModelVector lgS[1])
unsigned int LDFFinderKG::PowerLawLDF::GetNShapeParameters ( ) const
inlinevirtual

Implements LDFFinderKG::VLDF.

Definition at line 91 of file PowerLawLDF.h.

LDFFinderKG::PowerLawLDF::if ( relR  ,
nearCore   
)
inline

Definition at line 48 of file PowerLawLDF.h.

References utl::Sqr(), and LDFFinderKG::VLDF::Value().

virtual double LDFFinderKG::VLDF::SecondDerivative ( const double  r,
const std::vector< double > &  shape 
) const
pure virtualinherited
std::vector<double> LDFFinderKG::PowerLawLDF::shape ( )
virtual std::vector<double> LDFFinderKG::VLDF::ShapeModel ( const double  cosTheta,
double  showerSize 
) const
pure virtualinherited
return LDFFinderKG::PowerLawLDF::std::pow ( relR  ,
beta+gamma *std::  logrelR 
)
virtual double LDFFinderKG::VLDF::Value ( const double  r,
const std::vector< double > &  shape 
) const
pure virtualinherited

Referenced by if().

Member Data Documentation

const double LDFFinderKG::PowerLawLDF::a0 = fShapeModelVector[0]

Definition at line 65 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::a1 = fShapeModelVector[1]

Definition at line 66 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::b0 = fShapeModelVector[2]

Definition at line 67 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::b1 = fShapeModelVector[3]

Definition at line 68 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::beta = shape[0]

Definition at line 25 of file PowerLawLDF.h.

double& LDFFinderKG::PowerLawLDF::beta = shape[0]

Definition at line 73 of file PowerLawLDF.h.

LDFFinderKG::PowerLawLDF::beta = a0 + a1*lgSize + secTheta*(b0 + b1*lgSize + secTheta*(c0 + c1*lgSize))

Definition at line 76 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::bgl = beta + gamma * std::log(nearCore)

Definition at line 55 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::c0 = fShapeModelVector[4]

Definition at line 69 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::c1 = fShapeModelVector[5]

Definition at line 70 of file PowerLawLDF.h.

double LDFFinderKG::PowerLawLDF::const
Initial value:
{
const double kNearRadius = 300*utl::meter

Definition at line 22 of file PowerLawLDF.h.

return std::pow (relR, beta + 2*gf) * std doubl LDFFinderKG::PowerLawLDF::const)
Initial value:
{
const double kNearRadius = 300*utl::meter

Definition at line 40 of file PowerLawLDF.h.

return (bgl - 1)*bgl * std std::vector<double> LDFFinderKG::PowerLawLDF::const
Initial value:
{
const double lgSize = std::log10(showerSize)

Definition at line 62 of file PowerLawLDF.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::PowerLawLDF::gamma = shape[1]

Definition at line 26 of file PowerLawLDF.h.

double& LDFFinderKG::PowerLawLDF::gamma = shape[1]

Definition at line 74 of file PowerLawLDF.h.

LDFFinderKG::PowerLawLDF::gamma = 0.05*std::sin(8*(cosTheta - 0.6)) - 0.5

Definition at line 78 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::gf = gamma*std::log(nearCore)

Definition at line 33 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::nearCore = kNearRadius / rRef

Definition at line 28 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::relR = r / rRef

Definition at line 29 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::rRef = fReferenceDistance

Definition at line 24 of file PowerLawLDF.h.

const double LDFFinderKG::PowerLawLDF::secTheta = 1 / cosTheta

Definition at line 64 of file PowerLawLDF.h.

return LDFFinderKG::PowerLawLDF::shape

Definition at line 80 of file PowerLawLDF.h.


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

, generated on Tue Sep 26 2023.