Commit 3d372cd9 authored by Lynn Garren's avatar Lynn Garren
Browse files

*** empty log message ***

parent 7dd89386
2005-03-16 Lynn Garren <garren@fnal.gov>
* fix a bug in the translation for the PDG tables
* fix a bug in the PDG to PDT translations
* use PDG 2004 numbering (only a few changes)
2005-03-15 Lynn Garren <garren@fnal.gov>
* ParticleID: The isNucleus method will recognize a proton (2212)
as a nuclear fragment.
* The translation free functions are now in ParticleIDTranslations.hh
which is included in ParticleID.hh.
which is included in ParticleID.hh. Pythia, Isajet, and Herwig
translation functions use static translation maps.
* examples are now installed
......
// $Id: examListIsajet.cc,v 1.1.4.2 2005/03/16 18:10:33 garren Exp $
// $Id: examListIsajet.cc,v 1.1.4.3 2005/03/17 02:05:56 garren Exp $
// -------------------------------------------------------------------
//
// List the isajet translation
......@@ -101,7 +101,6 @@ int main()
}
}
}
return 0;
}
// $Id: examMyPDT.cc,v 1.2 2003/08/26 21:56:39 garren Exp $
// $Id: examMyPDT.cc,v 1.2.2.1 2005/03/17 02:05:56 garren Exp $
// ----------------------------------------------------------------------
// examMyPDT.cc
//
......@@ -63,6 +63,8 @@ int main()
std::cout << "ERROR: particle " << HepPDT::ParticleID(111).pid()
<< " is not in particle data table" << std::endl;
}
return 0;
}
void addData( HepPDT::TableBuilder& tb, std::string const & name, int const id,
......
// $Id: examReadEvtGen.cc,v 1.2 2003/08/26 21:56:39 garren Exp $
// $Id: examReadEvtGen.cc,v 1.2.2.1 2005/03/17 02:05:56 garren Exp $
// ----------------------------------------------------------------------
// examReadEvtGen.cc
//
......@@ -49,4 +49,6 @@ int main()
exit(-1);
}
datacol.writeParticleData(wfile);
return 0;
}
// $Id: examReadPythia.cc,v 1.2 2003/08/26 21:56:39 garren Exp $
// $Id: examReadPythia.cc,v 1.2.2.1 2005/03/17 02:05:56 garren Exp $
// ----------------------------------------------------------------------
// examReadPythia.cc
//
......@@ -48,4 +48,6 @@ int main()
//datacol.particle( HepPDT::ParticleID(213) )->write(wpdfile);
double mumass = datacol.particle( HepPDT::ParticleID(13) )->mass();
datacol.writeParticleData(wpdfile);
return 0;
}
// $Id: examReadQQ.cc,v 1.2 2003/08/26 21:56:39 garren Exp $
// $Id: examReadQQ.cc,v 1.2.2.1 2005/03/17 02:05:56 garren Exp $
// ----------------------------------------------------------------------
// examReadQQ.cc
//
......@@ -52,4 +52,6 @@ int main()
HepPDT::PDGtoQQTable::instance()->writeTranslations( wpdfile );
// write the particle and decay info
datacol.writeParticleData( wpdfile );
return 0;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment