#include <TankResponse.h>
Public Types | |
typedef unsigned long | ulong |
Public Member Functions | |
virtual double | CDF (const double threshold, const double theta, const double r, const ulong muons) const |
Probability of signal begin smaller than smax, given a fixed number of muons. More... | |
virtual double | GetRadiusMax () const |
Largest radial distance at which the tank response is defined. More... | |
virtual double | GetRadiusMin () const |
Smallest radial distance at which the tank response is defined. More... | |
virtual double | GetThetaMax () const |
Largest zenith angle at which the tank response is defined. More... | |
virtual double | GetThetaMin () const |
Smallest zenith angle at which the tank response is defined. More... | |
virtual double | Mean (const double theta, const double r, const ulong muons) const |
Average signal, given fixed number of muons. More... | |
virtual double | PDF (const double signal, const double theta, const double r, const ulong muons) const |
PDF of signal, given a fixed number of muons. More... | |
double | PoissonConvolvedCDF (const double sThreshold, const double theta, const double r, const double muons, const bool complement) const |
void | PoissonConvolvedMeanAndStDev (double &mean, double &stDev, const double theta, const double r, const double muons) const |
Mean and standard deviation of signal, given an average number of muons (Poisson convolved). More... | |
double | PoissonConvolvedPDF (const double signal, const double theta, const double r, const double muons) const |
PDF of signal, given an average number of muons (Poisson convolved). More... | |
virtual double | StDev (const double theta, const double r, const ulong muons) const |
Standard deviation of signal, given fixed number of muons. More... | |
Static Public Member Functions | |
static TankResponse & | GetInstance (const utl::Branch branch) |
Private Member Functions | |
void | CalculateAverageAndSigma (double &mean, double &sigma, const double theta, const ulong muons) const |
TankResponse (const utl::Branch branch) | |
virtual | ~TankResponse () |
Private Attributes | |
std::vector< double > | fParMean |
std::vector< double > | fParSigma |
const double | fVerticalTankTrackLength |
Definition at line 22 of file Simple/TankResponse.h.
|
inherited |
Definition at line 28 of file VTankResponse.h.
|
private |
Definition at line 15 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
References fParMean, fParSigma, utl::Branch::GetChild(), and utl::Branch::GetData().
|
inlineprivatevirtual |
Definition at line 61 of file Simple/TankResponse.h.
|
private |
Definition at line 82 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
References RdGeoCeLDFFitter::b, degree, fParMean, fParSigma, fVerticalTankTrackLength, std::pow(), sqrt(), and tls::TankMeanTrackLength().
|
virtual |
Probability of signal begin smaller than smax, given a fixed number of muons.
Implements tls::VTankResponse.
Definition at line 32 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
References CalculateAverageAndSigma(), utl::m, utl::NormalCDF(), and utl::s.
|
static |
Definition at line 24 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
Referenced by tls::TankResponseFactory::GetTankResponse().
|
inlinevirtual |
Largest radial distance at which the tank response is defined.
Implements tls::VTankResponse.
Definition at line 56 of file Simple/TankResponse.h.
References max.
|
inlinevirtual |
Smallest radial distance at which the tank response is defined.
Implements tls::VTankResponse.
Definition at line 55 of file Simple/TankResponse.h.
|
inlinevirtual |
Largest zenith angle at which the tank response is defined.
Implements tls::VTankResponse.
Definition at line 53 of file Simple/TankResponse.h.
References utl::degree.
|
inlinevirtual |
Smallest zenith angle at which the tank response is defined.
Implements tls::VTankResponse.
Definition at line 52 of file Simple/TankResponse.h.
References utl::degree.
|
virtual |
Average signal, given fixed number of muons.
Implements tls::VTankResponse.
Definition at line 58 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
References CalculateAverageAndSigma(), utl::m, and utl::s.
|
virtual |
PDF of signal, given a fixed number of muons.
Implements tls::VTankResponse.
Definition at line 45 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
References CalculateAverageAndSigma(), utl::m, utl::NormalPDF(), and utl::s.
|
inherited |
Probability of signal begin smaller [complement = false] or greater than [complement = true] than sThreshold, given an average number of muons (Poisson convolved).
Definition at line 52 of file VTankResponse.cc.
References G4StationSimulatorOG::p, utl::PoissonPDF(), and precision.
Referenced by SdHorizontalReconstructionNS::ShowerSizeFunction::operator()().
|
inherited |
Mean and standard deviation of signal, given an average number of muons (Poisson convolved).
Definition at line 106 of file VTankResponse.cc.
References un2::Mean(), G4StationSimulatorOG::p, utl::PoissonPDF(), precision, and sqrt().
Referenced by SdHorizontalReconstructionNS::ShowerSizeFunction::Predict().
|
inherited |
PDF of signal, given an average number of muons (Poisson convolved).
Definition at line 16 of file VTankResponse.cc.
References G4StationSimulatorOG::p, utl::PoissonPDF(), and precision.
Referenced by SdHorizontalReconstructionNS::ShowerSizeFunction::operator()().
|
virtual |
Standard deviation of signal, given fixed number of muons.
Implements tls::VTankResponse.
Definition at line 70 of file Tools/InclinedShowers/TankResponse/Simple/TankResponse.cc.
References CalculateAverageAndSigma(), utl::m, and utl::s.
|
private |
Definition at line 65 of file Simple/TankResponse.h.
Referenced by CalculateAverageAndSigma(), and TankResponse().
|
private |
Definition at line 66 of file Simple/TankResponse.h.
Referenced by CalculateAverageAndSigma(), and TankResponse().
|
private |
Definition at line 63 of file Simple/TankResponse.h.
Referenced by CalculateAverageAndSigma().