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

Protected Attributes

std::string description