3 #include <tls/TankResponseUtilities.h>
5 #include <utl/Reader.h>
7 #include <utl/NormalDistribution.h>
9 using namespace SimpleTankResponseNS;
83 const double theta,
const ulong muons)
89 const double nmuWithCut = muons < 10 ? muons : 10;
90 const double meanCorrection =
93 mean *= (1 + meanCorrection);
95 const double th = theta/
degree;
96 const double trackMoment2 =
100 const double energyMu = 3;
101 const double b = (2.33726e-01 + 2.26614e-02*log(energyMu))*trackSigma2;
102 sigma = b*
sqrt(muons);
std::vector< double > fParMean
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.
static TankResponse & GetInstance(const utl::Branch branch)
virtual double Mean(const double theta, const double r, const ulong muons) const
Average signal, given fixed number of muons.
Branch GetChild(const std::string &childName) const
Get child of this Branch by child name.
double pow(const double x, const unsigned int i)
double NormalPDF(const double x)
double NormalCDF(const double x)
void CalculateAverageAndSigma(double &mean, double &sigma, const double theta, const ulong muons) const
const double fVerticalTankTrackLength
Class representing a document branch.
double TankMeanTrackLength(const double theta)
Mean track length of particle piercing Auger tank with zenith angle theta.
void GetData(bool &b) const
Overloads of the GetData member template function.
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.
TankResponse(const utl::Branch branch)
virtual double StDev(const double theta, const double r, const ulong muons) const
Standard deviation of signal, given fixed number of muons.
std::vector< double > fParSigma