Class ObserverSurface

Inheritance Relationships

Base Type

Class Documentation

class ObserverSurface : public ObserverFeature

Detects particles crossing the boundaries of a defined surface (see, e.g., Geometry module)

Public Functions

ObserverSurface(Surface *surface)



surface – object with some specific geometric (see Geometry.h)

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