On Thu, 18 Nov 2004, Rene Brun wrote:
[...]
> Concerning TParticle/TParticlePDG, you can add new TParticlePDG definitions
> with your pdg code to the TDatabasePDG.
Costas, you can see how we do this in MINOS; our additions to the pdg table
can be found at:
http://www-numi.fnal.gov/offline_software/srt_public_context/Util/minos_extra_pdg.txt
which adds quite a number of Ions using the PDG extension of giving
particle codes of the form 1AAAZZZJJJ (A=atomic #, N=# protons, JJJ is
reserved for spin but not used by us), as well as other intermediates
that NEUGEN2/3 generates.
Though one difficulty is that one can't do:
TDatabasePDG *pdg = TDatabasePDG::Instance();
pdg->ReadPDGTable("$ROOTSYS/etc/pdg_table.txt");
pdg->ReadPDGTable("path/pdg_additions.txt");
as this will double up the decay list of things in the original pdg
table (giving 200% decay branching probabilities :-). To get around
this MINOS concatenates the two text files by an external process (our
SRT build processing) and then reads the resultant file via a globally
accessible routine LoadMinosPDG() , c.f.:
http://www-numi.fnal.gov/offline_software/srt_public_context/Util/LoadMinosPDG.cxx
which also prevents accidental repeat calls.
[...]
-robert
Robert W. Hatcher | rhatcher@fnal.gov 630-840-3102
FNAL CD/EXP (MINOS) | MS 220, PO Box 500, Batavia IL 60510
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET