![]() |
HepPDT Reference DocumentationHepPDT |
00001 #ifndef PARTICLE_ID_TRANSLATIONS_HH 00002 #define PARTICLE_ID_TRANSLATIONS_HH 00003 // ---------------------------------------------------------------------- 00004 // 00005 // ParticleIDTranslations.hh 00006 // Author: Lynn Garren 00007 // 00008 // ..convert between various numbering implementations 00009 // 00010 // ---------------------------------------------------------------------- 00011 00012 #include <iostream> 00013 00015 00021 namespace HepPID { 00022 00023 // translate between generator ID's and standard numbering scheme 00024 00025 // Herwig translations 00027 int translateHerwigtoPDT( const int herwigID); 00029 int translatePDTtoHerwig( const int pid ); 00031 void writeHerwigTranslation( std::ostream & os ); 00032 00033 // Isajet translations 00035 int translateIsajettoPDT( const int isajetID ); 00037 int translatePDTtoIsajet( const int pid ); 00039 void writeIsajetTranslation( std::ostream & os ); 00040 00041 // Pythia translations 00043 int translatePythiatoPDT( const int pythiaID ); 00045 int translatePDTtoPythia( const int pid ); 00047 void writePythiaTranslation( std::ostream & os ); 00048 00049 // EvtGen translations 00051 int translateEvtGentoPDT( const int evtGenID ); 00053 int translatePDTtoEvtGen( const int pid ); 00055 void writeEvtGenTranslation( std::ostream & os ); 00056 00057 // PDG table translations (yes,there can be differences) 00059 int translatePDGtabletoPDT( const int pdgID); 00061 int translatePDTtoPDGtable( const int pid ); 00063 void writePDGTranslation( std::ostream & os ); 00064 00065 // QQ translations 00067 int translateQQtoPDT( const int qqID); 00069 int translatePDTtoQQ( const int pid ); 00071 int translateQQbar( const int id ); 00073 int translateInverseQQbar( const int id ); 00075 void writeQQTranslation( std::ostream & os ); 00076 00077 // Geant3 translations 00079 int translateGeanttoPDT( const int geantID); 00081 int translatePDTtoGeant( const int pid ); 00082 00083 } // namespace HepPID 00084 00085 #endif // PARTICLE_ID_TRANSLATIONS_HH