Class ObserverParticleIdVeto

Inheritance Relationships

Base Type

Class Documentation

class ObserverParticleIdVeto : public ObserverFeature

Custom veto for user-defined particle types Vetoes for more than one type of particle can be added by calling this feature multiple times.

Public Functions

ObserverParticleIdVeto(int id)

Constructor

Parameters:

id – id of the particle following the PDG numbering scheme

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