00001 // -*- C++ -*- $Id: HepPDT.h,v 1.1 2000/01/17 23:37:29 burnett Exp $ 00002 // 00003 // This file is part of Gismo 2 00004 00005 #ifndef __HEPPDT_H 00006 #define __HEPPDT_H 00007 00008 #include "gismo/PDT.h" 00009 00010 class Interactor; 00011 00012 class HepPDT : public PDT 00013 { 00014 public: 00015 HepPDT(Interactor* emint=0, Interactor* hadint=0); 00016 // constructor: create PDT with hadronic and electromagnetic interactors 00017 // that must correspond to the strings "electromagnetic" and "hadronic". 00018 // leptons are defined with "weak", that must be added separately 00019 00020 HepPDT& readPDGMasses(std::istream&); 00021 HepPDT& readPDGMasses(const char *); 00022 // create entries fromm the PDG's ASCII file 00023 00024 HepPDT& setDecays(); 00025 // generate default decays from code 00026 00027 private: 00028 void createTheParticles( char* name, long* id,int *charge,float mass, float width); 00029 }; 00030 00031 #endif 00032
1.2.3 written by Dimitri van Heesch,
© 1997-2000