Interface class for access to the Gaisser-Hillas parameters. More...
#include <VGaisserHillasParameter.h>
Public Types | |
typedef int | IsClonableTag |
Public Member Functions | |
virtual VGaisserHillasParameter * | Clone () const =0 |
virtual VGaisserHillasParameter * | Create () const =0 |
virtual double | Eval (const double depth) const =0 |
double | GetChiSquare () const |
virtual double | GetIntegral () const =0 |
virtual double | GetIntegralError () const =0 |
return relative error of integral More... | |
unsigned int | GetNdof () const |
double | GetNMax () const |
double | GetNMaxError () const |
double | GetNMaxXMaxCorrelation () const |
double | GetXMax () const |
double | GetXMaxError () const |
bool | IsdEdXProfile () const |
virtual double | operator() (const double depth) const |
void | SetChiSquare (const double chi, const unsigned int ndof) |
void | SetNMax (const double nMax, const double error, const bool isEnergyDeposit=false) |
void | SetNMaxXMaxCorrelation (const double rho) |
void | SetXMax (const double xMax, const double error) |
VGaisserHillasParameter () | |
VGaisserHillasParameter (const double nMax, const double xMax) | |
virtual | ~VGaisserHillasParameter () |
Protected Attributes | |
double | fChiSqr = 0 |
double | fGammaError = 0 |
double | fGammaIntegral = 0 |
bool | fIsEnergyDeposit = false |
unsigned int | fNdof = 0 |
double | fNMax = 0 |
double | fNMaxError = 0 |
double | fRhoNMaxXMax = 0 |
double | fXMax = 0 |
double | fXMaxError = 0 |
Interface class for access to the Gaisser-Hillas parameters.
This is basically a 2 parameter (Xmax, Nmax) GH result. It means you do not have to bother whether your GH information is from a 2, 4 or 6 parameter fit in order to access the basic parameters Xmax, Nmax, Chi2, and Ndof. Example code:
Only for the higher order parameters X0 or Lambda it is necessary to type-cast (using a dynamic_cast) to the specific GH fit result parameters (GaisserHillas2Parameter, GaisserHillas4Parameter, GaisserHillas6Parameter). For an example look into Examples/FReconstruction/UserModule.cc.
returns true if Nmax should be interpreted as (dEdX)_max
Definition at line 39 of file VGaisserHillasParameter.h.
typedef int evt::VGaisserHillasParameter::IsClonableTag |
Definition at line 42 of file VGaisserHillasParameter.h.
|
inline |
Definition at line 44 of file VGaisserHillasParameter.h.
|
inline |
Definition at line 45 of file VGaisserHillasParameter.h.
|
inlinevirtual |
Definition at line 46 of file VGaisserHillasParameter.h.
|
pure virtual |
|
pure virtual |
Implemented in evt::GaisserHillas4Parameter, evt::GaisserHillas6Parameter, and evt::GaisserHillas2Parameter.
|
pure virtual |
Implemented in evt::GaisserHillas4Parameter, evt::GaisserHillas6Parameter, and evt::GaisserHillas2Parameter.
Referenced by otoa::FD2ADST::FillAtmosphericProfileVars(), operator()(), io::CorsikaShowerFile::ReadProfile(), and FdLightCollectionEfficiencyKG::SimMockEvent::SetLongitudinalProfilesFromGH().
|
inline |
Definition at line 57 of file VGaisserHillasParameter.h.
References fChiSqr.
Referenced by testShowerImpl::CheckShowerRecDataValues(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::DumpCurrentParameters(), and io::FillShowerProfileDataFromConex().
|
pure virtual |
Implemented in evt::GaisserHillas4Parameter, evt::GaisserHillas6Parameter, and evt::GaisserHillas2Parameter.
|
pure virtual |
return relative error of integral
Implemented in evt::GaisserHillas4Parameter, evt::GaisserHillas6Parameter, and evt::GaisserHillas2Parameter.
|
inline |
Definition at line 58 of file VGaisserHillasParameter.h.
References fNdof.
Referenced by testShowerImpl::CheckShowerRecDataValues(), and FdEnergyDepositFinderKG::FdEnergyDepositFinder::DumpCurrentParameters().
|
inline |
Definition at line 53 of file VGaisserHillasParameter.h.
References fNMax.
Referenced by FdProfileReconstructorKG::FdProfileReconstructor::CalculateTotalErrors(), testGaisserHillas4Parameter::CheckClassicToWidthConversion(), testShowerImpl::CheckShowerRecDataValues(), testGaisserHillas4Parameter::CheckWidthToClassicConversion(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::DoInitialReconstruction(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::DumpCurrentParameters(), io::FillShowerProfileDataFromConex(), fdDoubleBumpFinder::FdDoubleBumpFinder::Fit(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::PropagateUncertainties(), io::CorsikaShowerFile::Read(), FdEnergyDepositFinderKG::ProfileFitter::SetStartParameters(), testREASFile::testRead(), and FdProfileReconstructorKG::RootCFMatrixOutput::WriteLateral().
|
inline |
Definition at line 54 of file VGaisserHillasParameter.h.
References fNMaxError.
Referenced by FdProfileReconstructorKG::FdProfileReconstructor::CalculateTotalErrors(), testShowerImpl::CheckShowerRecDataValues(), and FdEnergyDepositFinderKG::FdEnergyDepositFinder::PropagateUncertainties().
|
inline |
Definition at line 55 of file VGaisserHillasParameter.h.
References fRhoNMaxXMax.
|
inline |
Definition at line 51 of file VGaisserHillasParameter.h.
References fXMax.
Referenced by FdProfileReconstructorKG::FdProfileReconstructor::CalculateTotalErrors(), FdSimEventCheckerOG::FdSimEventChecker::CalculateXmaxViewingAngle(), testGaisserHillas4Parameter::CheckClassicToWidthConversion(), testShowerImpl::CheckShowerRecDataValues(), testGaisserHillas4Parameter::CheckWidthToClassicConversion(), ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), evt::ConvertEventToEr(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::DoInitialReconstruction(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::DumpCurrentParameters(), otoa::FD2ADST::FillEyeSim(), io::FillShowerProfileDataFromConex(), fdDoubleBumpFinder::FdDoubleBumpFinder::Fit(), FdProfileConstrainedGeometryFit::ProfileChi2::FitProfile(), FdProfileConstrainedGeometryFitPG::ProfileChi2::FitProfile(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::FitProfile(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::GetXmaxEstimator(), RdHASLDFFitter::RdHASLDFFitter::GetXmaxEstimator(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::PlotLDF(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::PropagateUncertainties(), io::CONEXFile::Read(), io::CorsikaShowerFile::Read(), RdAntennaStationToChannelConverter::RdAntennaStationToChannelConverter::Run(), ProfileSimulatorOG::ProfileSimulator::Run(), ConexShowerGeneratorKG::ConexShowerGenerator::Run(), FdEventLoggerGS::FdEventLogger::Run(), LDFTestKG::LDFTest::Run(), SdSimpleSimKG::SdSimpleSim::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), UniversalityFitter::UniversalityFitter::Run(), FdLightCollectionEfficiencyKG::SimMockEvent::SetLongitudinalProfilesFromGH(), FdEnergyDepositFinderKG::ProfileFitter::SetStartParameters(), testREASFile::testRead(), and FdProfileReconstructorKG::RootCFMatrixOutput::WriteLateral().
|
inline |
Definition at line 52 of file VGaisserHillasParameter.h.
References fXMaxError.
Referenced by FdProfileReconstructorKG::FdProfileReconstructor::CalculateTotalErrors(), testGaisserHillas4Parameter::CheckClassicToWidthConversion(), testShowerImpl::CheckShowerRecDataValues(), testGaisserHillas4Parameter::CheckWidthToClassicConversion(), evt::ConvertEventToEr(), and FdEnergyDepositFinderKG::FdEnergyDepositFinder::PropagateUncertainties().
|
inline |
Definition at line 60 of file VGaisserHillasParameter.h.
References fIsEnergyDeposit.
|
inlinevirtual |
Definition at line 74 of file VGaisserHillasParameter.h.
References Eval().
|
inline |
Definition at line 71 of file VGaisserHillasParameter.h.
References fChiSqr, and fNdof.
Referenced by FdEnergyDepositFinderKG::ProfileFitter::FillGHParameters(), fdDoubleBumpFinder::FdDoubleBumpFinder::FillRecData(), io::FillShowerProfileDataFromConex(), io::GaisserHillasParameters_ROOT::operator>>(), io::AiresShowerFile::Read(), io::CorsikaShowerFile::ReadProfile(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::Run(), io::CorsikaShowerFile::SetHeaderTrailer(), and testShowerImpl::SetShowerRecDataValues().
|
inline |
Definition at line 65 of file VGaisserHillasParameter.h.
References fIsEnergyDeposit, fNMax, and fNMaxError.
Referenced by FdProfileReconstructorKG::FdProfileReconstructor::CalculateTotalErrors(), testGaisserHillas4Parameter::CheckClassicToWidthConversion(), testGaisserHillas4Parameter::CheckWidthToClassicConversion(), FdEnergyDepositFinderKG::ProfileFitter::FillGHParameters(), io::FillShowerProfileDataFromConex(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::GuessGHParameters(), io::GaisserHillasParameters_ROOT::operator>>(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::PropagateUncertainties(), io::AiresShowerFile::Read(), io::CorsikaShowerFile::ReadProfile(), io::CorsikaShowerFile::SetHeaderTrailer(), and testShowerImpl::SetShowerRecDataValues().
|
inline |
Definition at line 68 of file VGaisserHillasParameter.h.
References fRhoNMaxXMax.
Referenced by FdEnergyDepositFinderKG::ProfileFitter::FillGHParameters(), and io::GaisserHillasParameters_ROOT::operator>>().
|
inline |
Definition at line 62 of file VGaisserHillasParameter.h.
References fXMax, and fXMaxError.
Referenced by FdProfileReconstructorKG::FdProfileReconstructor::CalculateTotalErrors(), testGaisserHillas4Parameter::CheckClassicToWidthConversion(), testGaisserHillas4Parameter::CheckWidthToClassicConversion(), evt::ConvertErToEvent(), FdEnergyDepositFinderKG::ProfileFitter::FillGHParameters(), io::FillShowerProfileDataFromConex(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::GuessGHParameters(), io::GaisserHillasParameters_ROOT::operator>>(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::PropagateUncertainties(), io::AiresShowerFile::Read(), io::CorsikaShowerFile::ReadProfile(), io::CorsikaShowerFile::SetHeaderTrailer(), and testShowerImpl::SetShowerRecDataValues().
|
protected |
Definition at line 88 of file VGaisserHillasParameter.h.
Referenced by GetChiSquare(), and SetChiSquare().
|
protected |
Definition at line 92 of file VGaisserHillasParameter.h.
|
protected |
Definition at line 91 of file VGaisserHillasParameter.h.
|
protected |
Definition at line 94 of file VGaisserHillasParameter.h.
Referenced by IsdEdXProfile(), and SetNMax().
|
protected |
Definition at line 89 of file VGaisserHillasParameter.h.
Referenced by GetNdof(), and SetChiSquare().
|
protected |
Definition at line 85 of file VGaisserHillasParameter.h.
Referenced by evt::GaisserHillas6Parameter::Dump(), evt::GaisserHillas4Parameter::Dump(), evt::GaisserHillas6Parameter::Eval(), evt::GaisserHillas4Parameter::Eval(), evt::GaisserHillas4Parameter::GetIntegral(), evt::GaisserHillas4Parameter::GetIntegralError(), GetNMax(), and SetNMax().
|
protected |
Definition at line 86 of file VGaisserHillasParameter.h.
Referenced by evt::GaisserHillas6Parameter::Dump(), evt::GaisserHillas4Parameter::Dump(), evt::GaisserHillas4Parameter::GetIntegralError(), GetNMaxError(), and SetNMax().
|
protected |
Definition at line 87 of file VGaisserHillasParameter.h.
Referenced by GetNMaxXMaxCorrelation(), and SetNMaxXMaxCorrelation().
|
protected |
Definition at line 83 of file VGaisserHillasParameter.h.
Referenced by evt::GaisserHillas6Parameter::Dump(), evt::GaisserHillas4Parameter::Dump(), evt::GaisserHillas6Parameter::Eval(), evt::GaisserHillas4Parameter::Eval(), evt::GaisserHillas4Parameter::GetIntegral(), evt::GaisserHillas4Parameter::GetIntegralError(), evt::GaisserHillas4Parameter::GetShapeParameter(), GetXMax(), evt::GaisserHillas4Parameter::Inverse(), and SetXMax().
|
protected |
Definition at line 84 of file VGaisserHillasParameter.h.
Referenced by evt::GaisserHillas6Parameter::Dump(), evt::GaisserHillas4Parameter::Dump(), evt::GaisserHillas4Parameter::GetIntegralError(), GetXMaxError(), and SetXMax().