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 >:

ThePEG::SelectorBase

List of all members.

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.

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.


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

template<class T>
virtual bool ThePEG::ParticleSelector< T >::allSteps (  )  const [inline, virtual]

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().

template<class T>
virtual bool ThePEG::ParticleSelector< T >::allCollisions (  )  const [inline, virtual]

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().


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

Generated on Thu Apr 29 12:43:00 2010 for ThePEG by  doxygen 1.5.5