15 case 22:
return "#gamma";
16 case -11:
return "e^{+}";
17 case 11:
return "e^{-}";
18 case 13:
return "#mu";
19 case -15:
return "#bar{#tau}";
20 case 15:
return "#tau";
21 case -13:
return "#bar{#mu}";
22 case 12:
return "#nu_{e}";
23 case 14:
return "#nu_{#mu}";
24 case 16:
return "#nu_{#tau}";
25 case -12:
return "#bar{#nu}_{e}";
26 case -14:
return "#bar{#nu}_{#mu}";
27 case -16:
return "#bar{#nu}_{#tau}";
28 case 111:
return "#pi^{0}";
29 case 211:
return "#pi^{+}";
30 case -211:
return "#pi^{-}";
31 case 321:
return "K^{+}";
32 case -321:
return "K^{-}";
33 case 130:
return "K^{0}_{L}";
34 case 310:
return "K^{0}_{S}";
35 case 2112:
return "n";
36 case 2212:
return "p";
37 case -2112:
return "#bar{n}";
38 case -2212:
return "#bar{p}";
39 case 2224:
return "#Delta^{++}";
40 case 1000060120:
return "^{12}C";
41 case 1000170350:
return "^{35}Cl";
42 case 1000260560:
return "^{56}Fe";
43 case 1000220480:
return "^{48}Ti";
44 case 1000080160:
return "^{16}O";
45 case 1000070140:
return "^{14}N";
46 case 1000110230:
return "^{23}Na";
47 case 1000130270:
return "^{27}Al";
48 case 1000140280:
return "^{28}Si";
49 case 1000200400:
return "^{40}Ca";
50 case 1000561370:
return "^{137}Ba";
51 case 1000180400:
return "^{40}Ar";
52 case 1000180390:
return "^{39}Ar";
53 case 2000000001:
return "GENIE_{1}";
54 case 2000000002:
return "GENIE_{2}";
56 static char buff[256];
57 sprintf(buff,
"X_{%d}", pdgcode);
71 case -12:
return kRed;
75 case -14:
return kBlue;
79 case -16:
return kGreen;
80 case 22:
return kYellow - 1;
87 case 310:
return kMagenta - 3;
89 case 2212:
return kMagenta + 3;
90 default:
return kBlack;
98 if (pdgcode == 2112 || pdgcode == 2212)
return 3;
108 case -11:
return kDotted;
115 case 2212:
return kSolid;
123 case 2112:
return kDotted;
124 case 111:
return kDashed;
135 int kSolid = 1, kDashed = 2, kDotted = 3 ;
233 line.SetLineColor(c);
234 line.SetLineStyle(s);
235 line.SetLineWidth(w);
static void FromPDG(TLine &line, int pdgcode)
static int LineWidthFromPDG(int pdgcode)
static int ColorFromPDG(int pdgcode)
static const char * LatexName(int pdgcode)
Convert PDG code to a latex string (root-style)
static int LineStyleFromPDG(int pdgcode)