ThePEG::DummyDecayer Class Reference

DummyDecayer inherits from Decayer and is a dummy decayer class to be used for symbolic decay channels. More...

#include <DummyDecayer.h>

Inheritance diagram for ThePEG::DummyDecayer:

ThePEG::Decayer ThePEG::HandlerBase ThePEG::HandlerBaseT< T > ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

List of all members.

Public Member Functions

Virtual functions required by the Decayer class.
virtual bool accept (const DecayMode &dm) const
 Check if this decayer can perfom the decay specified by the given decay mode.
virtual ParticleVector decay (const DecayMode &dm, const Particle &p) const
 Perform a decay for a given DecayMode and a given Particle instance.
virtual double brat (const DecayMode &, const ParticleData &, double) const
 Will always return zero, since no decay can ever be performed with this decayer.
virtual double brat (const DecayMode &, const Particle &, double) const
 Will always return zero, since no decay can ever be performed with this decayer.

Static Public Member Functions

static void Init ()
 Standard Init function used to initialize the interfaces.

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.

Private Member Functions

DummyDecayeroperator= (const DummyDecayer &)
 Private and non-existent assignment operator.

Static Private Attributes

static NoPIOClassDescription
< DummyDecayer
initDummyDecayer
 Describe a concrete class without persistent data.


Detailed Description

DummyDecayer inherits from Decayer and is a dummy decayer class to be used for symbolic decay channels.

If it for some reason is called to perform a decay, it will throw a std::logic_error.

See also:
The interfaces defined for DummyDecayer.

Definition at line 25 of file DummyDecayer.h.


Member Function Documentation

virtual bool ThePEG::DummyDecayer::accept ( const DecayMode dm  )  const [virtual]

Check if this decayer can perfom the decay specified by the given decay mode.

Parameters:
dm the DecayMode describing the decay.
Returns:
true always.

Implements ThePEG::Decayer.

virtual ParticleVector ThePEG::DummyDecayer::decay ( const DecayMode dm,
const Particle p 
) const [virtual]

Perform a decay for a given DecayMode and a given Particle instance.

Will throw std::logic_error if called.

Parameters:
dm the DecayMode describing the decay.
p the Particle instance to be decayed.
Returns:
a ParticleVector containing the decay products.

Implements ThePEG::Decayer.

virtual IBPtr ThePEG::DummyDecayer::clone (  )  const [protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual IBPtr ThePEG::DummyDecayer::fullclone (  )  const [protected, virtual]

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.


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

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