Class SourceRedshift

Inheritance Relationships

Base Type

Class Documentation

class SourceRedshift : public SourceFeature

Emission of particles at a specific redshift (or time)

The redshift coordinate is used to treat cosmological effects and as a time coordinate. Consider, for instance, a source located at a distance corresponding to a redshift z. In the absence of processes that cause time delays (e.g., magnetic deflections), particles from this source could arrive after a time corresponding to the source redshift. Charged particles, on the other hand, can arrive at a time later than the corresponding straight- line travel duration. This treatment is also useful for time-dependent studies (e.g. transient sources).

Public Functions

SourceRedshift(double z)

Constructor

Parameters

z – redshift of emission

virtual void prepareCandidate(Candidate &candidate) const
void setDescription()
inline virtual void prepareParticle(ParticleState &particle) const
std::string getDescription() const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

std::string description
mutable size_t _referenceCount