Class ObserverFeature

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class ObserverFeature : public Referenced

Abstract base class for features of observers.

Subclassed by Observer1D, ObserverDetectAll, ObserverElectronVeto, ObserverInactiveVeto, ObserverNeutrinoVeto, ObserverNucleusVeto, ObserverParticleIdVeto, ObserverPhotonVeto, ObserverRedshiftWindow, ObserverSurface, ObserverTimeEvolution, ObserverTracking

Public Functions

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