Go to the documentation of this file.
8 : theR(RC), theNumberOfSpots(nSpots), theSpotEnergy(
energy), random(engine) {
28 unsigned nspot = (unsigned)(dspot * spotf + 0.5);
43 spotE.push_back(spotEnergy);
45 double umax = radiussq / (radiussq +
theR *
theR);
69 double ntotspots = 0.;
70 for (
unsigned irad = 0; irad <
nInter - 1; ++irad) {
void addInterval(double, double)
double currentEnergyFraction
std::vector< double > uMin
std::vector< unsigned > nspots
double energyFractionInRadius(double rm)
std::vector< double > uMax
RadialInterval(double RC, unsigned nSpots, double energy, const RandomEngineAndDistribution *engine)
Standard constructor Rc: mean Radius.
const RandomEngineAndDistribution * random
unsigned theNumberOfSpots
std::vector< double > spotE
std::vector< double > spotfraction
std::vector< double > dspotsunscaled
double gaussShoot(double mean=0.0, double sigma=1.0) const