List of all members | Public Types | Public Member Functions | Private Attributes
tls::MuonProfile Class Reference

Class to handle average muon profiles. More...

#include <MuonProfile.h>

Public Types

enum  Model { eUSC, eParametric }
 

Public Member Functions

double EnergyMuon (double xpos, double ypos, double theta, double phi, double energy)
 
Model GetModel ()
 Returns the muon profile model, which the object represents. More...
 
double GetThetaMax ()
 Largest zenith angle, at which the muon profile is defined. More...
 
double GetThetaMin ()
 Smallest zenith angle, at which the muon profile is defined. More...
 
 MuonProfile (utl::Branch branch)
 
double NMuon (double xpos, double ypos, double theta, double phi, double energy)
 
double ThetaMuon (double xpos, double ypos, double theta, double phi, double energy)
 
 ~MuonProfile ()
 

Private Attributes

Model fModel
 
tls::VMuonProfilefMuonProfile
 

Detailed Description

Class to handle average muon profiles.

This class provides an interface to access average muon profiles. It does not implement any particular algorithm. It delegates that to the right implementation class. The implementation to use is specified by the name of the utl::Branch passed in the constructor. The currently available models are:

Author
Javier Gonzalez
Date
20 Nov 2005

Definition at line 38 of file MuonProfile.h.

Member Enumeration Documentation

Enumerator
eUSC 
eParametric 

Definition at line 40 of file MuonProfile.h.

Constructor & Destructor Documentation

MuonProfile::MuonProfile ( utl::Branch  branch)
tls::MuonProfile::~MuonProfile ( )
inline

Definition at line 46 of file MuonProfile.h.

Member Function Documentation

double tls::MuonProfile::EnergyMuon ( double  xpos,
double  ypos,
double  theta,
double  phi,
double  energy 
)
inline

This returns the local muon energy at point (xpos,ypos) in the ground plane, for the given profile parameters of theta (zenith), phi (azimuth) and energy.

Definition at line 73 of file MuonProfile.h.

References tls::VMuonProfile::EnergyMuon(), and fMuonProfile.

Referenced by main().

Model tls::MuonProfile::GetModel ( )
inline

Returns the muon profile model, which the object represents.

Definition at line 80 of file MuonProfile.h.

References fModel.

double tls::MuonProfile::GetThetaMax ( )
inline

Largest zenith angle, at which the muon profile is defined.

Definition at line 88 of file MuonProfile.h.

References fMuonProfile, and tls::VMuonProfile::GetThetaMax().

double tls::MuonProfile::GetThetaMin ( )
inline

Smallest zenith angle, at which the muon profile is defined.

Definition at line 84 of file MuonProfile.h.

References fMuonProfile, and tls::VMuonProfile::GetThetaMin().

double tls::MuonProfile::NMuon ( double  xpos,
double  ypos,
double  theta,
double  phi,
double  energy 
)
inline

This returns the muon number per tank at point (xpos,ypos) in the ground plane, for the given profile parameters of theta (zenith), phi (azimuth) and energy.

Definition at line 53 of file MuonProfile.h.

References fMuonProfile, and tls::VMuonProfile::NMuon().

Referenced by main().

double tls::MuonProfile::ThetaMuon ( double  xpos,
double  ypos,
double  theta,
double  phi,
double  energy 
)
inline

This returns the local muon inclination angle at point (xpos,ypos) in the ground plane, for the given profile parameters of theta (zenith), phi (azimuth) and energy.

Definition at line 63 of file MuonProfile.h.

References fMuonProfile, and tls::VMuonProfile::ThetaMuon().

Referenced by main().

Member Data Documentation

Model tls::MuonProfile::fModel
private

Definition at line 92 of file MuonProfile.h.

Referenced by GetModel().

tls::VMuonProfile* tls::MuonProfile::fMuonProfile
private

Definition at line 91 of file MuonProfile.h.

Referenced by EnergyMuon(), GetThetaMax(), GetThetaMin(), NMuon(), and ThetaMuon().


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.