Class ObserverTimeEvolution

Inheritance Relationships

Base Type

Class Documentation

class ObserverTimeEvolution : public ObserverFeature

Observes the time evolution of the candidates (phase-space elements) This observer is very useful if the time evolution of the particle density is needed. It detects all candidates in regular timeintervals and limits the nextStep of candidates to prevent overshooting of detection intervals.

Public Functions

ObserverTimeEvolution(double min, double dist, double numb)
void addTime(const double &position)
const std::vector<double> &getTimes() const
DetectionState checkDetection(Candidate *candidate) const
std::string getDescription() const
void onDetection(Candidate *candidate) const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

std::string description
size_t _referenceCount