Class Observer1D

Inheritance Relationships

Base Type

Class Documentation

class Observer1D : public ObserverFeature

Detects particles when reaching x = 0.

This module detects particles when reaching x = 0 and also limits the next step size to prevent candidates from overshooting.

Public Functions

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