Class SourcePowerLawSpectrum¶
- Defined in File Source.h
Inheritance Relationships¶
Base Type¶
public SourceFeature
(Class SourceFeature)
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
-