#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 |
Chi^2 of a Gaisser-Hillas fit to dE/dX profile.
Definition at line 18 of file ProfileChi2.h.
|
inline |
Definition at line 20 of file ProfileChi2.h.
References fCFMatrixCalculator, and FdEnergyDepositFinderKG::CFMatrixCalculator::Init().
|
protected |
Definition at line 99 of file ProfileChi2.cc.
References utl::cm2, FdEnergyDepositFinderKG::eFinalFitStep, evt::gh::eUSP_L, evt::gh::eUSP_R, utl::g, fevt::EyeRecData::GetFRecShower(), evt::gh::GetFunctionTypeName(), evt::GaisserHillas4Parameter::GetIntegral(), evt::GaisserHillas4Parameter::GetIntegralError(), fevt::Eye::GetRecData(), evt::VGaisserHillasParameter::GetXMax(), and evt::ShowerFRecData::MakeGHParameters().
|
inline |
Definition at line 41 of file ProfileChi2.h.
References fProfileFitter, and FdEnergyDepositFinderKG::ProfileFitter::GetNDof().
|
inline |
Definition at line 37 of file ProfileChi2.h.
References fProfileFitter, and FdEnergyDepositFinderKG::ProfileFitter::GetShapeConstraint1Chi2().
|
inline |
Definition at line 38 of file ProfileChi2.h.
References fProfileFitter, and FdEnergyDepositFinderKG::ProfileFitter::GetShapeConstraint2Chi2().
|
inline |
Definition at line 39 of file ProfileChi2.h.
References fProfileFitter, and FdEnergyDepositFinderKG::ProfileFitter::GetShapeConstraint3Chi2().
|
protected |
Definition at line 183 of file ProfileChi2.cc.
References utl::cm2, evt::gh::eClassic, evt::gh::eLambda, FdEnergyDepositFinderKG::eOne, FdEnergyDepositFinderKG::eTwo, evt::gh::eUSP, galactic::eV, evt::gh::eX0, utl::g, evt::ShowerFRecData::GetEnergyDeposit(), evt::ShowerFRecData::GetGHParameters(), utl::TabulatedFunction::GetNPoints(), PeV, std::pow(), and WARNING.
void FdProfileConstrainedGeometryFit::ProfileChi2::Init | ( | void | ) |
Definition at line 23 of file ProfileChi2.cc.
References utl::Branch::Get(), utl::Branch::GetChild(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), fwk::CentralConfig::GetTopBranch(), and INFO.
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().
|
inline |
Definition at line 42 of file ProfileChi2.h.
References fAafCorrection, fIsUnivConstrained, fksigma, fProfileFitter, fUnivFunction, fUseNoiseBins, ghPars, FdEnergyDepositFinderKG::ProfileFitter::SetAafCorrection(), FdEnergyDepositFinderKG::ProfileFitter::SetShapePars(), and FdEnergyDepositFinderKG::ProfileFitter::SetUnivConstrained().
|
inline |
Definition at line 49 of file ProfileChi2.h.
References fUseLightFlux.
|
inline |
Definition at line 48 of file ProfileChi2.h.
References fProfileFitter, and FdEnergyDepositFinderKG::ProfileFitter::Init().
|
protected |
Definition at line 59 of file ProfileChi2.h.
Referenced by SetFitterPars().
|
protected |
Definition at line 52 of file ProfileChi2.h.
Referenced by ProfileChi2().
|
protected |
Definition at line 57 of file ProfileChi2.h.
Referenced by SetFitterPars().
|
protected |
Definition at line 62 of file ProfileChi2.h.
Referenced by SetFitterPars().
|
protected |
Definition at line 56 of file ProfileChi2.h.
|
protected |
Definition at line 58 of file ProfileChi2.h.
|
protected |
Definition at line 53 of file ProfileChi2.h.
|
protected |
Definition at line 54 of file ProfileChi2.h.
Referenced by GetNDof(), GetShapeConstraint1Chi2(), GetShapeConstraint2Chi2(), GetShapeConstraint3Chi2(), SetFitterPars(), and UnSetFitterPars().
|
protected |
Definition at line 61 of file ProfileChi2.h.
Referenced by SetFitterPars().
|
protected |
Definition at line 70 of file ProfileChi2.h.
Referenced by SetUseLightFlux().
|
protected |
Definition at line 60 of file ProfileChi2.h.
Referenced by SetFitterPars().
|
protected |
Definition at line 64 of file ProfileChi2.h.
Referenced by SetFitterPars().