List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
USCInterTankResponseNS::TankResponse Class Reference

#include <TankResponse.h>

Inheritance diagram for USCInterTankResponseNS::TankResponse:
Inheritance graph
[legend]

Public Types

typedef unsigned long ulong
 

Public Member Functions

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. More...
 
virtual double GetRadiusMax () const
 Largest radial distance at which the tank response is defined. More...
 
virtual double GetRadiusMin () const
 Smallest radial distance at which the tank response is defined. More...
 
virtual double GetThetaMax () const
 Largest zenith angle at which the tank response is defined. More...
 
virtual double GetThetaMin () const
 Smallest zenith angle at which the tank response is defined. More...
 
virtual double Mean (const double theta, const double r, const ulong muons) const
 Average signal, given fixed number of muons. More...
 
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. 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
 Standard deviation of signal, given fixed number of muons. More...
 

Static Public Member Functions

static TankResponseGetInstance (const utl::Branch branch)
 

Private Member Functions

double GetLogrMax () const
 
double GetLogrMin () const
 
unsigned long GetMaxMuonNumber () const
 
double GetThetaMaxDeg () const
 
double GetThetaMinDeg () const
 
TankResponseoperator= (const TankResponse &)
 
 TankResponse ()=default
 
 TankResponse (const utl::Branch branch)
 
virtual ~TankResponse ()=default
 

Private Attributes

double fDS = 0
 
double fProbNoTriggerSilent [2][16][30] = { { { 0 } } }
 
bool fSimulationMode = true
 
double fTriggerParameters [2][2] = { { 0 } }
 
USCAvgTankModel fUSCAvgTankModel
 
USCSigmaTankModel fUSCSigmaTankModel
 
USCTankModel fUSCTankModel [8]
 

Static Private Attributes

static const int NBIN = 2860
 

Detailed Description

Definition at line 21 of file USCInter/TankResponse.h.

Member Typedef Documentation

typedef unsigned long tls::VTankResponse::ulong
inherited

Definition at line 28 of file VTankResponse.h.

Constructor & Destructor Documentation

USCInterTankResponseNS::TankResponse::TankResponse ( )
privatedefault
TankResponse::TankResponse ( const utl::Branch  branch)
private
virtual USCInterTankResponseNS::TankResponse::~TankResponse ( )
privatevirtualdefault

Member Function Documentation

double TankResponse::CDF ( const double  smax,
const double  theta,
const double  r,
const ulong  muons 
) const
virtual

Probability of signal begin smaller than smax, given a fixed number of muons.

Implements tls::VTankResponse.

Definition at line 232 of file Tools/InclinedShowers/TankResponse/USCInter/TankResponse.cc.

References RdGeoCeLDFFitter::a, RdGeoCeLDFFitter::b, degree, galactic::meter, utl::NormalCDF(), and sqrt().

TankResponse & TankResponse::GetInstance ( const utl::Branch  branch)
static
double USCInterTankResponseNS::TankResponse::GetLogrMax ( ) const
inlineprivate

Definition at line 56 of file USCInter/TankResponse.h.

Referenced by GetRadiusMax().

double USCInterTankResponseNS::TankResponse::GetLogrMin ( ) const
inlineprivate

Definition at line 54 of file USCInter/TankResponse.h.

Referenced by GetRadiusMin().

unsigned long USCInterTankResponseNS::TankResponse::GetMaxMuonNumber ( ) const
inlineprivate

Definition at line 48 of file USCInter/TankResponse.h.

virtual double USCInterTankResponseNS::TankResponse::GetRadiusMax ( ) const
inlinevirtual

Largest radial distance at which the tank response is defined.

Implements tls::VTankResponse.

Definition at line 38 of file USCInter/TankResponse.h.

References GetLogrMax(), utl::meter, and std::pow().

virtual double USCInterTankResponseNS::TankResponse::GetRadiusMin ( ) const
inlinevirtual

Smallest radial distance at which the tank response is defined.

Implements tls::VTankResponse.

Definition at line 37 of file USCInter/TankResponse.h.

References GetLogrMin(), utl::meter, and std::pow().

virtual double USCInterTankResponseNS::TankResponse::GetThetaMax ( ) const
inlinevirtual

Largest zenith angle at which the tank response is defined.

Implements tls::VTankResponse.

Definition at line 35 of file USCInter/TankResponse.h.

References utl::degree, and GetThetaMaxDeg().

double USCInterTankResponseNS::TankResponse::GetThetaMaxDeg ( ) const
inlineprivate

Definition at line 52 of file USCInter/TankResponse.h.

Referenced by GetThetaMax().

virtual double USCInterTankResponseNS::TankResponse::GetThetaMin ( ) const
inlinevirtual

Smallest zenith angle at which the tank response is defined.

Implements tls::VTankResponse.

Definition at line 34 of file USCInter/TankResponse.h.

References utl::degree, and GetThetaMinDeg().

double USCInterTankResponseNS::TankResponse::GetThetaMinDeg ( ) const
inlineprivate

Definition at line 50 of file USCInter/TankResponse.h.

Referenced by GetThetaMin().

double TankResponse::Mean ( const double  theta,
const double  r,
const ulong  muons 
) const
virtual

Average signal, given fixed number of muons.

Implements tls::VTankResponse.

Definition at line 135 of file Tools/InclinedShowers/TankResponse/USCInter/TankResponse.cc.

References RdGeoCeLDFFitter::a, and galactic::meter.

TankResponse& USCInterTankResponseNS::TankResponse::operator= ( const TankResponse )
private
double TankResponse::PDF ( const double  signal,
const double  theta,
const double  r,
const ulong  muons 
) const
virtual

PDF of signal, given a fixed number of muons.

Implements tls::VTankResponse.

Definition at line 182 of file Tools/InclinedShowers/TankResponse/USCInter/TankResponse.cc.

References RdGeoCeLDFFitter::a, RdGeoCeLDFFitter::b, galactic::meter, utl::NormalPDF(), sqrt(), and TriggerPDF().

double VTankResponse::PoissonConvolvedCDF ( const double  sThreshold,
const double  theta,
const double  r,
const double  muons,
const bool  complement 
) const
inherited

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
inherited

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
inherited

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

double TankResponse::StDev ( const double  theta,
const double  r,
const ulong  muons 
) const
virtual

Standard deviation of signal, given fixed number of muons.

Implements tls::VTankResponse.

Definition at line 158 of file Tools/InclinedShowers/TankResponse/USCInter/TankResponse.cc.

References RdGeoCeLDFFitter::b, galactic::meter, and sqrt().

Member Data Documentation

double USCInterTankResponseNS::TankResponse::fDS = 0
private

Definition at line 61 of file USCInter/TankResponse.h.

double USCInterTankResponseNS::TankResponse::fProbNoTriggerSilent[2][16][30] = { { { 0 } } }
private

Definition at line 63 of file USCInter/TankResponse.h.

bool USCInterTankResponseNS::TankResponse::fSimulationMode = true
private

Definition at line 60 of file USCInter/TankResponse.h.

double USCInterTankResponseNS::TankResponse::fTriggerParameters[2][2] = { { 0 } }
private

Definition at line 62 of file USCInter/TankResponse.h.

USCAvgTankModel USCInterTankResponseNS::TankResponse::fUSCAvgTankModel
private

Definition at line 65 of file USCInter/TankResponse.h.

USCSigmaTankModel USCInterTankResponseNS::TankResponse::fUSCSigmaTankModel
private

Definition at line 66 of file USCInter/TankResponse.h.

USCTankModel USCInterTankResponseNS::TankResponse::fUSCTankModel[8]
private

Definition at line 64 of file USCInter/TankResponse.h.

const int USCInterTankResponseNS::TankResponse::NBIN = 2860
staticprivate

Definition at line 58 of file USCInter/TankResponse.h.


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

, generated on Tue Sep 26 2023.