List of all members | Public Member Functions | Private Member Functions | Private Attributes
RPCSimulatorLX::RPCChargeGenerator Class Reference

#include <RPCChargeGenerator.h>

Public Member Functions

double GetCharge (double angle)
 
 RPCChargeGenerator (double k0, double theta0, double referenceAngle)
 
virtual ~RPCChargeGenerator ()
 

Private Member Functions

double CumulativeGammaDistribution (double x, double k, double theta)
 
double GammaDistribution (double x, double k, double theta)
 
void Initialize (void)
 
double InverseCumulativeGammaDistribution (double y, double k, double theta)
 

Private Attributes

bool fIsInitialized
 
double fK0
 
std::vector< CLHEP::RandGeneral * > fListChargePDF
 
std::vector< double > fListMaxCharge
 
std::vector< double > fListMinCharge
 
double fMaxSecTheta
 
double fMinSecTheta
 
unsigned int fNumberOfChargeBins
 
unsigned int fNumberOfChargePDF
 
utl::RandomEnginefRandomEngine
 
double fReferenceAngle
 
double fTheta0
 

Detailed Description

Definition at line 17 of file RPCChargeGenerator.h.

Constructor & Destructor Documentation

RPCChargeGenerator::RPCChargeGenerator ( double  k0,
double  theta0,
double  referenceAngle 
)

Definition at line 17 of file RPCChargeGenerator.cc.

References Initialize().

RPCChargeGenerator::~RPCChargeGenerator ( )
virtual

Definition at line 35 of file RPCChargeGenerator.cc.

Member Function Documentation

double RPCSimulatorLX::RPCChargeGenerator::CumulativeGammaDistribution ( double  x,
double  k,
double  theta 
)
inlineprivate

Definition at line 52 of file RPCChargeGenerator.h.

double RPCSimulatorLX::RPCChargeGenerator::GammaDistribution ( double  x,
double  k,
double  theta 
)
inlineprivate

Definition at line 48 of file RPCChargeGenerator.h.

References utl::LogGamma(), and std::pow().

Referenced by Initialize().

double RPCChargeGenerator::GetCharge ( double  angle)
void RPCChargeGenerator::Initialize ( void  )
private
double RPCSimulatorLX::RPCChargeGenerator::InverseCumulativeGammaDistribution ( double  y,
double  k,
double  theta 
)
inlineprivate

Definition at line 57 of file RPCChargeGenerator.h.

Referenced by Initialize().

Member Data Documentation

bool RPCSimulatorLX::RPCChargeGenerator::fIsInitialized
private

Definition at line 41 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

double RPCSimulatorLX::RPCChargeGenerator::fK0
private

Definition at line 28 of file RPCChargeGenerator.h.

Referenced by Initialize().

std::vector<CLHEP::RandGeneral *> RPCSimulatorLX::RPCChargeGenerator::fListChargePDF
private

Definition at line 37 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

std::vector<double> RPCSimulatorLX::RPCChargeGenerator::fListMaxCharge
private

Definition at line 39 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

std::vector<double> RPCSimulatorLX::RPCChargeGenerator::fListMinCharge
private

Definition at line 38 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

double RPCSimulatorLX::RPCChargeGenerator::fMaxSecTheta
private

Definition at line 32 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

double RPCSimulatorLX::RPCChargeGenerator::fMinSecTheta
private

Definition at line 31 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

unsigned int RPCSimulatorLX::RPCChargeGenerator::fNumberOfChargeBins
private

Definition at line 34 of file RPCChargeGenerator.h.

Referenced by Initialize().

unsigned int RPCSimulatorLX::RPCChargeGenerator::fNumberOfChargePDF
private

Definition at line 35 of file RPCChargeGenerator.h.

Referenced by GetCharge(), and Initialize().

utl::RandomEngine* RPCSimulatorLX::RPCChargeGenerator::fRandomEngine
private

Definition at line 42 of file RPCChargeGenerator.h.

Referenced by Initialize().

double RPCSimulatorLX::RPCChargeGenerator::fReferenceAngle
private

Definition at line 30 of file RPCChargeGenerator.h.

Referenced by Initialize().

double RPCSimulatorLX::RPCChargeGenerator::fTheta0
private

Definition at line 29 of file RPCChargeGenerator.h.

Referenced by Initialize().


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

, generated on Tue Sep 26 2023.