36{
37 Int_t
n = infoCon.size();
38 Double_t margin = GetMargin();
39 Double_t dy = (1.0 - margin * 2) /
n;
40
41
42 if (
n == 2) dy = (1.0 - margin * 2) / 3;
43
44 Double_t coordx = 0.0;
45 Double_t coordy = 0.0;
46 for (Int_t i = 0; i <
n; i++) {
47 coordy = 1.0 - (i + 1) * dy;
48 if (
n == 1) coordy = 1.0;
49
50 TText* tdata = AddText(coordx, coordy, infoCon[i].Data());
52 tdata->SetTextFont(42);
53 if (i == 0 &&
n > 4) {
55 tdata->SetTextFont(62);
56 }
57 tdata->SetTextColor(1);
58 tdata->SetTextAlign(12);
59
60 if (infoCon[i] == TString("Fired")) {
61 tdata->SetTextColor(kRed);
62
63 tdata->SetTextFont(72);
64 }
65 }
66
67 if (infoCon.size() == 2)
68 {
69 coordy = 1.0 - 3 * dy;
70 TText* tdata = AddText(0.0, coordy, "");
72 }
73
76
77 ConvertNDCtoPad();
78
79 SetX1NDC(0.0);
80 SetY1NDC(0.0);
83}