Class ObserverRedshiftWindow

Inheritance Relationships

Base Type

Class Documentation

class ObserverRedshiftWindow : public ObserverFeature

Detects particles in a given redshift window.

When added to an observer, this feature generalizes it to four dimensions. The fourth dimension is the redshift, a proxy for time. This is particularly useful in “4D” studies, including either time-dependence (e.g. flaring objects), or in 3D studies including cosmological evolution. Note that redshifts should be assigned to sources when using this feature. This can be done with: SourceRedshift, SourceRedshift1D, SourceUniformRedshift, and SourceRedshiftEvolution.

Public Functions

ObserverRedshiftWindow(double zmin = 0, double zmax = 0.1)


  • zmin – lower bound of redshift interval

  • zmax – upper bound of redshift interval

virtual DetectionState checkDetection(Candidate *candidate) const
virtual std::string getDescription() const
virtual void onDetection(Candidate *candidate) 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