List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
FdProfileConstrainedGeometryFit::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)
 
 ProfileChi2 ()
 
void SetFitterPars ()
 
void SetUseLightFlux (bool use=true)
 
void UnSetFitterPars ()
 

Protected Member Functions

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

Protected Attributes

bool fAafCorrection
 
FdEnergyDepositFinderKG::CFMatrixCalculator fCFMatrixCalculator
 
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 ProfileChi2.h.

Constructor & Destructor Documentation

FdProfileConstrainedGeometryFit::ProfileChi2::ProfileChi2 ( )
inline

Member Function Documentation

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

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 52 of file ProfileChi2.cc.

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

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

Definition at line 49 of file ProfileChi2.h.

References fUseLightFlux.

void FdProfileConstrainedGeometryFit::ProfileChi2::UnSetFitterPars ( )
inline

Definition at line 48 of file ProfileChi2.h.

References fProfileFitter, and FdEnergyDepositFinderKG::ProfileFitter::Init().

Member Data Documentation

bool FdProfileConstrainedGeometryFit::ProfileChi2::fAafCorrection
protected

Definition at line 59 of file ProfileChi2.h.

Referenced by SetFitterPars().

FdEnergyDepositFinderKG::CFMatrixCalculator FdProfileConstrainedGeometryFit::ProfileChi2::fCFMatrixCalculator
protected

Definition at line 52 of file ProfileChi2.h.

Referenced by ProfileChi2().

bool FdProfileConstrainedGeometryFit::ProfileChi2::fIsUnivConstrained
protected

Definition at line 57 of file ProfileChi2.h.

Referenced by SetFitterPars().

double FdProfileConstrainedGeometryFit::ProfileChi2::fksigma
protected

Definition at line 62 of file ProfileChi2.h.

Referenced by SetFitterPars().

bool FdProfileConstrainedGeometryFit::ProfileChi2::fLeavingAtmoIsError
protected

Definition at line 56 of file ProfileChi2.h.

bool FdProfileConstrainedGeometryFit::ProfileChi2::fOnlyDirectLight
protected

Definition at line 58 of file ProfileChi2.h.

FdEnergyDepositFinderKG::ProfileCalculator FdProfileConstrainedGeometryFit::ProfileChi2::fProfileCalculator
protected

Definition at line 53 of file ProfileChi2.h.

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

Definition at line 61 of file ProfileChi2.h.

Referenced by SetFitterPars().

bool FdProfileConstrainedGeometryFit::ProfileChi2::fUseLightFlux
protected

Definition at line 70 of file ProfileChi2.h.

Referenced by SetUseLightFlux().

bool FdProfileConstrainedGeometryFit::ProfileChi2::fUseNoiseBins
protected

Definition at line 60 of file ProfileChi2.h.

Referenced by SetFitterPars().

FdEnergyDepositFinderKG::GHShapeParameters FdProfileConstrainedGeometryFit::ProfileChi2::ghPars
protected

Definition at line 64 of file ProfileChi2.h.

Referenced by SetFitterPars().


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

, generated on Tue Sep 26 2023.