Class SourceSNRDistribution

Inheritance Relationships

Base Type

Class Documentation

class SourceSNRDistribution : public SourceFeature

Source distribution that follows the Galactic SNR distribution.

The origin of the distribution is the Galactic center. The default maximum radius is set to R_max=20 kpc and the default maximum height is Z_max = 5 kpc. See G. Case and D. Bhattacharya (1996) for the details of the distribution.

Public Functions

SourceSNRDistribution()
SourceSNRDistribution(double R_earth, double beta, double Zg)
void prepareParticle(ParticleState &particle) const
double f_r(double r) const
double f_z(double z) const
void set_frMax(double R, double b)
void set_fzMax(double Zg)
void set_RMax(double R_max)
void set_ZMax(double Z_max)
double get_frMax()
double get_fzMax()
double get_RMax()
double get_ZMax()
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