IAP GITLAB

Commit 0588ad23 authored by Ralf Ulrich's avatar Ralf Ulrich

better display for some pdg codes

git-svn-id: https://devel-ik.fzk.de/svn/mc/crmc/trunk@4937 c7a5e08c-de06-0410-9364-b41cf42a0b17
parent 8a730ea7
......@@ -247,12 +247,16 @@ const
if (pid < 10000) {
switch (pid) {
case 120 : return "pi"; break;
case -120 : return "antipi"; break;
case 1 : return "p"; break;
case -1 : return "antip"; break;
case 12 : return "C"; break;
case 208 : return "Pb"; break;
case 120 : return "pi"; break; // no pdg
case -120 : return "antipi"; break; // no pdg
case 211 : return "pi"; break;
case -211 : return "antipi"; break;
case 1 : return "p"; break; // pdg d-quark
case -1 : return "antip"; break; // pdg anti d-quark
case 12 : return "C"; break; // pdg: nu-e
case 208 : return "Pb"; break; // no pdg
case 2212: return "p"; break;
case -2212: return "antip"; break;
default:
{
ostringstream ss;
......
Markdown is supported
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