#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::RandomEngine * | fRandomEngine |
double | fReferenceAngle |
double | fTheta0 |
Definition at line 17 of file RPCChargeGenerator.h.
RPCChargeGenerator::RPCChargeGenerator | ( | double | k0, |
double | theta0, | ||
double | referenceAngle | ||
) |
Definition at line 17 of file RPCChargeGenerator.cc.
References Initialize().
|
virtual |
Definition at line 35 of file RPCChargeGenerator.cc.
|
inlineprivate |
Definition at line 52 of file RPCChargeGenerator.h.
|
inlineprivate |
Definition at line 48 of file RPCChargeGenerator.h.
References utl::LogGamma(), and std::pow().
Referenced by Initialize().
double RPCChargeGenerator::GetCharge | ( | double | angle | ) |
Definition at line 40 of file RPCChargeGenerator.cc.
References utl::abs(), utl::coulomb, ERROR, fIsInitialized, fListChargePDF, fListMaxCharge, fListMinCharge, fMaxSecTheta, fMinSecTheta, fNumberOfChargePDF, and utl::pico.
|
private |
Definition at line 72 of file RPCChargeGenerator.cc.
References utl::abs(), ERROR, fIsInitialized, fK0, fListChargePDF, fListMaxCharge, fListMinCharge, fMaxSecTheta, fMinSecTheta, fNumberOfChargeBins, fNumberOfChargePDF, fRandomEngine, fReferenceAngle, fTheta0, GammaDistribution(), utl::RandomEngine::GetEngine(), and InverseCumulativeGammaDistribution().
Referenced by RPCChargeGenerator().
|
inlineprivate |
Definition at line 57 of file RPCChargeGenerator.h.
Referenced by Initialize().
|
private |
Definition at line 41 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 28 of file RPCChargeGenerator.h.
Referenced by Initialize().
|
private |
Definition at line 37 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 39 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 38 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 32 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 31 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 34 of file RPCChargeGenerator.h.
Referenced by Initialize().
|
private |
Definition at line 35 of file RPCChargeGenerator.h.
Referenced by GetCharge(), and Initialize().
|
private |
Definition at line 42 of file RPCChargeGenerator.h.
Referenced by Initialize().
|
private |
Definition at line 30 of file RPCChargeGenerator.h.
Referenced by Initialize().
|
private |
Definition at line 29 of file RPCChargeGenerator.h.
Referenced by Initialize().