MuonProfile.h
Go to the documentation of this file.
1 
9 #ifndef _MuonProfile_MuonProfile_h_
10 #define _MuonProfile_MuonProfile_h_
11 
12 
13 #include <tls/VMuonProfile.h>
14 
15 namespace utl { class Branch; }
16 
17 namespace tls {
18 
38  class MuonProfile {
39  public:
40  enum Model {
43  };
44 
45  MuonProfile(utl::Branch branch);
47 
52  inline
53  double NMuon(double xpos, double ypos, double theta, double phi, double energy)
54  {
55  return fMuonProfile->NMuon(xpos,ypos,theta,phi,energy);
56  }
57 
62  inline
63  double ThetaMuon(double xpos, double ypos, double theta, double phi, double energy)
64  {
65  return fMuonProfile->ThetaMuon(xpos,ypos,theta,phi,energy);
66  }
67 
72  inline
73  double EnergyMuon(double xpos, double ypos, double theta, double phi, double energy)
74  {
75  return fMuonProfile->EnergyMuon(xpos,ypos,theta,phi,energy);
76  }
77 
79  inline
80  Model GetModel() { return fModel; }
81 
83  inline
84  double GetThetaMin() { return fMuonProfile->GetThetaMin(); }
85 
87  inline
88  double GetThetaMax() { return fMuonProfile->GetThetaMax(); }
89 
90  private:
93  }; // MuonProfile
94 
95 } // tls
96 
97 #endif // _MuonProfile_MuonProfile_h_
98 
99 // Configure (x)emacs for this file ...
100 // Local Variables:
101 // mode:c++
102 // compile-command: "make -C .. -k"
103 // End:
Class to handle average muon profiles.
Definition: MuonProfile.h:38
virtual double EnergyMuon(double xpos, double ypos, double theta, double phi, double energy)=0
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.
double GetThetaMax()
Largest zenith angle, at which the muon profile is defined.
Definition: MuonProfile.h:88
virtual double GetThetaMin()=0
Minimum zenith angle, at which the tank response function is defined.
double ThetaMuon(double xpos, double ypos, double theta, double phi, double energy)
Definition: MuonProfile.h:63
tls::VMuonProfile * fMuonProfile
Definition: MuonProfile.h:91
Class representing a document branch.
Definition: Branch.h:107
double EnergyMuon(double xpos, double ypos, double theta, double phi, double energy)
Definition: MuonProfile.h:73
double GetThetaMin()
Smallest zenith angle, at which the muon profile is defined.
Definition: MuonProfile.h:84
double NMuon(double xpos, double ypos, double theta, double phi, double energy)
Definition: MuonProfile.h:53
virtual double GetThetaMax()=0
Maximum zenith angle, at which the tank response function is defined.
Model GetModel()
Returns the muon profile model, which the object represents.
Definition: MuonProfile.h:80
virtual double NMuon(double xpos, double ypos, double theta, double phi, double energy)=0
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.
This is the virtual base class for muon numbers. The implementation has to provide these virtual meth...
Definition: VMuonProfile.h:11
virtual double ThetaMuon(double xpos, double ypos, double theta, double phi, double energy)=0
Expected average muon inclination angle on the ground, at the given coordinates on the ground...

, generated on Tue Sep 26 2023.