1 #ifndef RadialInterval_H 2 #define RadialInterval_H
double getUmin(unsigned i) const
Lower limit of the argument in the radius generator.
std::vector< double > spotE
const RandomEngineAndDistribution * random
unsigned nIntervals() const
Number of intervals.
RadialInterval(double RC, unsigned nSpots, double energy, const RandomEngineAndDistribution *engine)
Standard constructor Rc: mean Radius.
double getSpotEnergy(unsigned i) const
Spot energy in a given interval.
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
unsigned getNumberOfSpots(unsigned i) const
Number of spots in a given interval.
double getUmax(unsigned i) const
Upper limit of the argument in the radius generator.
void addInterval(double, double)