List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
FdProfileConstrainedGeometryFitPG::ProfileChi2 Class Reference

#include <ProfileChi2.h>

Public Member Functions

unsigned int GetNDof () const
 
double GetShapeConstraint1Chi2 () const
 
double GetShapeConstraint2Chi2 () const
 
double GetShapeConstraint3Chi2 () const
 
void Init ()
 
double operator() (fevt::Eye &eyeCopy, bool precise=false)
 
 ProfileChi2 ()
 
void SetFitterPars ()
 
void SetUseLightFlux (bool use=true)
 
void UnSetFitterPars ()
 

Protected Member Functions

bool FitProfile (fevt::Eye &eye, const FdEnergyDepositFinderKG::EFitFunctionType type, bool precise=false)
 
bool GuessGHParameters (evt::ShowerFRecData &shower) const
 

Protected Attributes

bool fAafCorrection
 
FdEnergyDepositFinderKG::CFMatrixCalculator fCFMatrixCalculator
 
FdEnergyDepositFinderKG::CFMatrixCalculator fCFMatrixCalculatorDense
 
unsigned int fDenseMatrixDim
 
bool fIsUnivConstrained
 
double fksigma
 
bool fLeavingAtmoIsError
 
bool fOnlyDirectLight
 
FdEnergyDepositFinderKG::ProfileCalculator fProfileCalculator
 
FdEnergyDepositFinderKG::ProfileFitter fProfileFitter
 
utl::Function fUnivFunction
 
bool fUseLightFlux
 
bool fUseNoiseBins
 
FdEnergyDepositFinderKG::GHShapeParameters ghPars
 

Detailed Description

Chi^2 of a Gaisser-Hillas fit to dE/dX profile.

Definition at line 18 of file G/ProfileChi2.h.

Constructor & Destructor Documentation

FdProfileConstrainedGeometryFitPG::ProfileChi2::ProfileChi2 ( )
inline

Member Function Documentation

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::FitProfile ( fevt::Eye eye,
const FdEnergyDepositFinderKG::EFitFunctionType  type,
bool  precise = false 
)
protected
unsigned int FdProfileConstrainedGeometryFitPG::ProfileChi2::GetNDof ( ) const
inline
double FdProfileConstrainedGeometryFitPG::ProfileChi2::GetShapeConstraint1Chi2 ( ) const
inline
double FdProfileConstrainedGeometryFitPG::ProfileChi2::GetShapeConstraint2Chi2 ( ) const
inline
double FdProfileConstrainedGeometryFitPG::ProfileChi2::GetShapeConstraint3Chi2 ( ) const
inline
bool FdProfileConstrainedGeometryFitPG::ProfileChi2::GuessGHParameters ( evt::ShowerFRecData shower) const
protected
void FdProfileConstrainedGeometryFitPG::ProfileChi2::Init ( void  )
double FdProfileConstrainedGeometryFitPG::ProfileChi2::operator() ( fevt::Eye eyeCopy,
bool  precise = false 
)

Calculate profile fit Chi2

For an eye with reconstructed ApertureLight and given geometry, calculate CFM, reconstruct dE/dX profile, and perform 2-Parameter Gaisser-Hillas fit analogously to the EnergyDepositFinder. Return chi^2 of the fit for minimisation in the PCGF.

Definition at line 55 of file G/ProfileChi2.cc.

References FdEnergyDepositFinderKG::CFMatrixCalculator::eFast, FdEnergyDepositFinderKG::eGH2dEdXChi2, FdEnergyDepositFinderKG::eGH4dEdXChi2, FdEnergyDepositFinderKG::eGH4LightLogLike, FdEnergyDepositFinderKG::CFMatrixCalculator::ePrecise, ERROR, fevt::EyeRecData::GetFRecShower(), evt::ShowerFRecData::GetGHParameters(), and fevt::Eye::GetRecData().

void FdProfileConstrainedGeometryFitPG::ProfileChi2::SetFitterPars ( )
inline
void FdProfileConstrainedGeometryFitPG::ProfileChi2::SetUseLightFlux ( bool  use = true)
inline

Definition at line 50 of file G/ProfileChi2.h.

References fUseLightFlux.

void FdProfileConstrainedGeometryFitPG::ProfileChi2::UnSetFitterPars ( )
inline

Member Data Documentation

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::fAafCorrection
protected

Definition at line 61 of file G/ProfileChi2.h.

Referenced by SetFitterPars().

FdEnergyDepositFinderKG::CFMatrixCalculator FdProfileConstrainedGeometryFitPG::ProfileChi2::fCFMatrixCalculator
protected

Definition at line 53 of file G/ProfileChi2.h.

Referenced by ProfileChi2().

FdEnergyDepositFinderKG::CFMatrixCalculator FdProfileConstrainedGeometryFitPG::ProfileChi2::fCFMatrixCalculatorDense
protected

Definition at line 54 of file G/ProfileChi2.h.

Referenced by ProfileChi2().

unsigned int FdProfileConstrainedGeometryFitPG::ProfileChi2::fDenseMatrixDim
protected

Definition at line 73 of file G/ProfileChi2.h.

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::fIsUnivConstrained
protected

Definition at line 59 of file G/ProfileChi2.h.

Referenced by SetFitterPars().

double FdProfileConstrainedGeometryFitPG::ProfileChi2::fksigma
protected

Definition at line 64 of file G/ProfileChi2.h.

Referenced by SetFitterPars().

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::fLeavingAtmoIsError
protected

Definition at line 58 of file G/ProfileChi2.h.

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::fOnlyDirectLight
protected

Definition at line 60 of file G/ProfileChi2.h.

FdEnergyDepositFinderKG::ProfileCalculator FdProfileConstrainedGeometryFitPG::ProfileChi2::fProfileCalculator
protected

Definition at line 55 of file G/ProfileChi2.h.

FdEnergyDepositFinderKG::ProfileFitter FdProfileConstrainedGeometryFitPG::ProfileChi2::fProfileFitter
protected
utl::Function FdProfileConstrainedGeometryFitPG::ProfileChi2::fUnivFunction
protected

Definition at line 63 of file G/ProfileChi2.h.

Referenced by SetFitterPars().

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::fUseLightFlux
protected

Definition at line 72 of file G/ProfileChi2.h.

Referenced by SetUseLightFlux().

bool FdProfileConstrainedGeometryFitPG::ProfileChi2::fUseNoiseBins
protected

Definition at line 62 of file G/ProfileChi2.h.

Referenced by SetFitterPars().

FdEnergyDepositFinderKG::GHShapeParameters FdProfileConstrainedGeometryFitPG::ProfileChi2::ghPars
protected

Definition at line 66 of file G/ProfileChi2.h.

Referenced by SetFitterPars().


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

, generated on Tue Sep 26 2023.