00001 // -*- C++ -*- $Id: PDTEntry.h,v 1.1 2000/01/17 23:37:31 burnett Exp $ 00002 // 00003 // This file is part of Gismo 2 00004 // 00005 // 00006 // This is the definition of the PDTEntry class. It is used by 00007 // the PData class, and is private 00008 // 00009 // .SS History 00010 // 00011 // Author: Toby Burnett 00012 00013 #ifndef __PDTENTRY_H 00014 #define __PDTENTRY_H 00015 00016 #include <iostream> 00017 00018 // declare these ahead 00019 class Particle; 00020 class DecayEntry; 00021 class PDT; 00022 class AntiPData; 00023 class Interactor; 00024 00025 00026 class PDTEntry 00027 { 00028 friend class PDT; 00029 friend class DecayEntry; 00030 friend class PData; 00031 00032 long idCode; // Particle Data Group code number 00033 float mass; // nominal mass 00034 float width; // width (0 if stable) 00035 float lifeTime; // c*tau, in standard length units 00036 int spin; // spin, in half-units 00037 int charge; // charge, in e units (?) 00038 float widthCut; // used to limit range of B-W 00039 float sumBR; // total branching ratio (should be 1.) 00040 DecayEntry* decayInfo; // pointer to linked list of decayers 00041 const 00042 Interactor* intobject; // point to interaction object 00043 00044 PDTEntry( long, int,int,float, float); 00045 00046 virtual ~PDTEntry(); 00047 00048 public: 00049 Interactor* interaction()const; 00050 void printOn(std::ostream& str)const; 00051 }; 00052 #endif 00053
1.2.3 written by Dimitri van Heesch,
© 1997-2000