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

Decayer.h

Go to the documentation of this file.
00001 //  $Header: /nfs/slac/g/glast/ground/cvs/gismo/gismo/Decayer.h,v 1.2 2000/01/17 23:37:17 burnett Exp $
00002 //
00003 
00004 #ifndef GISMO_DECAYER_H
00005 #define GISMO_DECAYER_H
00006 
00007 
00008 #include <iostream>
00009 
00010 class GParticle;
00011 
00012 
00021 class Decayer
00022 {
00023    friend class PDT;
00024    friend class DecayEntry;
00025  public:
00027   static float weight;
00028 
00029     virtual ~Decayer();
00030  protected:
00031 
00032    char *_name;
00033    Decayer * replacement;
00034 
00035    virtual int decay(GParticle*) const;
00036 
00037    Decayer(const char * name);
00038    Decayer();
00039 
00040    const char* name()const{return (_name)? _name : "???";}
00041    virtual void printOn( std::ostream & ) const;
00042 };
00043 
00044 
00045 #endif
00046 

Generated at Mon Nov 26 18:18:32 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000