Class SourcePowerLawSpectrum

Inheritance Relationships

Base Type

Class Documentation

class SourcePowerLawSpectrum : public SourceFeature

Particle energy following a power law spectrum.

Public Functions

SourcePowerLawSpectrum(double Emin, double Emax, double index)
void prepareParticle(ParticleState &particle) const
void setDescription()
void prepareCandidate(Candidate &candidate) const
std::string getDescription() const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

std::string description
size_t _referenceCount