Interface class for coupling different tank response calculations into the reconstruction code. Common arguments are "theta" for the zenith angle of incoming muons and "r" the radial distance of the station to the shower axis. More...
#include <VTankResponse.h>
Public Types | |
typedef unsigned long | ulong |
Public Member Functions | |
virtual double | CDF (const double smax, const double theta, const double r, const ulong muons) const =0 |
Probability of signal begin smaller than smax, given a fixed number of muons. More... | |
virtual double | GetRadiusMax () const =0 |
Largest radial distance at which the tank response is defined. More... | |
virtual double | GetRadiusMin () const =0 |
Smallest radial distance at which the tank response is defined. More... | |
virtual double | GetThetaMax () const =0 |
Largest zenith angle at which the tank response is defined. More... | |
virtual double | GetThetaMin () const =0 |
Smallest zenith angle at which the tank response is defined. More... | |
virtual double | Mean (const double theta, const double r, const ulong muons) const =0 |
Average signal, given fixed number of muons. More... | |
virtual double | PDF (const double signal, const double theta, const double r, const ulong muons) const =0 |
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 =0 |
Standard deviation of signal, given fixed number of muons. More... | |
VTankResponse () | |
virtual | ~VTankResponse () |
Interface class for coupling different tank response calculations into the reconstruction code. Common arguments are "theta" for the zenith angle of incoming muons and "r" the radial distance of the station to the shower axis.
Definition at line 26 of file VTankResponse.h.
typedef unsigned long tls::VTankResponse::ulong |
Definition at line 28 of file VTankResponse.h.
|
inline |
Definition at line 30 of file VTankResponse.h.
|
inlinevirtual |
Definition at line 31 of file VTankResponse.h.
|
pure virtual |
Probability of signal begin smaller than smax, given a fixed number of muons.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.
Referenced by main().
|
pure virtual |
Largest radial distance at which the tank response is defined.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.
|
pure virtual |
Smallest radial distance at which the tank response is defined.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.
|
pure virtual |
Largest zenith angle at which the tank response is defined.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.
|
pure virtual |
Smallest zenith angle at which the tank response is defined.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.
|
pure virtual |
Average signal, given fixed number of muons.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.
Referenced by main().
|
pure virtual |
PDF of signal, given a fixed number of muons.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, USCInterTankResponseNS::TankResponse, and AachenTankResponseNS::TankResponse.
Referenced by main().
double VTankResponse::PoissonConvolvedCDF | ( | const double | sThreshold, |
const double | theta, | ||
const double | r, | ||
const double | muons, | ||
const bool | complement | ||
) | const |
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()().
void VTankResponse::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).
Definition at line 106 of file VTankResponse.cc.
References un2::Mean(), G4StationSimulatorOG::p, utl::PoissonPDF(), precision, and sqrt().
Referenced by SdHorizontalReconstructionNS::ShowerSizeFunction::Predict().
double VTankResponse::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).
Definition at line 16 of file VTankResponse.cc.
References G4StationSimulatorOG::p, utl::PoissonPDF(), and precision.
Referenced by SdHorizontalReconstructionNS::ShowerSizeFunction::operator()().
|
pure virtual |
Standard deviation of signal, given fixed number of muons.
Implemented in TabularTankResponseNS::TankResponse, SimpleTankResponseNS::TankResponse, AachenTankResponseNS::TankResponse, and USCInterTankResponseNS::TankResponse.