thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
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.
 
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.
 

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 >
static bool ThePEG::ParticleSelector< T >::AllCollisions ( )
inlinestatic

Static method corresponding to the virtual allCollisions() method.

Definition at line 143 of file SelectorBase.h.

Referenced by ThePEG::ParticleSelector< T >::allCollisions().

◆ 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::ParticleSelector< T >::AllCollisions().

◆ AllSteps()

template<class T >
static bool ThePEG::ParticleSelector< T >::AllSteps ( )
inlinestatic

Static method corresponding to the virtual allSteps() method.

Definition at line 138 of file SelectorBase.h.

Referenced by ThePEG::ParticleSelector< T >::allSteps().

◆ 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::ParticleSelector< T >::AllSteps().

◆ Check()

template<class T >
static bool ThePEG::ParticleSelector< T >::Check ( const Particle p)
inlinestatic

Static method corresponding to the virtual check() method.

Definition at line 123 of file SelectorBase.h.

Referenced by ThePEG::ParticleSelector< T >::check().

◆ check()

template<class T >
virtual bool ThePEG::ParticleSelector< T >::check ( const Particle p) const
inlinevirtual

Return true if the particle should be extracted.

Reimplemented from ThePEG::SelectorBase.

Definition at line 148 of file SelectorBase.h.

References ThePEG::ParticleSelector< T >::Check().

◆ FinalState()

template<class T >
static bool ThePEG::ParticleSelector< T >::FinalState ( )
inlinestatic

Static method corresponding to the virtual finalState() method.

Definition at line 133 of file SelectorBase.h.

Referenced by ThePEG::ParticleSelector< T >::finalState().

◆ finalState()

template<class T >
virtual bool ThePEG::ParticleSelector< T >::finalState ( ) const
inlinevirtual

Return true if final state particles are to be considered.

Reimplemented from ThePEG::SelectorBase.

Definition at line 153 of file SelectorBase.h.

References ThePEG::ParticleSelector< T >::FinalState().

◆ Intermediate()

template<class T >
static bool ThePEG::ParticleSelector< T >::Intermediate ( )
inlinestatic

Static method corresponding to the virtual intermediate() method.

Definition at line 128 of file SelectorBase.h.

Referenced by ThePEG::ParticleSelector< T >::intermediate().

◆ intermediate()

template<class T >
virtual bool ThePEG::ParticleSelector< T >::intermediate ( ) const
inlinevirtual

Return true if intermediate particles should be considered.

Reimplemented from ThePEG::SelectorBase.

Definition at line 158 of file SelectorBase.h.

References ThePEG::ParticleSelector< T >::Intermediate().


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