Classes | |
class | LDFFit |
class | PowerConfig |
class | RmuXmaxFit |
class | SignalRatioFit |
class | un2Detector |
class | UniversalityConfig |
Functions | |
double | ActivationFunctionBackground (const double f, const double fThrsh, const double cThrsh, const double bg) |
double | AnalyticDX (const double r, const double psi, const double theta, const double Xmax, const double Xvert, const double hs, const double hs2, const double height) |
double | AnalyticHeightFromDepth (const double depth, const double theta, const double xVertGround, const double hs, const double hs2) |
double | AnalyticXmax (const double r, const double psi, const double theta, const double DX, const double Xvert, const double hs, const double hs2, const double height) |
double | avglnRmu0 (const double lgE, const bool realEvent) |
double | avgXmax0 (const double lgE, const bool realEvent) |
double | AzimuthCorrectionFactor (const double theta, const double psi, const double r, const double r0, const double l) |
double | BiasCorrectionRmu (const double sst, const double lgE, const bool realEvent) |
double | BiasCorrectionXmax (const double sst, const double lgE, const bool realEvent) |
double | CalcDX (const bool realAtmosphere, const bool useDL, const double spRadius, const double spPsi, const double groundHeight, const double xMax, const double theta, const int month, const bool silent) |
double | CalcDXCorsikaAtm (const bool useDL, const double spRadius, const double spPsi, const double groundHeight, const double xMax, const double theta, const int month) |
double | CalcDXRealAtm (const bool useDL, const double spRadius, const double spPsi, const double groundHeight, const double xMax, const double theta, const int month) |
constexpr double | Deg2Rad (const double deg) |
double | ErfcInv (const double x) |
double | ErfInv (double x) |
double | ExpInterpolate (const double x1, const double y1, const double x2, const double y2, const double x) |
constexpr double | Exponential (const double x, const double a, const double b, const double c) |
std::vector< std::vector < double > > | FindPeaks (const std::vector< double > &input, const double totalThreshold) |
double | GammaPDF (const double x, const double mu, const double theta) |
double | Gaussian (const double x, const double mu, const double sigma) |
std::vector< double > | GetIntegratedTotalSignal (std::vector< double > t, std::string model, double lgE, double zenith, double r, double psi, double height=1400., double Xmax=750., double Rmu=1.0, std::string detector="WCD", int month=3, bool realAtmosphere=false, bool useThreshold=false, double planeFrontTimeResidual=-10, double nsBin=8.3333, std::string returnValue="cdf", int component=0, double normalized=0) |
vector< double > | GetIntegratedTotalSignal (vector< double > t, string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, string detector, int month, bool realAtmosphere, bool useThreshold, double planeFrontTimeResidual, double nsBin, string returnValue, int component, double normalized) |
std::vector< double > | GetIntegratedTotalSignalSum (std::vector< double > t, std::string model, double lgE, double zenith, double r, double psi, double height=1400., double Xmax=750., double Rmu=1.0, std::string detector="WCD", int month=3, bool realAtmosphere=false, bool useThreshold=false, double planeFrontTimeResidual=-10, double nsBin=8.3333, double normalized=0) |
vector< double > | GetIntegratedTotalSignalSum (vector< double > t, string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, string detector, int month, bool realAtmosphere, bool useThreshold, double planeFrontTimeResidual, double nsBin, double normalized) |
std::vector< double > | GetSignal (std::string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, std::string detector, int month=3, bool realAtmosphere=false, bool useThreshold=true) |
vector< double > | GetSignal (string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, string detector, int month, bool realAtmosphere, bool useThreshold) |
std::vector< std::vector < double > > | GetTimeQuantile (double zenith, double r, double psi, double height, double Xmax, std::string detector="WCD", std::string quantile="t40", int month=3, bool realAtmosphere=false) |
vector< vector< double > > | GetTimeQuantile (double zenith, double r, double psi, double height, double Xmax, string detector, string quantile, int month, bool realAtmosphere) |
std::vector< std::vector < double > > | GetTraceParameters (double zenith, double r, double psi, double height=1400., double Xmax=750., std::string detector="WCD", int month=3, bool realAtmosphere=false, double planeFrontTimeResidual=-10, double nsBin=8.3333) |
vector< vector< double > > | GetTraceParameters (double zenith, double r, double psi, double height, double Xmax, string detector, int month, bool realAtmosphere, double planeFrontTimeResidual, double nsBin) |
double | GHGauss (const double r, const double psi, const double theta, const double Xmax, const double lambda) |
double | Interpolate (const double dx, const double dy, const double x) |
double | Interpolate (const double x1, const double y1, const double x2, const double y2, const double x) |
double | lnA (const double Rmu, const double Xmax, const double lgE, const bool realEvent) |
double | LogarithmOfRayleighPDF (const double x, const double sigma) |
double | LogarithmOfTruncatedGaussianPDF (const double x, const double mu, const double sigma) |
double | LogNormalCDF (const double x, const double mu, const double sigma) |
double | LogNormalMuFromExpAndStd (const double exp_val, const double std, const double ns_bin) |
double | LogNormalMuFromModeAndSigma (const double mode, const double sigma, const double ns_bin) |
double | LogNormalMuFromTimeQuantileAndSigma (const double timeQuantile, const double quantile, const double sigma, const double ns_bin) |
double | LogNormalPDF (const double x, const double mu, const double sigma) |
double | LogNormalSigmaFromExpAndStd (const double exp_val, const double std, const double ns_bin) |
double | LogNormalTimeQuantileFromMuAndSigma (const double mu, const double sigma, const double quantile, const double ns_bin) |
double | Mean (const std::vector< double > &v) |
double | MIPtoMIPpersqm (const double mIPval, const double theta) |
std::vector< double > | MIPtoMIPpersqm (const std::vector< double > &mIPvals, const double theta) |
double | ModifiedGH (const double deltaX, const double sRef, const double lgE, const double gamma, const double deltaX0, const double deltaXMax, const double deltaXRef, const double lambda0, const double lambda1, const double lambda2) |
double | NKG (const double r, const double n, const double rG, const double s) |
constexpr double | Polynomial4 (const double x, const double a0, const double a1, const double a2, const double a3, const double a4) |
constexpr double | Rad2Deg (const double rad) |
double | SigmaXmaxFromRmu (const double Rmu, const double lgE, const bool realEvent) |
double | SignalStartTime (const double r, const double psi, const double theta, const double DX, const double Xvert, const double hs, const double hs2) |
double | SignalStartTimePlaneFront (const double r, const double psi, const double theta, const double DX, const double Xvert, const double hs, const double hs2, const double height) |
void | SimpleReco (evt::Event &event) |
double | SpikyFunction (const double x, const double sigma, const double delta, const std::vector< double > &nvec) |
double | SpikyFunction (const double x, const std::vector< double > &sigmavec, const std::vector< double > &muvec, const std::vector< double > &nvec) |
double | StandardDeviation (const std::vector< double > &v, const double mean) |
double | StandardDeviation (const std::vector< double > &v) |
double | StD (const std::vector< double > &v, const double mean) |
double | TwoFormAzimuthCorrectionFactor (const double theta, const double psi, const double M1, const double M3) |
double | VEMtoVEMpersqm (const double VEMval, const double theta) |
std::vector< double > | VEMtoVEMpersqm (const std::vector< double > &mIPvals, const double theta) |
double | XmaxDistribution (const double Rmu, const double Xmax, const double lgE, const bool realEvent) |
double | XmaxFromRmu (const double Rmu, const double lgE, const bool realEvent) |
Variables | |
const std::string | PREFIX = "./" |
double un2::ActivationFunctionBackground | ( | const double | f, |
const double | fThrsh, | ||
const double | cThrsh, | ||
const double | bg | ||
) |
Definition at line 82 of file Functions.cc.
Referenced by GetSignal().
double un2::AnalyticDX | ( | const double | r, |
const double | psi, | ||
const double | theta, | ||
const double | Xmax, | ||
const double | Xvert, | ||
const double | hs, | ||
const double | hs2, | ||
const double | height | ||
) |
Definition at line 355 of file Functions.cc.
Referenced by CalcDXCorsikaAtm(), GetSignal(), GetTimeQuantile(), GetTraceParameters(), and GHGauss().
double un2::AnalyticHeightFromDepth | ( | const double | depth, |
const double | theta, | ||
const double | xVertGround, | ||
const double | hs, | ||
const double | hs2 | ||
) |
Definition at line 374 of file Functions.cc.
Referenced by CalcDXCorsikaAtm(), and SignalStartTimePlaneFront().
double un2::AnalyticXmax | ( | const double | r, |
const double | psi, | ||
const double | theta, | ||
const double | DX, | ||
const double | Xvert, | ||
const double | hs, | ||
const double | hs2, | ||
const double | height | ||
) |
Definition at line 364 of file Functions.cc.
Referenced by SignalStartTime(), and SignalStartTimePlaneFront().
double un2::avglnRmu0 | ( | const double | lgE, |
const bool | realEvent | ||
) |
Definition at line 443 of file Functions.cc.
Referenced by lnA(), SigmaXmaxFromRmu(), and XmaxFromRmu().
double un2::avgXmax0 | ( | const double | lgE, |
const bool | realEvent | ||
) |
Definition at line 434 of file Functions.cc.
Referenced by lnA(), SimpleReco(), and XmaxFromRmu().
double un2::AzimuthCorrectionFactor | ( | const double | theta, |
const double | psi, | ||
const double | r, | ||
const double | r0, | ||
const double | l | ||
) |
Definition at line 94 of file Functions.cc.
double un2::BiasCorrectionRmu | ( | const double | sst, |
const double | lgE, | ||
const bool | realEvent | ||
) |
Definition at line 404 of file Functions.cc.
Referenced by SimpleReco().
double un2::BiasCorrectionXmax | ( | const double | sst, |
const double | lgE, | ||
const bool | realEvent | ||
) |
Definition at line 384 of file Functions.cc.
Referenced by SimpleReco().
double un2::CalcDX | ( | const bool | realAtmosphere, |
const bool | useDL, | ||
const double | spRadius, | ||
const double | spPsi, | ||
const double | groundHeight, | ||
const double | xMax, | ||
const double | theta, | ||
const int | month, | ||
const bool | silent | ||
) |
Definition at line 182 of file AtmosphereUtilities.cc.
References CalcDXCorsikaAtm(), CalcDXRealAtm(), utl::LeakingSingleton< ErrorLogger >::GetInstance(), and utl::ErrorLogger::SetStream().
Referenced by SimpleReco().
|
inline |
Definition at line 148 of file AtmosphereUtilities.cc.
References AnalyticDX(), AnalyticHeightFromDepth(), utl::Branch::Get(), utl::Branch::GetChild(), un2::UniversalityConfig::GetGroundLevelDepths(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), fwk::CentralConfig::GetTopBranch(), and utl::m.
Referenced by CalcDX().
|
inline |
Definition at line 84 of file AtmosphereUtilities.cc.
References utl::cm2, ExpInterpolate(), utl::g, and galactic::meter.
Referenced by CalcDX().
|
inline |
Definition at line 14 of file Functions.h.
References utl::deg.
double un2::ErfcInv | ( | const double | x | ) |
Definition at line 341 of file Functions.cc.
References ErfInv().
double un2::ErfInv | ( | double | x | ) |
Definition at line 284 of file Functions.cc.
References sqrt().
Referenced by ErfcInv(), LogNormalMuFromTimeQuantileAndSigma(), and LogNormalTimeQuantileFromMuAndSigma().
|
inline |
Definition at line 64 of file AtmosphereUtilities.cc.
References Interpolate().
Referenced by CalcDXRealAtm().
|
inline |
Definition at line 79 of file Functions.h.
References RdGeoCeLDFFitter::c.
std::vector< std::vector< double > > un2::FindPeaks | ( | const std::vector< double > & | input, |
const double | totalThreshold | ||
) |
Definition at line 9 of file UnivTools.cc.
References utl::abs(), Mean(), and StandardDeviation().
Referenced by DoublePeakDetectorNS::DoublePeakDetector::Run().
double un2::GammaPDF | ( | const double | x, |
const double | mu, | ||
const double | theta | ||
) |
Definition at line 348 of file Functions.cc.
References std::pow().
double un2::Gaussian | ( | const double | x, |
const double | mu, | ||
const double | sigma | ||
) |
Definition at line 123 of file Functions.cc.
References utl::kSqrt2Pi, and utl::Sqr().
Referenced by SpikyFunction().
std::vector<double> un2::GetIntegratedTotalSignal | ( | std::vector< double > | t, |
std::string | model, | ||
double | lgE, | ||
double | zenith, | ||
double | r, | ||
double | psi, | ||
double | height = 1400. , |
||
double | Xmax = 750. , |
||
double | Rmu = 1.0 , |
||
std::string | detector = "WCD" , |
||
int | month = 3 , |
||
bool | realAtmosphere = false , |
||
bool | useThreshold = false , |
||
double | planeFrontTimeResidual = -10 , |
||
double | nsBin = 8.3333 , |
||
std::string | returnValue = "cdf" , |
||
int | component = 0 , |
||
double | normalized = 0 |
||
) |
Definition at line 393 of file GetSignal.cc.
References utl::wcd::eGAP2014_035, utl::ssd::eGAP2019_000, ERROR, GetSignal(), UniversalityFitter::GetTimeQuantile(), GetTraceParameters(), LogNormalCDF(), LogNormalPDF(), RdBeamFormer::norm(), utl::wcd::SignalUncertainty(), utl::ssd::SignalUncertainty(), utl::Sqr(), and sqrt().
Referenced by GetIntegratedTotalSignalSum(), and SimpleReco().
vector<double> un2::GetIntegratedTotalSignal | ( | vector< double > | t, |
string | model, | ||
double | lgE, | ||
double | zenith, | ||
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
double | Rmu, | ||
string | detector, | ||
int | month, | ||
bool | realAtmosphere, | ||
bool | useThreshold, | ||
double | planeFrontTimeResidual, | ||
double | nsBin, | ||
string | returnValue, | ||
int | component, | ||
double | normalized | ||
) |
Definition at line 393 of file GetSignal.cc.
References utl::wcd::eGAP2014_035, utl::ssd::eGAP2019_000, ERROR, GetSignal(), UniversalityFitter::GetTimeQuantile(), GetTraceParameters(), LogNormalCDF(), LogNormalPDF(), RdBeamFormer::norm(), utl::wcd::SignalUncertainty(), utl::ssd::SignalUncertainty(), utl::Sqr(), and sqrt().
Referenced by GetIntegratedTotalSignalSum(), and SimpleReco().
std::vector<double> un2::GetIntegratedTotalSignalSum | ( | std::vector< double > | t, |
std::string | model, | ||
double | lgE, | ||
double | zenith, | ||
double | r, | ||
double | psi, | ||
double | height = 1400. , |
||
double | Xmax = 750. , |
||
double | Rmu = 1.0 , |
||
std::string | detector = "WCD" , |
||
int | month = 3 , |
||
bool | realAtmosphere = false , |
||
bool | useThreshold = false , |
||
double | planeFrontTimeResidual = -10 , |
||
double | nsBin = 8.3333 , |
||
double | normalized = 0 |
||
) |
Definition at line 476 of file GetSignal.cc.
References RdGeoCeLDFFitter::c, and GetIntegratedTotalSignal().
Referenced by SimpleReco().
vector<double> un2::GetIntegratedTotalSignalSum | ( | vector< double > | t, |
string | model, | ||
double | lgE, | ||
double | zenith, | ||
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
double | Rmu, | ||
string | detector, | ||
int | month, | ||
bool | realAtmosphere, | ||
bool | useThreshold, | ||
double | planeFrontTimeResidual, | ||
double | nsBin, | ||
double | normalized | ||
) |
Definition at line 476 of file GetSignal.cc.
References RdGeoCeLDFFitter::c, and GetIntegratedTotalSignal().
Referenced by SimpleReco().
std::vector<double> un2::GetSignal | ( | std::string | model, |
double | lgE, | ||
double | zenith, | ||
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
double | Rmu, | ||
std::string | detector, | ||
int | month = 3 , |
||
bool | realAtmosphere = false , |
||
bool | useThreshold = true |
||
) |
Definition at line 24 of file GetSignal.cc.
References ActivationFunctionBackground(), AnalyticDX(), utl::Branch::Get(), utl::Branch::GetChild(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), un2::UniversalityConfig::GetReducedComponents(), fwk::CentralConfig::GetTopBranch(), ModifiedGH(), NKG(), G4StationSimulatorOG::p, std::pow(), and utl::s.
Referenced by GetIntegratedTotalSignal(), and SimpleReco().
vector<double> un2::GetSignal | ( | string | model, |
double | lgE, | ||
double | zenith, | ||
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
double | Rmu, | ||
string | detector, | ||
int | month, | ||
bool | realAtmosphere, | ||
bool | useThreshold | ||
) |
Definition at line 24 of file GetSignal.cc.
References ActivationFunctionBackground(), AnalyticDX(), utl::Branch::Get(), utl::Branch::GetChild(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), un2::UniversalityConfig::GetReducedComponents(), fwk::CentralConfig::GetTopBranch(), ModifiedGH(), NKG(), G4StationSimulatorOG::p, std::pow(), and utl::s.
Referenced by GetIntegratedTotalSignal(), and SimpleReco().
std::vector<std::vector<double> > un2::GetTimeQuantile | ( | double | zenith, |
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
std::string | detector = "WCD" , |
||
std::string | quantile = "t40" , |
||
int | month = 3 , |
||
bool | realAtmosphere = false |
||
) |
Definition at line 202 of file GetSignal.cc.
References AnalyticDX(), RdGeoCeLDFFitter::c, ERROR, utl::Branch::Get(), utl::Branch::GetChild(), un2::UniversalityConfig::GetComponents(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), fwk::CentralConfig::GetTopBranch(), std::pow(), and SignalStartTimePlaneFront().
vector<vector<double> > un2::GetTimeQuantile | ( | double | zenith, |
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
string | detector, | ||
string | quantile, | ||
int | month, | ||
bool | realAtmosphere | ||
) |
Definition at line 202 of file GetSignal.cc.
References AnalyticDX(), RdGeoCeLDFFitter::c, ERROR, utl::Branch::Get(), utl::Branch::GetChild(), un2::UniversalityConfig::GetComponents(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), fwk::CentralConfig::GetTopBranch(), std::pow(), and SignalStartTimePlaneFront().
std::vector<std::vector<double> > un2::GetTraceParameters | ( | double | zenith, |
double | r, | ||
double | psi, | ||
double | height = 1400. , |
||
double | Xmax = 750. , |
||
std::string | detector = "WCD" , |
||
int | month = 3 , |
||
bool | realAtmosphere = false , |
||
double | planeFrontTimeResidual = -10 , |
||
double | nsBin = 8.3333 |
||
) |
Definition at line 282 of file GetSignal.cc.
References AnalyticDX(), utl::Branch::GetChild(), un2::UniversalityConfig::GetComponents(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), UniversalityFitter::GetTimeQuantile(), fwk::CentralConfig::GetTopBranch(), LogNormalMuFromExpAndStd(), LogNormalMuFromTimeQuantileAndSigma(), LogNormalSigmaFromExpAndStd(), and std::pow().
Referenced by GetIntegratedTotalSignal().
vector<vector<double> > un2::GetTraceParameters | ( | double | zenith, |
double | r, | ||
double | psi, | ||
double | height, | ||
double | Xmax, | ||
string | detector, | ||
int | month, | ||
bool | realAtmosphere, | ||
double | planeFrontTimeResidual, | ||
double | nsBin | ||
) |
Definition at line 282 of file GetSignal.cc.
References AnalyticDX(), utl::Branch::GetChild(), un2::UniversalityConfig::GetComponents(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), un2::UniversalityConfig::GetMonthsMapReverse(), UniversalityFitter::GetTimeQuantile(), fwk::CentralConfig::GetTopBranch(), LogNormalMuFromExpAndStd(), LogNormalMuFromTimeQuantileAndSigma(), LogNormalSigmaFromExpAndStd(), and std::pow().
Referenced by GetIntegratedTotalSignal().
double un2::GHGauss | ( | const double | r, |
const double | psi, | ||
const double | theta, | ||
const double | Xmax, | ||
const double | lambda | ||
) |
Definition at line 427 of file Functions.cc.
References AnalyticDX(), and utl::Sqr().
|
inline |
Definition at line 45 of file AtmosphereUtilities.cc.
Referenced by ExpInterpolate(), TabulatedTankSimulatorNS::DetectorResponse::GetPe(), TabulatedTankSimulatorNS::DetectorResponse::GetSignalBin(), Interpolate(), TabulatedTankSimulatorNS::DetectorResponse::IsHit(), and utl::TabulatedFunctionComplexLgAmpPhase::Y().
|
inline |
Definition at line 54 of file AtmosphereUtilities.cc.
References Interpolate().
double un2::lnA | ( | const double | Rmu, |
const double | Xmax, | ||
const double | lgE, | ||
const bool | realEvent | ||
) |
Definition at line 505 of file Functions.cc.
References avglnRmu0(), avgXmax0(), and utl::Sqr().
Referenced by RdGeoCeLDFFitter::GetXmaxGumble(), utl::GumbelXmax::Lambda(), utl::XmaxParam::Mean(), utl::GumbelXmax::Mu(), evt::ShowerUnivRecData::SetLnA(), utl::GumbelXmax::Sigma(), SimpleReco(), and utl::XmaxParam::StandardDeviation().
double un2::LogarithmOfRayleighPDF | ( | const double | x, |
const double | sigma | ||
) |
Definition at line 202 of file Functions.cc.
double un2::LogarithmOfTruncatedGaussianPDF | ( | const double | x, |
const double | mu, | ||
const double | sigma | ||
) |
Definition at line 213 of file Functions.cc.
References sqrt().
double un2::LogNormalCDF | ( | const double | x, |
const double | mu, | ||
const double | sigma | ||
) |
Definition at line 235 of file Functions.cc.
References sqrt().
Referenced by GetIntegratedTotalSignal().
double un2::LogNormalMuFromExpAndStd | ( | const double | exp_val, |
const double | std, | ||
const double | ns_bin | ||
) |
Definition at line 251 of file Functions.cc.
Referenced by GetTraceParameters().
double un2::LogNormalMuFromModeAndSigma | ( | const double | mode, |
const double | sigma, | ||
const double | ns_bin | ||
) |
Definition at line 244 of file Functions.cc.
double un2::LogNormalMuFromTimeQuantileAndSigma | ( | const double | timeQuantile, |
const double | quantile, | ||
const double | sigma, | ||
const double | ns_bin | ||
) |
Definition at line 274 of file Functions.cc.
References ErfInv(), and utl::kSqrt2.
Referenced by GetTraceParameters().
double un2::LogNormalPDF | ( | const double | x, |
const double | mu, | ||
const double | sigma | ||
) |
Definition at line 226 of file Functions.cc.
References utl::kSqrt2Pi, and utl::Sqr().
Referenced by GetIntegratedTotalSignal().
double un2::LogNormalSigmaFromExpAndStd | ( | const double | exp_val, |
const double | std, | ||
const double | ns_bin | ||
) |
double un2::LogNormalTimeQuantileFromMuAndSigma | ( | const double | mu, |
const double | sigma, | ||
const double | quantile, | ||
const double | ns_bin | ||
) |
Definition at line 267 of file Functions.cc.
References ErfInv(), and utl::kSqrt2.
|
inline |
Definition at line 31 of file Functions.h.
Referenced by FdCalibratorOG::FdCalibrator::ApplyCalibration(), TabularTankResponseNS::TankResponse::CDF(), RdPreWaveFitter::Chi2ForPlaneWaveFit::DoEval(), Chi2ForSphericalWaveFitVarC::DoEval(), Chi2ForSphericalWaveFit::DoEval(), Chi2ForPlaneWaveFit::DoEval(), Chi2ForConicalWaveFit::DoEval(), FdCalibratorOG::FdCalibrator::FillChannelRecData(), FindPeaks(), SdSimpleSimKG::SdSimpleSim::GenerateNoiseStation(), TabulatedTankSimulatorNS::DetectorResponse::GetAreaProj(), RdSphericalFit::GetTimeResiduals(), RdWaveFit::RdWaveFit::GetTimeResiduals(), RdSimulationRadioTrigger::RdSimulationRadioTrigger::GetTraceWithoutDCOffset(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::GetXmaxEstimator(), RdHASLDFFitter::RdHASLDFFitter::GetXmaxEstimator(), FdTriggerSimulatorOG::FdTriggerSimulator::MakeMirrorEvent(), utl::TraceAlgorithm::Median(), RdStationSignalReconstructorWithBgSubtraction::RdStationSignalReconstructorWithBgSubtraction::Noisefinder(), RdScintSignalReconstructor::RdScintSignalReconstructor::Noisefinder(), RdStationSignalReconstructor::RdStationSignalReconstructor::Noisefinder(), RdSphericalFit::SphericalFitFunction::operator()(), TabularTankResponseNS::TankResponse::PDF(), tls::VTankResponse::PoissonConvolvedMeanAndStDev(), RdScintSignalReconstructor::RdScintSignalReconstructor::Pulsefinder(), RdScintSignalReconstructor::RdScintSignalReconstructor::PulseFixedWindowIntegrator(), RdChannelPedestalRemover::RdChannelPedestalRemover::RemoveDCOffset(), utl::TraceAlgorithm::RMS(), RdTopDownStationSelector::RdTopDownStationSelector::Run(), RdChannelBandstopFilter::RdChannelBandstopFilter::Run(), RdMonitoring::RdMonitoring::Run(), RdPreWaveFitter::Chi2ForPlaneWaveFit::Set(), Chi2ForSphericalWaveFitVarC::Set(), Chi2ForPlaneWaveFit::Set(), Chi2ForConicalWaveFit::Set(), Chi2ForSphericalWaveFit::Set(), RdScintSignalReconstructor::RdScintSignalReconstructor::Signalwindowfinder(), StandardDeviation(), utl::TraceAlgorithm::StandardDeviation(), testTraces::testAlgorithms(), testTimeDistribution::testAlgorithms(), testTraces::testBinException1(), and testTraces::testBinException2().
double un2::MIPtoMIPpersqm | ( | const double | mIPval, |
const double | theta | ||
) |
Definition at line 63 of file UnivTools.cc.
Referenced by MIPtoMIPpersqm().
std::vector< double > un2::MIPtoMIPpersqm | ( | const std::vector< double > & | mIPvals, |
const double | theta | ||
) |
Definition at line 70 of file UnivTools.cc.
References utl::m, and MIPtoMIPpersqm().
double un2::ModifiedGH | ( | const double | deltaX, |
const double | sRef, | ||
const double | lgE, | ||
const double | gamma, | ||
const double | deltaX0, | ||
const double | deltaXMax, | ||
const double | deltaXRef, | ||
const double | lambda0, | ||
const double | lambda1, | ||
const double | lambda2 | ||
) |
double un2::NKG | ( | const double | r, |
const double | n, | ||
const double | rG, | ||
const double | s | ||
) |
Definition at line 68 of file Functions.cc.
References utl::kTwoPi, and std::pow().
Referenced by LDFTestKG::LDFTest::CalculateTankSignal(), RdLDFFitter::LDFLikelihoodFunction::GetScintillatorLDFLikelihood(), GetSignal(), and RdLDFFitter::RdLDFFitter::Run().
|
inline |
Definition at line 64 of file Functions.h.
|
inline |
double un2::SigmaXmaxFromRmu | ( | const double | Rmu, |
const double | lgE, | ||
const bool | realEvent | ||
) |
Definition at line 473 of file Functions.cc.
References avglnRmu0().
Referenced by XmaxDistribution().
double un2::SignalStartTime | ( | const double | r, |
const double | psi, | ||
const double | theta, | ||
const double | DX, | ||
const double | Xvert, | ||
const double | hs, | ||
const double | hs2 | ||
) |
Definition at line 160 of file Functions.cc.
References AnalyticXmax(), and sqrt().
double un2::SignalStartTimePlaneFront | ( | const double | r, |
const double | psi, | ||
const double | theta, | ||
const double | DX, | ||
const double | Xvert, | ||
const double | hs, | ||
const double | hs2, | ||
const double | height | ||
) |
Definition at line 177 of file Functions.cc.
References AnalyticHeightFromDepth(), AnalyticXmax(), and sqrt().
Referenced by GetTimeQuantile().
void un2::SimpleReco | ( | evt::Event & | event | ) |
Definition at line 48 of file UnivV2Rec.cc.
References avgXmax0(), BiasCorrectionRmu(), BiasCorrectionXmax(), CalcDX(), utl::cm2, utl::wcd::eGAP2014_035, utl::ssd::eGAP2019_000, fevt::ComponentSelector::eHasData, sevt::StationConstants::eMuon, ERROR, sevt::StationConstants::eTotal, fevt::FEvent::EyesBegin(), utl::Branch::GetChild(), utl::Branch::GetData(), evt::ShowerSimData::GetEnergy(), evt::Event::GetFEvent(), utl::TimeStamp::GetGPSSecond(), evt::Event::GetHeader(), fwk::CentralConfig::GetInstance(), GetIntegratedTotalSignal(), GetIntegratedTotalSignalSum(), utl::UTCDate::GetMonth(), utl::Minou::Base::GetParameterDefs(), utl::BasicVector< HepVector >::GetPhi(), evt::Event::GetRecShower(), evt::ShowerSimData::GetShowerCoordinateSystem(), GetSignal(), evt::Event::GetSimShower(), utl::Trace< T >::GetSize(), utl::BasicVector< HepVector >::GetTheta(), evt::Header::GetTime(), UniversalityFitter::GetTimeQuantile(), fwk::CentralConfig::GetTopBranch(), utl::gram, fevt::FEvent::HasEye(), evt::Event::HasFEvent(), evt::Event::HasRecShower(), evt::Event::HasSimShower(), evt::ShowerRecData::HasUnivRecShower(), INFO, lnA(), LongTermCorrectionPerEye(), utl::m, evt::ShowerRecData::MakeUnivRecShower(), utl::Minou::Minimizer< F >::Minimize(), std::pow(), utl::Minou::Minimizer< F >::push_back(), Rad2Deg(), evt::ShowerSimData::SetNmu(), utl::Minou::Base::SetParameterDefs(), utl::Minou::Minimizer< F >::SetVerbose(), un2::un2Detector::signalStartSlot, utl::wcd::SignalUncertainty(), utl::ssd::SignalUncertainty(), utl::Sqr(), verbose, and WARNING.
Referenced by UniversalityFitterV2::UniversalityFitterV2::Run().
double un2::SpikyFunction | ( | const double | x, |
const double | sigma, | ||
const double | delta, | ||
const std::vector< double > & | nvec | ||
) |
Definition at line 134 of file Functions.cc.
References Gaussian().
double un2::SpikyFunction | ( | const double | x, |
const std::vector< double > & | sigmavec, | ||
const std::vector< double > & | muvec, | ||
const std::vector< double > & | nvec | ||
) |
Definition at line 147 of file Functions.cc.
References Gaussian().
double un2::StandardDeviation | ( | const std::vector< double > & | v, |
const double | mean | ||
) |
Definition at line 26 of file Functions.cc.
References StD().
Referenced by FdCalibratorOG::FdCalibrator::ApplyCalibration(), FindPeaks(), RdChannelBandstopFilter::RdChannelBandstopFilter::Run(), FdNoiseAdderKG::FdNoiseAdder::Run(), RdGalacticDatasetMaker::RdGalacticDatasetMaker::Run(), and RdMonitoring::RdMonitoring::Run().
double un2::StandardDeviation | ( | const std::vector< double > & | v | ) |
Definition at line 35 of file Functions.cc.
|
inline |
Definition at line 15 of file Functions.cc.
References utl::Sqr(), and sqrt().
Referenced by StandardDeviation().
double un2::TwoFormAzimuthCorrectionFactor | ( | const double | theta, |
const double | psi, | ||
const double | M1, | ||
const double | M3 | ||
) |
Definition at line 107 of file Functions.cc.
double un2::VEMtoVEMpersqm | ( | const double | VEMval, |
const double | theta | ||
) |
Definition at line 80 of file UnivTools.cc.
Referenced by VEMtoVEMpersqm().
std::vector< double > un2::VEMtoVEMpersqm | ( | const std::vector< double > & | mIPvals, |
const double | theta | ||
) |
Definition at line 87 of file UnivTools.cc.
References utl::m, and VEMtoVEMpersqm().
double un2::XmaxDistribution | ( | const double | Rmu, |
const double | Xmax, | ||
const double | lgE, | ||
const bool | realEvent | ||
) |
Definition at line 483 of file Functions.cc.
References std::pow(), SigmaXmaxFromRmu(), and XmaxFromRmu().
double un2::XmaxFromRmu | ( | const double | Rmu, |
const double | lgE, | ||
const bool | realEvent | ||
) |
Definition at line 455 of file Functions.cc.
References avglnRmu0(), and avgXmax0().
Referenced by XmaxDistribution().
const std::string un2::PREFIX = "./" |
Definition at line 12 of file UniversalityConfig.h.
Referenced by un2::UniversalityConfig::GetPrefix().