ThePEG::SelectIfEither Class Reference

The SelectIfEither class can be used to combine other selector objects. More...

#include <SelectorBase.h>

Inheritance diagram for ThePEG::SelectIfEither:

ThePEG::SelectorBase

List of all members.

Public Member Functions

 SelectIfEither (const SelectorBase &S1, const SelectorBase &S2)
 Constructor taking two SelectorBase object to be combiden.
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 SelectorBases1
 One selector to be combined.
const SelectorBases2
 The other selector to be combined.


Detailed Description

The SelectIfEither class can be used to combine other selector objects.

Only particles which would be extracted with both selectors will be extractor.

Definition at line 291 of file SelectorBase.h.


Member Function Documentation

virtual bool ThePEG::SelectIfEither::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 326 of file SelectorBase.h.

References ThePEG::SelectorBase::allSteps(), s1, and s2.

virtual bool ThePEG::SelectIfEither::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 334 of file SelectorBase.h.

References ThePEG::SelectorBase::allCollisions(), s1, and s2.


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

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