#include <LongitudinalXmaxScanner.h>
Public Member Functions | |
void | EstimateXmaxErrors (const RecEvent &theRecEvent) |
const std::vector< double > & | GetErrorAtXmax () const |
const std::vector < LongitudinalScan > & | GetLongitudinalScan () const |
LongitudinalXmaxScanner () | |
void | SetUseBGLoop (const bool use) |
Private Member Functions | |
double | CalculateLightFactor (const utl::Point &pos1, const utl::Point &pos2, const unsigned int eyeId) const |
std::vector< unsigned short > | CalculatePixelTrigger (const std::vector< double > &) const |
double | CalculateTimeLength (const utl::Point &pos1, const utl::Point &pos2, const unsigned int eyeId) const |
double | CalculateTotalError (const double geomVar, const double profVar, const FDEvent &fdEvent) |
void | CalculateXmaxUncertainties (const FDEvent &) |
double | EstimateXmaxVariance (const std::vector< double > &X, const std::vector< double > &ghFunc, const std::vector< double > &eY, const double nMax, const double xMax, const double X0, const double lambda) const |
bool | FillLightFactors (const FDEvent &) |
std::vector< double > | GetChangedDepth (const FDEvent &, double, double, double, double, double) |
std::array< unsigned int, 2 > | GetTelescopeAndPixelId (const utl::Vector &dir, const unsigned int eyeId) const |
void | GetTelescopeProperties (unsigned int) |
bool | IsNearBorder (const utl::Vector &direction, const unsigned int eyeId, const unsigned int tekId, const double zeta) const |
bool | IsTriggered (double dT, double dAng, double npe) const |
void | PrintCurrentVariables (const FDEvent &) const |
void | PropagateGeometryUncertainty (const FDEvent &) |
double | PropagateProfileUncertainty (const FDEvent &, const double X) |
Private Attributes | |
double | fAngularLength = 0 |
unsigned int | fBins = 0 |
double | fCalorimetricEnergy = 0 |
std::vector< bool > | fCloseToBoundary |
std::vector< double > | fDeltaAngle |
std::vector< double > | fDeltaTime |
std::vector< double > | fDepth |
double | fDepthBinWidth = 10*utl::g/utl::cm2 |
std::vector< double > | fErrorAtXmax |
double | fGainVariance = 0 |
std::vector< double > | fGeomVariance |
double | fGeomVarScaleFac = 0 |
std::vector< LongitudinalScan > | fLongitudinalScan |
double | fMinViewingAngle = 0 |
std::vector< double > | fNoiseVariance |
std::vector< bool > | fOutsideTelescope |
double | fPhotoElectronBGRMS = 0 |
std::vector< double > | fPhotoElectronFactor |
double | fPhotonToPhotoElectron = 0 |
double | fPixelSize = 0 |
double | fShowerAngularLength = 0 |
std::vector< double > | fTime |
double | fTrackMax = 0 |
double | fTrackMin = 0 |
bool | fUseBGLoop = false |
int | fVerbosity = 0 |
std::vector< double > | fViewingAngle |
double | fXmax = 0 |
double | fXmaxAngularLength = 0 |
double | fXmaxGeomVar = 0 |
double | fXmaxProfVar = 0 |
double | fXmaxTotErr = 0 |
Definition at line 46 of file LongitudinalXmaxScanner.h.
|
inline |
Definition at line 48 of file LongitudinalXmaxScanner.h.
|
private |
const utl::TabulatedFunctionErrors& mieCAtt = mAtt.GetTransmissionFactor(); // unused. LN.
double effYTsum_C = 0; /// unused (only used in commented code LN. )
Definition at line 623 of file LongitudinalXmaxScanner.cc.
References atm::Atmosphere::EvaluateFluorescenceYield(), atm::Atmosphere::EvaluateMieAttenuation(), atm::Atmosphere::EvaluateRayleighAttenuation(), fwk::CoordinateSystemRegistry::Get(), det::Detector::GetAtmosphere(), atm::Atmosphere::GetdEdX0(), fdet::FDetector::GetEye(), det::Detector::GetFDetector(), utl::Vector::GetMag2(), fdet::Telescope::GetMeasuredRelativeEfficiency(), utl::TabulatedFunction::GetNPoints(), fdet::Eye::GetPosition(), fdet::FDetector::GetReferenceLambda(), fdet::Eye::GetTelescope(), atm::AttenuationResult::GetTransmissionFactor(), atm::Atmosphere::GetWavelengths(), utl::TabulatedFunction::GetX(), utl::TabulatedFunction::GetY(), utl::kPi, utl::MeV, utl::ReferenceEllipsoid::PointToLatitudeLongitudeHeight(), atm::Atmosphere::SetCherenkovEnergyCutoff(), and utl::TabulatedFunction::Y().
|
private |
Definition at line 791 of file LongitudinalXmaxScanner.cc.
|
private |
Definition at line 770 of file LongitudinalXmaxScanner.cc.
References fdet::FDetector::GetEye(), det::Detector::GetFDetector(), utl::Vector::GetMag(), fdet::Eye::GetPosition(), and utl::kSpeedOfLight.
|
private |
Definition at line 852 of file LongitudinalXmaxScanner.cc.
References degree, kMaxVariance, std::pow(), SpaceAngle(), and sqrt().
|
private |
Definition at line 457 of file LongitudinalXmaxScanner.cc.
References otoa::LongitudinalScan::AddScanResult(), utl::cm2, degree, utl::g, gcm2, and sqrt().
void LongitudinalXmaxScanner::EstimateXmaxErrors | ( | const RecEvent & | theRecEvent | ) |
Definition at line 108 of file LongitudinalXmaxScanner.cc.
References galactic::eV, kMaxVariance, and sqrt().
|
private |
Definition at line 928 of file LongitudinalXmaxScanner.cc.
References RdGeoCeLDFFitter::a, gcm2, INFO, kLambdaVar, kMaxVariance, kX0Var, std::pow(), and sqrt().
|
private |
Definition at line 135 of file LongitudinalXmaxScanner.cc.
References Angle(), utl::cm2, degree, atm::Atmosphere::EvaluateDistanceVsSlantDepth(), utl::g, fdet::Channel::GetADCVariance(), det::Detector::GetAtmosphere(), fdet::Telescope::GetChannel(), fdet::Pixel::GetEndToEndCalibrationAtReferenceWavelength(), fdet::FDetector::GetEye(), fdet::Channel::GetFADCBinSize(), det::Detector::GetFDetector(), utl::AugerException::GetMessage(), fdet::Telescope::GetPixel(), det::Detector::GetReferenceCoordinateSystem(), INFO, atm::Atmosphere::InitSlantProfileModel(), utl::kSpeedOfLight, utl::m, atm::ProfileResult::MaxX(), atm::ProfileResult::MinX(), utl::nanosecond, std::pow(), sqrt(), and atm::ProfileResult::Y().
|
private |
Definition at line 289 of file LongitudinalXmaxScanner.cc.
References utl::cm2, utl::Cross(), atm::Atmosphere::EvaluateSlantDepthVsDistance(), utl::g, det::Detector::GetAtmosphere(), fdet::FDetector::GetEye(), fdet::Eye::GetEyeCoordinateSystem(), det::Detector::GetFDetector(), utl::Vector::GetMag(), fdet::Eye::GetPosition(), atm::Atmosphere::InitSlantProfileModel(), utl::kPi, utl::kSpeedOfLight, atm::ProfileResult::MaxX(), atm::ProfileResult::MinX(), utl::Normalized(), and atm::ProfileResult::Y().
|
inline |
Definition at line 55 of file LongitudinalXmaxScanner.h.
References fErrorAtXmax.
|
inline |
Definition at line 52 of file LongitudinalXmaxScanner.h.
References fLongitudinalScan.
|
private |
Definition at line 899 of file LongitudinalXmaxScanner.cc.
References Angle(), fdet::FDetector::GetEye(), det::Detector::GetFDetector(), fdet::Eye::TelescopesBegin(), and fdet::Eye::TelescopesEnd().
|
private |
Definition at line 750 of file LongitudinalXmaxScanner.cc.
References degree, fdet::Telescope::GetCamera(), fdet::FDetector::GetEye(), fdet::Camera::GetGainVariance(), fdet::Eye::TelescopesBegin(), and fdet::Eye::TelescopesEnd().
|
private |
Definition at line 877 of file LongitudinalXmaxScanner.cc.
References Angle(), fdet::FDetector::GetEye(), det::Detector::GetFDetector(), fdet::Eye::GetTelescope(), fdet::Telescope::OutOfBorderPixelsBegin(), and fdet::Telescope::OutOfBorderPixelsEnd().
|
private |
Definition at line 835 of file LongitudinalXmaxScanner.cc.
References ns.
|
private |
|
private |
Definition at line 351 of file LongitudinalXmaxScanner.cc.
References AverageErr(), INFO, kMaxVariance, and std::pow().
|
private |
Definition at line 500 of file LongitudinalXmaxScanner.cc.
References utl::cm2, degree, evt::gh::eLambda, evt::GaisserHillas4Parameter::Eval(), evt::gh::eX0, utl::g, evt::GaisserHillas4Parameter::GetIntegral(), kAverageLambda, kAverageX0, kMaxVariance, ns, PeV, and sqrt().
|
inline |
Definition at line 59 of file LongitudinalXmaxScanner.h.
References fUseBGLoop.
Referenced by otoa::FOVCalculator::SetUseBGLoop().
|
private |
Definition at line 141 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 137 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 119 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 133 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 129 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 130 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 125 of file LongitudinalXmaxScanner.h.
Definition at line 111 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 154 of file LongitudinalXmaxScanner.h.
Referenced by GetErrorAtXmax().
|
private |
Definition at line 114 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 126 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 142 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 153 of file LongitudinalXmaxScanner.h.
Referenced by GetLongitudinalScan().
|
private |
Definition at line 140 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 132 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 134 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 120 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 131 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 115 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 116 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 121 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 127 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 139 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 138 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 150 of file LongitudinalXmaxScanner.h.
Referenced by SetUseBGLoop().
|
private |
Definition at line 110 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 128 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 122 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 148 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 145 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 146 of file LongitudinalXmaxScanner.h.
|
private |
Definition at line 147 of file LongitudinalXmaxScanner.h.