List of all members | Public Types | Public Member Functions
tls::VTankResponse Class Referenceabstract

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>

Inheritance diagram for tls::VTankResponse:
Inheritance graph
[legend]

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 ()
 

Detailed Description

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.

Author
Javier Gonzalez
Hans Dembinski
Date
17 Nov 2011

Definition at line 26 of file VTankResponse.h.

Member Typedef Documentation

typedef unsigned long tls::VTankResponse::ulong

Definition at line 28 of file VTankResponse.h.

Constructor & Destructor Documentation

tls::VTankResponse::VTankResponse ( )
inline

Definition at line 30 of file VTankResponse.h.

virtual tls::VTankResponse::~VTankResponse ( )
inlinevirtual

Definition at line 31 of file VTankResponse.h.

Member Function Documentation

virtual double tls::VTankResponse::CDF ( const double  smax,
const double  theta,
const double  r,
const ulong  muons 
) const
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().

virtual double tls::VTankResponse::GetRadiusMax ( ) const
pure virtual
virtual double tls::VTankResponse::GetRadiusMin ( ) const
pure virtual
virtual double tls::VTankResponse::GetThetaMax ( ) const
pure virtual
virtual double tls::VTankResponse::GetThetaMin ( ) const
pure virtual
virtual double tls::VTankResponse::Mean ( const double  theta,
const double  r,
const ulong  muons 
) const
pure virtual
virtual double tls::VTankResponse::PDF ( const double  signal,
const double  theta,
const double  r,
const ulong  muons 
) const
pure virtual
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()().

virtual double tls::VTankResponse::StDev ( const double  theta,
const double  r,
const ulong  muons 
) const
pure virtual

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

, generated on Tue Sep 26 2023.