#include <ShowerSizeFunction.h>
Public Types | |
enum | Type { eApprox, eFull } |
Public Member Functions | |
double | operator() (const std::vector< double > &pars) const |
void | Predict (double &meanSignal, double &sigmaSignal, const utl::Point &station, const utl::Point &origin, const double n19, const utl::Point &core, const double recoveryErr=0) const |
void | SetType (const Type type) |
ShowerSizeFunction (const SdHorizontalReconstruction &config, const StationList &list, const SilentStationList &slist, const AxisData &ad, const ExternalGeometryData &gd) | |
double | Up () const |
~ShowerSizeFunction () | |
Protected Attributes | |
double | fAxisInvCov [3][3] |
double | fAxisPar [3] |
const SdHorizontalReconstruction & | fConfig |
const ExternalGeometryData & | fExt |
const StationList & | fList |
const SilentStationList & | fSList |
Type | fType |
unsigned char | fUseAxisCovariance |
Implements Log-Likelihood function for Minuit2 to fit shower size and core.
Definition at line 26 of file ShowerSizeFunction.h.
Enumerator | |
---|---|
eApprox | |
eFull |
Definition at line 29 of file ShowerSizeFunction.h.
ShowerSizeFunction::ShowerSizeFunction | ( | const SdHorizontalReconstruction & | config, |
const StationList & | list, | ||
const SilentStationList & | slist, | ||
const AxisData & | ad, | ||
const ExternalGeometryData & | gd | ||
) |
Definition at line 22 of file ShowerSizeFunction.cc.
References SdHorizontalReconstructionNS::eDistance, SdHorizontalReconstructionNS::ePhi, SdHorizontalReconstructionNS::eTheta, fAxisInvCov, fAxisPar, SdHorizontalReconstructionNS::AxisData::fCov, SdHorizontalReconstructionNS::AxisData::fPar, fUseAxisCovariance, and utl::InvertMatrix().
|
inline |
Definition at line 40 of file ShowerSizeFunction.h.
double ShowerSizeFunction::operator() | ( | const std::vector< double > & | pars | ) | const |
Definition at line 60 of file ShowerSizeFunction.cc.
References SdHorizontalReconstructionNS::eCoreXExt, SdHorizontalReconstructionNS::eCoreYExt, galactic::EeV, eFull, SdHorizontalReconstructionNS::ePhiExt, SdHorizontalReconstructionNS::eThetaExt, fAxisInvCov, fAxisPar, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fBaryCS, fConfig, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fDropStationsBelowThreshold, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fEMComponent, fExt, SdHorizontalReconstructionNS::ExternalGeometryData::fInvCov, fList, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fMuonProfile, SdHorizontalReconstructionNS::ExternalGeometryData::fPar, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fSilentSignalThreshold, fSList, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fTankResponse, fType, fUseAxisCovariance, utl::BasicVector< HepVector >::GetPhi(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::GetShowerAxis(), utl::BasicVector< HepVector >::GetTheta(), km, SdHorizontalReconstructionNS::SdHorizontalReconstruction::LocalCoordinates(), max, tls::VTankResponse::PoissonConvolvedCDF(), tls::VTankResponse::PoissonConvolvedPDF(), Predict(), and result.
void ShowerSizeFunction::Predict | ( | double & | meanSignal, |
double & | sigmaSignal, | ||
const utl::Point & | station, | ||
const utl::Point & | origin, | ||
const double | n19, | ||
const utl::Point & | core, | ||
const double | recoveryErr = 0 |
||
) | const |
Definition at line 237 of file ShowerSizeFunction.cc.
References galactic::EeV, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fBaryCS, fConfig, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fEMComponent, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fMuonProfile, SdHorizontalReconstructionNS::SdHorizontalReconstruction::fTankResponse, utl::BasicVector< HepVector >::GetPhi(), utl::BasicVector< HepVector >::GetTheta(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::LocalCoordinates(), tls::VTankResponse::PoissonConvolvedMeanAndStDev(), utl::Sqr(), and sqrt().
Referenced by operator()(), and SdHorizontalReconstructionNS::SdHorizontalReconstruction::SetReconstructedValues().
|
inline |
Definition at line 57 of file ShowerSizeFunction.h.
References fType.
Referenced by SdHorizontalReconstructionNS::SdHorizontalReconstruction::FitShowerSize().
|
inline |
Definition at line 46 of file ShowerSizeFunction.h.
|
protected |
Definition at line 66 of file ShowerSizeFunction.h.
Referenced by operator()(), and ShowerSizeFunction().
|
protected |
Definition at line 65 of file ShowerSizeFunction.h.
Referenced by operator()(), and ShowerSizeFunction().
|
protected |
Definition at line 61 of file ShowerSizeFunction.h.
Referenced by operator()(), and Predict().
|
protected |
Definition at line 67 of file ShowerSizeFunction.h.
Referenced by operator()().
|
protected |
Definition at line 62 of file ShowerSizeFunction.h.
Referenced by operator()().
|
protected |
Definition at line 63 of file ShowerSizeFunction.h.
Referenced by operator()().
|
protected |
Definition at line 60 of file ShowerSizeFunction.h.
Referenced by operator()(), and SetType().
|
protected |
Definition at line 64 of file ShowerSizeFunction.h.
Referenced by operator()(), and ShowerSizeFunction().