thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::SelectIfNot Class Reference

The SelectIfNot classes can be used to negate the meaning of another SelectorBase object. More...

#include <SelectorBase.h>

Inheritance diagram for ThePEG::SelectIfNot:

Public Member Functions

 SelectIfNot (const SelectorBase &S)
 Constructor taking the SelectorBase object to be negated.
 
virtual bool check (const Particle &p) const
 Return true if the particle should be extracted.
 
virtual bool finalState () const
 Return true if final state particles are to be considered.
 
virtual bool intermediate () const
 Return true if intermediate particles should be considered.
 
virtual bool allSteps () const
 Return true if all steps should be considered.
 
virtual bool allCollisions () const
 Return ture if all collisions should be considered.
 
- Public Member Functions inherited from ThePEG::SelectorBase
virtual ~SelectorBase ()
 Virtual destructor.
 
virtual bool check (const Particle &p) const
 Return true if the particle should be extracted.
 
virtual bool finalState () const
 Return true if final state particles are to be considered.
 
virtual bool intermediate () const
 Return true if intermediate particles should be considered.
 
virtual bool allSteps () const
 Return true if all steps should be considered.
 
virtual bool allCollisions () const
 Return ture if all collisions should be considered.
 

Private Attributes

const SelectorBases
 The selector to be negated.
 

Additional Inherited Members

- Static Public Member Functions inherited from ThePEG::SelectorBase
static bool Check (const Particle &)
 Static method corresponding to the virtual check() method.
 
static bool Intermediate ()
 Static method corresponding to the virtual intermediate() method.
 
static bool FinalState ()
 Static method corresponding to the virtual finalState() method.
 
static bool AllSteps ()
 Static method corresponding to the virtual allSteps() method.
 
static bool AllCollisions ()
 Static method corresponding to the virtual allCollisions() method.
 

Detailed Description

The SelectIfNot classes can be used to negate the meaning of another SelectorBase object.

Definition at line 178 of file SelectorBase.h.

Constructor & Destructor Documentation

◆ SelectIfNot()

ThePEG::SelectIfNot::SelectIfNot ( const SelectorBase S)
inlineexplicit

Constructor taking the SelectorBase object to be negated.

Definition at line 183 of file SelectorBase.h.

Member Function Documentation

◆ allCollisions()

virtual bool ThePEG::SelectIfNot::allCollisions ( ) const
inlinevirtual

Return ture if all collisions should be considered.

Otherwise only the primary collision will be considered.

Reimplemented from ThePEG::SelectorBase.

Definition at line 210 of file SelectorBase.h.

References ThePEG::SelectorBase::allCollisions(), and s.

◆ allSteps()

virtual bool ThePEG::SelectIfNot::allSteps ( ) const
inlinevirtual

Return true if all steps should be considered.

Otherwise only the last step in each collision is considered.

Reimplemented from ThePEG::SelectorBase.

Definition at line 204 of file SelectorBase.h.

References ThePEG::SelectorBase::allSteps(), and s.

◆ check()

virtual bool ThePEG::SelectIfNot::check ( const Particle p) const
inlinevirtual

Return true if the particle should be extracted.

Reimplemented from ThePEG::SelectorBase.

Definition at line 188 of file SelectorBase.h.

References ThePEG::SelectorBase::check(), and s.

◆ finalState()

virtual bool ThePEG::SelectIfNot::finalState ( ) const
inlinevirtual

Return true if final state particles are to be considered.

Reimplemented from ThePEG::SelectorBase.

Definition at line 193 of file SelectorBase.h.

References ThePEG::SelectorBase::finalState(), and s.

◆ intermediate()

virtual bool ThePEG::SelectIfNot::intermediate ( ) const
inlinevirtual

Return true if intermediate particles should be considered.

Reimplemented from ThePEG::SelectorBase.

Definition at line 198 of file SelectorBase.h.

References ThePEG::SelectorBase::intermediate(), and s.

Member Data Documentation

◆ s

const SelectorBase& ThePEG::SelectIfNot::s
private

The selector to be negated.

Definition at line 217 of file SelectorBase.h.

Referenced by allCollisions(), allSteps(), check(), finalState(), and intermediate().


The documentation for this class was generated from the following file: