Class SourcePulsarDistribution¶
- Defined in File Source.h
Inheritance Relationships¶
Base Type¶
public SourceFeature
(Class SourceFeature)
Class Documentation¶
-
class
SourcePulsarDistribution
: public SourceFeature¶ Source distribution following the Galactic pulsar distribution.
A logarithmic spiral with four arms is used for the radial distribution. The z-distribution is a simple exponentially decaying distribution. The pulsar distribution is explained in detail in C.-A. Faucher-Giguere and V. M. Kaspi, ApJ 643 (May, 2006) 332. The radial distribution is parametrized as in Blasi and Amato, JCAP 1 (Jan., 2012) 10.
Public Functions
-
SourcePulsarDistribution
()¶
-
SourcePulsarDistribution
(double R_earth, double beta, double Zg, double r_blur, double theta_blur)¶
-
void
prepareParticle
(ParticleState &particle) const
-
double
f_r
(double r) const¶
-
double
f_z
(double z) const¶
-
double
f_theta
(int i, double r) const¶
-
double
blur_r
(double r_tilde) const¶
-
double
blur_theta
(double theta_tilde, double r_tilde) 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)¶
-
void
set_rBlur
(double r_blur)¶
-
void
set_thetaBlur
(double theta_blur)¶
-
double
get_frMax
()¶
-
double
get_fzMax
()¶
-
double
get_RMax
()¶
-
double
get_ZMax
()¶
-
double
get_rBlur
()¶
-
double
get_thetaBlur
()¶
-
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
-