thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::ParticleSelector< T > Struct Template Reference

The templated ParticleSelector class may be used to implement derived classes from the SelectorBase class. More...

#include <SelectorBase.h>

Inheritance diagram for ThePEG::ParticleSelector< T >:

Public Member Functions

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. More...
 
virtual bool allCollisions () const
 Return ture if all collisions should be considered. More...
 
- Public Member Functions inherited from ThePEG::SelectorBase
virtual ~SelectorBase ()
 Virtual destructor.
 

Static Public Member Functions

static bool Check (const Particle &p)
 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.
 
- 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

template<class T>
struct ThePEG::ParticleSelector< T >

The templated ParticleSelector class may be used to implement derived classes from the SelectorBase class.

The requirement on the template class is that it implements the static AllCollisions(), AllSteps(), FinalState(), Intermediate() and Check(const Particle &) (corresponding to the virtual ones in ParticleSelector).

Definition at line 118 of file SelectorBase.h.

Member Function Documentation

◆ allCollisions()

template<class T >
virtual bool ThePEG::ParticleSelector< T >::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 170 of file SelectorBase.h.

References ThePEG::SelectorBase::AllCollisions().

◆ allSteps()

template<class T >
virtual bool ThePEG::ParticleSelector< T >::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 164 of file SelectorBase.h.

References ThePEG::SelectorBase::AllSteps().


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