1 #ifndef RadialInterval_H
2 #define RadialInterval_H
std::vector< double > spotE
unsigned getNumberOfSpots(unsigned i) const
Number of spots in a given interval.
const RandomEngineAndDistribution * random
RadialInterval(double RC, unsigned nSpots, double energy, const RandomEngineAndDistribution *engine)
Standard constructor Rc: mean Radius.
double currentEnergyFraction
double getUmin(unsigned i) const
Lower limit of the argument in the radius generator.
std::vector< double > uMin
std::vector< double > spotfraction
std::vector< double > uMax
std::vector< unsigned > nspots
unsigned nIntervals() const
Number of intervals.
unsigned theNumberOfSpots
double energyFractionInRadius(double rm)
std::vector< double > dspotsunscaled
double getSpotEnergy(unsigned i) const
Spot energy in a given interval.
double getUmax(unsigned i) const
Upper limit of the argument in the radius generator.
void addInterval(double, double)