Class SourceComposition

Inheritance Relationships

Base Type

Class Documentation

class SourceComposition : public SourceFeature

Multiple nuclei with power law spectrum between Emin and Z * Rmax.

See Allard et al. 2006, DOI 10.1088/1475-7516/2006/09/005

Public Functions

SourceComposition(double Emin, double Rmax, double index)
void add(int id, double abundance)
void add(int A, int Z, double abundance)
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