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

PData.h

Go to the documentation of this file.
00001 //  $Header: /nfs/slac/g/glast/ground/cvs/gismo/gismo/PData.h,v 1.2 2000/01/17 23:37:24 burnett Exp $
00002 //
00003 
00004 #ifndef GISMO_PDATA_H
00005 #define GISMO_PDATA_H
00006 
00007 #include "gismo/Decayer.h"
00008 
00009 
00010 // declare these ahead
00011 class Interactor;
00012 class DecayEntry;
00013 class PDTEntry;
00014 
00015 
00019 class PData
00020 {
00021     friend class PDT;
00022     friend class AntiPData;
00023     friend class GParticle;
00024     
00025     
00026 public:
00027     virtual ~PData();
00028     const char * name()const;
00029     
00030     PData* anti()const;
00031     
00032     virtual float charge()const;
00033     
00034     virtual long idCode()const;
00035     
00036     float mass()const ;
00037     
00038     float width()const;
00039     
00040     float widthCut()const;
00041     
00042     float lifeTime()const;
00043     
00044     float spin()const;
00045     
00046     const DecayEntry* decayInfo()const;
00047     
00048     Interactor* interaction()const;
00049     
00050     float sumBR()const;
00051     
00052     virtual void  printOn( std::ostream & ) const;
00053     
00054 protected:
00055     char*  _name;               // name
00056     PDTEntry* theData;           // pointer to data record
00057     PData*    antiParticle;     // pointer to antiparticle
00058     
00059     
00060     PData(const char * name,  PDTEntry* data=0);
00061     // constructutor
00062 };
00063 
00064 
00065 
00066 
00067 #endif
00068 

Generated at Wed Nov 21 12:20:26 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000