10 theR(RC),theNumberOfSpots(nSpots),theSpotEnergy(energy),
random(engine)
21 double radiussq=radius*
radius;
23 if(radius>10) enFrac=1.;
25 currentEnergyFraction=enFrac;
32 unsigned nspot=(unsigned)(dspot*spotf+0.5);
47 spotE.push_back(spotEnergy);
49 double umax = radiussq/(radiussq+
theR*
theR);
77 for(
unsigned irad=0;irad<
nInter-1;++irad)
std::vector< double > spotE
const RandomEngineAndDistribution * random
RadialInterval(double RC, unsigned nSpots, double energy, const RandomEngineAndDistribution *engine)
Standard constructor Rc: mean Radius.
double currentEnergyFraction
std::vector< double > uMin
std::vector< double > spotfraction
std::vector< double > uMax
std::vector< unsigned > nspots
unsigned theNumberOfSpots
double energyFractionInRadius(double rm)
std::vector< double > dspotsunscaled
double gaussShoot(double mean=0.0, double sigma=1.0) const
void addInterval(double, double)