1 #ifndef h_USCMuonProfile
2 #define h_USCMuonProfile
4 #include <utl/AugerUnits.h>
5 #include <tls/VMuonProfile.h>
6 #include <tls/MuonProfileUtilities.h>
15 namespace utl {
class Branch; }
17 namespace USCMuonProfileNS {
49 double NMuon(
double xpos,
double ypos,
double theta,
double phi,
double energy);
50 double ThetaMuon(
double xpos,
double ypos,
double theta,
double phi,
double energy);
51 double EnergyMuon(
double xpos,
double ypos,
double theta,
double phi,
double energy);
91 double approx(
double num,
double prec = 1e-3)
93 return floor(num/prec+0.5)*prec;
unsigned int fIndexThetaLow
double GetBpsi(const double theta, const double phi)
void SetProfile(double theta, double phi, double energy)
double pow(const double x, const unsigned int i)
unsigned int Theta2IndexLower(double theta)
void LoadHistograms(double theta, double phi)
Class representing a document branch.
double NMuon(double xpos, double ypos, double theta, double phi, double energy)
Expected average number of muons per tank, at the given coordinates on the ground, for a certain combination of theta, phi, and energy of the primary particle.
double Index2Theta(unsigned int itheta)
double approx(double num, double prec=1e-3)
Muon profile interpolated from maps derived from Monte Carlo simulations. Tables from the Santiago de...
unsigned int Phi2IndexUpper(double theta)
double GetThetaMax()
Maximum zenith angle, at which the tank response function is defined.
unsigned int Theta2IndexUpper(double theta)
double EnergyMuon(double xpos, double ypos, double theta, double phi, double energy)
Expected average muon energy on the ground, at the given coordinates on the ground, for a certain combination of theta, phi, and energy of the primary particle.
USCMuonProfile(utl::Branch branch)
double GetThetaMin()
Minimum zenith angle, at which the tank response function is defined.
unsigned int fIndexThetaUp
unsigned int Phi2IndexLower(double theta)
double PhiMap(double phi)
double ThetaMuon(double xpos, double ypos, double theta, double phi, double energy)
Expected average muon inclination angle on the ground, at the given coordinates on the ground...
unsigned int fIndexPhiLow
double Index2Phi(unsigned int iphi)
std::vector< double > fThetaRange
This is the virtual base class for muon numbers. The implementation has to provide these virtual meth...