Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Decayer Class Reference

Base class for decayer
Special decay constructed by PDT::addDecay or PDT::addDecayer. More...

#include <Decayer.h>

Inheritance diagram for Decayer:

PhaseSpace RanboDecayer SageDecayer TwoBody List of all members.

Public Methods

virtual ~Decayer ()

Static Public Attributes

float weight = 1
 can be set to the weight by a subclass. More...


Protected Methods

virtual int decay (GParticle*) const
 Decayer (const char * name)
 Decayer ()
const char* name () const
virtual void printOn ( std::ostream & ) const

Protected Attributes

char* _name
Decayer* replacement

Friends

class  PDT
class  DecayEntry

Detailed Description

Base class for decayer
Special decay constructed by PDT::addDecay or PDT::addDecayer.

The replacement entry is modified by PDT::addDecayer if another decayer with the same name is found. (This is due to pointers from decay entries.)

Definition at line 21 of file Decayer.h.


Constructor & Destructor Documentation

Decayer::~Decayer ( ) [virtual]
 

Definition at line 39 of file Decayer.cxx.

Decayer::Decayer ( const char * name ) [protected]
 

Definition at line 33 of file Decayer.cxx.

Decayer::Decayer ( ) [protected]
 

Definition at line 26 of file Decayer.cxx.


Member Function Documentation

int Decayer::decay ( GParticle * parent ) const [protected, virtual]
 

Reimplemented in PhaseSpace, SageDecayer, TwoBody, and RanboDecayer.

Definition at line 43 of file Decayer.cxx.

const char * Decayer::name ( ) const [inline, protected]
 

Definition at line 40 of file Decayer.h.

Referenced by PDT::addDecayer(), DecayEntry::name(), and printOn().

void Decayer::printOn ( std::ostream & cout ) const [protected, virtual]
 

Definition at line 57 of file Decayer.cxx.


Friends And Related Function Documentation

class DecayEntry [friend]
 

Definition at line 24 of file Decayer.h.

class PDT [friend]
 

Definition at line 23 of file Decayer.h.


Member Data Documentation

char * Decayer::_name [protected]
 

Definition at line 32 of file Decayer.h.

Decayer * Decayer::replacement [protected]
 

Definition at line 33 of file Decayer.h.

float Decayer::weight = 1 [static]
 

can be set to the weight by a subclass.

Definition at line 24 of file Decayer.cxx.


The documentation for this class was generated from the following files:
Generated at Mon Nov 26 18:18:38 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000