{ //=========Macro generated from canvas: Kuno Plots/Kuno Plots //========= (Sun Feb 12 01:09:13 2017) by ROOT version5.34/30 TCanvas *Kuno Plots = new TCanvas("Kuno Plots", "Kuno Plots",65,168,800,600); Kuno Plots->SetHighLightColor(2); Kuno Plots->Range(0,0,1,1); Kuno Plots->SetFillColor(0); Kuno Plots->SetBorderMode(0); Kuno Plots->SetBorderSize(2); Kuno Plots->SetFrameBorderMode(0); // ------------>Primitives in pad: Kuno Plots_1 TPad *Kuno Plots_1 = new TPad("Kuno Plots_1", "Kuno Plots_1",0.01,0.01,0.49,0.99); Kuno Plots_1->Draw(); Kuno Plots_1->cd(); Kuno Plots_1->Range(-85.87501,-32497.5,722.875,292477.5); Kuno Plots_1->SetFillColor(0); Kuno Plots_1->SetBorderMode(0); Kuno Plots_1->SetBorderSize(2); Kuno Plots_1->SetFrameBorderMode(0); Kuno Plots_1->SetFrameBorderMode(0); TH1F *Ch_SumU = new TH1F("Ch_SumU","Digit Channel Sum TkU",670,-5,642); Ch_SumU->SetBinContent(137,1); Ch_SumU->SetBinContent(148,1); Ch_SumU->SetBinContent(161,1); Ch_SumU->SetBinContent(191,1); Ch_SumU->SetBinContent(192,1); Ch_SumU->SetBinContent(194,1); Ch_SumU->SetBinContent(203,1); Ch_SumU->SetBinContent(220,1); Ch_SumU->SetBinContent(221,2); Ch_SumU->SetBinContent(222,1); Ch_SumU->SetBinContent(225,3); Ch_SumU->SetBinContent(228,1); Ch_SumU->SetBinContent(229,1); Ch_SumU->SetBinContent(230,1); Ch_SumU->SetBinContent(231,1); Ch_SumU->SetBinContent(232,1); Ch_SumU->SetBinContent(233,2); Ch_SumU->SetBinContent(235,2); Ch_SumU->SetBinContent(241,2); Ch_SumU->SetBinContent(242,1); Ch_SumU->SetBinContent(243,1); Ch_SumU->SetBinContent(246,1); Ch_SumU->SetBinContent(251,1); Ch_SumU->SetBinContent(252,1); Ch_SumU->SetBinContent(254,1); Ch_SumU->SetBinContent(255,1); Ch_SumU->SetBinContent(256,1); Ch_SumU->SetBinContent(257,1); Ch_SumU->SetBinContent(262,1); Ch_SumU->SetBinContent(265,1); Ch_SumU->SetBinContent(266,2); Ch_SumU->SetBinContent(267,1); Ch_SumU->SetBinContent(269,1); Ch_SumU->SetBinContent(271,2); Ch_SumU->SetBinContent(273,1); Ch_SumU->SetBinContent(274,1); Ch_SumU->SetBinContent(275,1); Ch_SumU->SetBinContent(277,2); Ch_SumU->SetBinContent(278,2); Ch_SumU->SetBinContent(279,2); Ch_SumU->SetBinContent(281,3); Ch_SumU->SetBinContent(282,3); Ch_SumU->SetBinContent(283,1); Ch_SumU->SetBinContent(284,3); Ch_SumU->SetBinContent(285,3); Ch_SumU->SetBinContent(286,1); Ch_SumU->SetBinContent(289,1); Ch_SumU->SetBinContent(293,1); Ch_SumU->SetBinContent(294,1); Ch_SumU->SetBinContent(295,1); Ch_SumU->SetBinContent(296,4); Ch_SumU->SetBinContent(298,2); Ch_SumU->SetBinContent(300,1); Ch_SumU->SetBinContent(302,2); Ch_SumU->SetBinContent(304,1); Ch_SumU->SetBinContent(305,1); Ch_SumU->SetBinContent(306,2); Ch_SumU->SetBinContent(309,2); Ch_SumU->SetBinContent(310,2); Ch_SumU->SetBinContent(311,3); Ch_SumU->SetBinContent(314,4); Ch_SumU->SetBinContent(316,1); Ch_SumU->SetBinContent(320,1); Ch_SumU->SetBinContent(322,1); Ch_SumU->SetBinContent(323,1); Ch_SumU->SetBinContent(324,3); Ch_SumU->SetBinContent(325,2); Ch_SumU->SetBinContent(326,1); Ch_SumU->SetBinContent(327,2); Ch_SumU->SetBinContent(329,3); Ch_SumU->SetBinContent(330,2); Ch_SumU->SetBinContent(331,1); Ch_SumU->SetBinContent(332,4); Ch_SumU->SetBinContent(333,5); Ch_SumU->SetBinContent(334,962); Ch_SumU->SetBinContent(335,247600); Ch_SumU->SetBinContent(336,193927); Ch_SumU->SetBinContent(337,131); Ch_SumU->SetBinContent(338,7); Ch_SumU->SetBinContent(340,1); Ch_SumU->SetBinContent(342,1); Ch_SumU->SetBinContent(343,2); Ch_SumU->SetBinContent(344,3); Ch_SumU->SetBinContent(345,2); Ch_SumU->SetBinContent(346,1); Ch_SumU->SetBinContent(348,2); Ch_SumU->SetBinContent(349,1); Ch_SumU->SetBinContent(351,3); Ch_SumU->SetBinContent(352,1); Ch_SumU->SetBinContent(353,4); Ch_SumU->SetBinContent(354,1); Ch_SumU->SetBinContent(355,3); Ch_SumU->SetBinContent(358,1); Ch_SumU->SetBinContent(359,2); Ch_SumU->SetBinContent(360,1); Ch_SumU->SetBinContent(368,1); Ch_SumU->SetBinContent(369,2); Ch_SumU->SetBinContent(370,1); Ch_SumU->SetBinContent(371,2); Ch_SumU->SetBinContent(374,3); Ch_SumU->SetBinContent(375,3); Ch_SumU->SetBinContent(376,1); Ch_SumU->SetBinContent(377,1); Ch_SumU->SetBinContent(383,1); Ch_SumU->SetBinContent(384,1); Ch_SumU->SetBinContent(388,1); Ch_SumU->SetBinContent(389,1); Ch_SumU->SetBinContent(390,2); Ch_SumU->SetBinContent(391,1); Ch_SumU->SetBinContent(393,1); Ch_SumU->SetBinContent(394,1); Ch_SumU->SetBinContent(395,2); Ch_SumU->SetBinContent(396,1); Ch_SumU->SetBinContent(397,2); Ch_SumU->SetBinContent(398,4); Ch_SumU->SetBinContent(399,2); Ch_SumU->SetBinContent(400,3); Ch_SumU->SetBinContent(401,1); Ch_SumU->SetBinContent(402,2); Ch_SumU->SetBinContent(403,1); Ch_SumU->SetBinContent(404,3); Ch_SumU->SetBinContent(407,2); Ch_SumU->SetBinContent(409,2); Ch_SumU->SetBinContent(411,1); Ch_SumU->SetBinContent(412,2); Ch_SumU->SetBinContent(415,1); Ch_SumU->SetBinContent(416,2); Ch_SumU->SetBinContent(418,1); Ch_SumU->SetBinContent(419,1); Ch_SumU->SetBinContent(422,2); Ch_SumU->SetBinContent(423,1); Ch_SumU->SetBinContent(424,1); Ch_SumU->SetBinContent(425,4); Ch_SumU->SetBinContent(427,2); Ch_SumU->SetBinContent(428,1); Ch_SumU->SetBinContent(432,1); Ch_SumU->SetBinContent(433,1); Ch_SumU->SetBinContent(439,1); Ch_SumU->SetBinContent(442,1); Ch_SumU->SetBinContent(443,3); Ch_SumU->SetBinContent(445,2); Ch_SumU->SetBinContent(448,1); Ch_SumU->SetBinContent(452,1); Ch_SumU->SetBinContent(455,1); Ch_SumU->SetBinContent(460,1); Ch_SumU->SetBinContent(463,1); Ch_SumU->SetBinContent(464,2); Ch_SumU->SetBinContent(465,1); Ch_SumU->SetBinContent(468,1); Ch_SumU->SetBinContent(471,1); Ch_SumU->SetBinContent(475,1); Ch_SumU->SetBinContent(480,1); Ch_SumU->SetBinContent(482,2); Ch_SumU->SetBinContent(486,1); Ch_SumU->SetBinContent(489,1); Ch_SumU->SetBinContent(493,1); Ch_SumU->SetBinContent(495,1); Ch_SumU->SetEntries(442870); TPaveStats *ptstats = new TPaveStats(0.78,0.775,0.98,0.935,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetTextAlign(12); ptstats->SetTextFont(42); TText *text = ptstats->AddText("Ch_SumU"); text->SetTextSize(0.0368); text = ptstats->AddText("Entries = 442870 "); text = ptstats->AddText("Mean = 318.4"); text = ptstats->AddText("RMS = 1.745"); ptstats->SetOptStat(1111); ptstats->SetOptFit(0); ptstats->Draw(); Ch_SumU->GetListOfFunctions()->Add(ptstats); ptstats->SetParent(Ch_SumU); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); Ch_SumU->SetLineColor(ci); Ch_SumU->GetXaxis()->SetTitle("Channel Number"); Ch_SumU->GetXaxis()->CenterTitle(true); Ch_SumU->GetXaxis()->SetLabelFont(42); Ch_SumU->GetXaxis()->SetLabelSize(0.035); Ch_SumU->GetXaxis()->SetTitleSize(0.035); Ch_SumU->GetXaxis()->SetTitleFont(42); Ch_SumU->GetYaxis()->SetLabelFont(42); Ch_SumU->GetYaxis()->SetLabelSize(0.035); Ch_SumU->GetYaxis()->SetTitleSize(0.035); Ch_SumU->GetYaxis()->SetTitleFont(42); Ch_SumU->GetZaxis()->SetLabelFont(42); Ch_SumU->GetZaxis()->SetLabelSize(0.035); Ch_SumU->GetZaxis()->SetTitleSize(0.035); Ch_SumU->GetZaxis()->SetTitleFont(42); Ch_SumU->Draw(""); TPaveText *pt = new TPaveText(0.2021022,0.94,0.7978978,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); text = pt->AddText("Digit Channel Sum TkU"); pt->Draw(); Kuno Plots_1->Modified(); Kuno Plots->cd(); // ------------>Primitives in pad: Kuno Plots_2 Kuno Plots_2 = new TPad("Kuno Plots_2", "Kuno Plots_2",0.51,0.01,0.99,0.99); Kuno Plots_2->Draw(); Kuno Plots_2->cd(); Kuno Plots_2->Range(-85.87501,-10007.42,722.875,90066.77); Kuno Plots_2->SetFillColor(0); Kuno Plots_2->SetBorderMode(0); Kuno Plots_2->SetBorderSize(2); Kuno Plots_2->SetFrameBorderMode(0); Kuno Plots_2->SetFrameBorderMode(0); TH1F *Ch_SumD = new TH1F("Ch_SumD","Digit Channel Sum TkD",670,-5,642); Ch_SumD->SetBinContent(102,1); Ch_SumD->SetBinContent(107,1); Ch_SumD->SetBinContent(112,2); Ch_SumD->SetBinContent(115,1); Ch_SumD->SetBinContent(128,1); Ch_SumD->SetBinContent(140,1); Ch_SumD->SetBinContent(142,1); Ch_SumD->SetBinContent(144,1); Ch_SumD->SetBinContent(152,1); Ch_SumD->SetBinContent(163,1); Ch_SumD->SetBinContent(171,1); Ch_SumD->SetBinContent(172,1); Ch_SumD->SetBinContent(173,1); Ch_SumD->SetBinContent(176,1); Ch_SumD->SetBinContent(178,1); Ch_SumD->SetBinContent(179,1); Ch_SumD->SetBinContent(180,1); Ch_SumD->SetBinContent(185,1); Ch_SumD->SetBinContent(188,1); Ch_SumD->SetBinContent(191,1); Ch_SumD->SetBinContent(192,1); Ch_SumD->SetBinContent(193,2); Ch_SumD->SetBinContent(198,1); Ch_SumD->SetBinContent(199,1); Ch_SumD->SetBinContent(201,1); Ch_SumD->SetBinContent(203,1); Ch_SumD->SetBinContent(205,1); Ch_SumD->SetBinContent(206,1); Ch_SumD->SetBinContent(208,1); Ch_SumD->SetBinContent(209,3); Ch_SumD->SetBinContent(210,1); Ch_SumD->SetBinContent(211,3); Ch_SumD->SetBinContent(212,2); Ch_SumD->SetBinContent(213,1); Ch_SumD->SetBinContent(214,1); Ch_SumD->SetBinContent(216,1); Ch_SumD->SetBinContent(217,4); Ch_SumD->SetBinContent(218,3); Ch_SumD->SetBinContent(223,1); Ch_SumD->SetBinContent(224,1); Ch_SumD->SetBinContent(225,1); Ch_SumD->SetBinContent(226,2); Ch_SumD->SetBinContent(227,2); Ch_SumD->SetBinContent(228,2); Ch_SumD->SetBinContent(230,4); Ch_SumD->SetBinContent(231,1); Ch_SumD->SetBinContent(232,1); Ch_SumD->SetBinContent(233,2); Ch_SumD->SetBinContent(235,4); Ch_SumD->SetBinContent(236,1); Ch_SumD->SetBinContent(237,3); Ch_SumD->SetBinContent(240,3); Ch_SumD->SetBinContent(241,2); Ch_SumD->SetBinContent(242,1); Ch_SumD->SetBinContent(245,3); Ch_SumD->SetBinContent(246,2); Ch_SumD->SetBinContent(248,2); Ch_SumD->SetBinContent(249,1); Ch_SumD->SetBinContent(250,1); Ch_SumD->SetBinContent(251,1); Ch_SumD->SetBinContent(252,1); Ch_SumD->SetBinContent(253,1); Ch_SumD->SetBinContent(254,1); Ch_SumD->SetBinContent(255,2); Ch_SumD->SetBinContent(256,1); Ch_SumD->SetBinContent(257,1); Ch_SumD->SetBinContent(259,3); Ch_SumD->SetBinContent(260,3); Ch_SumD->SetBinContent(262,2); Ch_SumD->SetBinContent(264,2); Ch_SumD->SetBinContent(265,2); Ch_SumD->SetBinContent(266,2); Ch_SumD->SetBinContent(267,4); Ch_SumD->SetBinContent(268,1); Ch_SumD->SetBinContent(269,3); Ch_SumD->SetBinContent(270,1); Ch_SumD->SetBinContent(271,2); Ch_SumD->SetBinContent(272,2); Ch_SumD->SetBinContent(273,2); Ch_SumD->SetBinContent(274,2); Ch_SumD->SetBinContent(275,2); Ch_SumD->SetBinContent(277,3); Ch_SumD->SetBinContent(278,1); Ch_SumD->SetBinContent(279,2); Ch_SumD->SetBinContent(280,1); Ch_SumD->SetBinContent(281,2); Ch_SumD->SetBinContent(282,1); Ch_SumD->SetBinContent(283,3); Ch_SumD->SetBinContent(284,1); Ch_SumD->SetBinContent(285,4); Ch_SumD->SetBinContent(286,2); Ch_SumD->SetBinContent(287,1); Ch_SumD->SetBinContent(288,4); Ch_SumD->SetBinContent(289,3); Ch_SumD->SetBinContent(290,2); Ch_SumD->SetBinContent(293,1); Ch_SumD->SetBinContent(294,4); Ch_SumD->SetBinContent(295,2); Ch_SumD->SetBinContent(298,2); Ch_SumD->SetBinContent(299,2); Ch_SumD->SetBinContent(301,5); Ch_SumD->SetBinContent(302,2); Ch_SumD->SetBinContent(303,4); Ch_SumD->SetBinContent(304,1); Ch_SumD->SetBinContent(305,3); Ch_SumD->SetBinContent(306,2); Ch_SumD->SetBinContent(307,3); Ch_SumD->SetBinContent(308,3); Ch_SumD->SetBinContent(309,2); Ch_SumD->SetBinContent(310,3); Ch_SumD->SetBinContent(311,2); Ch_SumD->SetBinContent(312,3); Ch_SumD->SetBinContent(313,2); Ch_SumD->SetBinContent(315,4); Ch_SumD->SetBinContent(317,3); Ch_SumD->SetBinContent(318,3); Ch_SumD->SetBinContent(319,1); Ch_SumD->SetBinContent(320,1); Ch_SumD->SetBinContent(323,2); Ch_SumD->SetBinContent(324,3); Ch_SumD->SetBinContent(325,7); Ch_SumD->SetBinContent(326,20); Ch_SumD->SetBinContent(327,5); Ch_SumD->SetBinContent(328,2); Ch_SumD->SetBinContent(329,4); Ch_SumD->SetBinContent(330,3); Ch_SumD->SetBinContent(331,4); Ch_SumD->SetBinContent(332,1); Ch_SumD->SetBinContent(333,17); Ch_SumD->SetBinContent(334,380); Ch_SumD->SetBinContent(335,76247); Ch_SumD->SetBinContent(336,73011); Ch_SumD->SetBinContent(337,2825); Ch_SumD->SetBinContent(338,364); Ch_SumD->SetBinContent(339,10); Ch_SumD->SetBinContent(340,1); Ch_SumD->SetBinContent(341,2); Ch_SumD->SetBinContent(343,2); Ch_SumD->SetBinContent(344,3); Ch_SumD->SetBinContent(345,4); Ch_SumD->SetBinContent(346,2); Ch_SumD->SetBinContent(347,4); Ch_SumD->SetBinContent(348,17); Ch_SumD->SetBinContent(349,6); Ch_SumD->SetBinContent(351,2); Ch_SumD->SetBinContent(352,1); Ch_SumD->SetBinContent(353,1); Ch_SumD->SetBinContent(354,1); Ch_SumD->SetBinContent(355,1); Ch_SumD->SetBinContent(357,1); Ch_SumD->SetBinContent(358,1); Ch_SumD->SetBinContent(360,4); Ch_SumD->SetBinContent(361,1); Ch_SumD->SetBinContent(362,2); Ch_SumD->SetBinContent(363,4); Ch_SumD->SetBinContent(365,3); Ch_SumD->SetBinContent(366,3); Ch_SumD->SetBinContent(367,2); Ch_SumD->SetBinContent(368,1); Ch_SumD->SetBinContent(369,5); Ch_SumD->SetBinContent(370,3); Ch_SumD->SetBinContent(371,1); Ch_SumD->SetBinContent(372,2); Ch_SumD->SetBinContent(373,2); Ch_SumD->SetBinContent(374,1); Ch_SumD->SetBinContent(375,1); Ch_SumD->SetBinContent(377,5); Ch_SumD->SetBinContent(378,2); Ch_SumD->SetBinContent(381,2); Ch_SumD->SetBinContent(383,2); Ch_SumD->SetBinContent(384,1); Ch_SumD->SetBinContent(386,2); Ch_SumD->SetBinContent(387,3); Ch_SumD->SetBinContent(388,3); Ch_SumD->SetBinContent(389,3); Ch_SumD->SetBinContent(390,3); Ch_SumD->SetBinContent(391,2); Ch_SumD->SetBinContent(392,2); Ch_SumD->SetBinContent(393,1); Ch_SumD->SetBinContent(394,3); Ch_SumD->SetBinContent(396,2); Ch_SumD->SetBinContent(397,3); Ch_SumD->SetBinContent(398,4); Ch_SumD->SetBinContent(399,1); Ch_SumD->SetBinContent(401,2); Ch_SumD->SetBinContent(402,1); Ch_SumD->SetBinContent(404,1); Ch_SumD->SetBinContent(405,1); Ch_SumD->SetBinContent(406,3); Ch_SumD->SetBinContent(410,1); Ch_SumD->SetBinContent(412,1); Ch_SumD->SetBinContent(413,4); Ch_SumD->SetBinContent(415,1); Ch_SumD->SetBinContent(416,1); Ch_SumD->SetBinContent(417,2); Ch_SumD->SetBinContent(418,1); Ch_SumD->SetBinContent(419,1); Ch_SumD->SetBinContent(424,1); Ch_SumD->SetBinContent(427,2); Ch_SumD->SetBinContent(428,1); Ch_SumD->SetBinContent(429,2); Ch_SumD->SetBinContent(433,1); Ch_SumD->SetBinContent(434,1); Ch_SumD->SetBinContent(435,1); Ch_SumD->SetBinContent(436,2); Ch_SumD->SetBinContent(440,2); Ch_SumD->SetBinContent(442,1); Ch_SumD->SetBinContent(444,1); Ch_SumD->SetBinContent(445,1); Ch_SumD->SetBinContent(446,2); Ch_SumD->SetBinContent(447,2); Ch_SumD->SetBinContent(449,1); Ch_SumD->SetBinContent(452,2); Ch_SumD->SetBinContent(454,1); Ch_SumD->SetBinContent(456,1); Ch_SumD->SetBinContent(458,1); Ch_SumD->SetBinContent(463,1); Ch_SumD->SetBinContent(464,1); Ch_SumD->SetBinContent(465,1); Ch_SumD->SetBinContent(466,1); Ch_SumD->SetBinContent(470,1); Ch_SumD->SetBinContent(472,1); Ch_SumD->SetBinContent(480,1); Ch_SumD->SetBinContent(488,1); Ch_SumD->SetBinContent(494,1); Ch_SumD->SetBinContent(498,1); Ch_SumD->SetBinContent(499,1); Ch_SumD->SetBinContent(500,1); Ch_SumD->SetBinContent(511,1); Ch_SumD->SetBinContent(517,1); Ch_SumD->SetBinContent(521,1); Ch_SumD->SetBinContent(523,1); Ch_SumD->SetBinContent(543,1); Ch_SumD->SetBinContent(546,1); Ch_SumD->SetBinContent(559,1); Ch_SumD->SetBinContent(588,1); Ch_SumD->SetBinContent(594,1); Ch_SumD->SetEntries(153319); ptstats = new TPaveStats(0.78,0.775,0.98,0.935,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetTextAlign(12); ptstats->SetTextFont(42); text = ptstats->AddText("Ch_SumD"); text->SetTextSize(0.0368); text = ptstats->AddText("Entries = 153319 "); text = ptstats->AddText("Mean = 318.5"); text = ptstats->AddText("RMS = 4.415"); ptstats->SetOptStat(1111); ptstats->SetOptFit(0); ptstats->Draw(); Ch_SumD->GetListOfFunctions()->Add(ptstats); ptstats->SetParent(Ch_SumD); ci = TColor::GetColor("#000099"); Ch_SumD->SetLineColor(ci); Ch_SumD->GetXaxis()->SetTitle("Channel Number"); Ch_SumD->GetXaxis()->CenterTitle(true); Ch_SumD->GetXaxis()->SetLabelFont(42); Ch_SumD->GetXaxis()->SetLabelSize(0.035); Ch_SumD->GetXaxis()->SetTitleSize(0.035); Ch_SumD->GetXaxis()->SetTitleFont(42); Ch_SumD->GetYaxis()->SetLabelFont(42); Ch_SumD->GetYaxis()->SetLabelSize(0.035); Ch_SumD->GetYaxis()->SetTitleSize(0.035); Ch_SumD->GetYaxis()->SetTitleFont(42); Ch_SumD->GetZaxis()->SetLabelFont(42); Ch_SumD->GetZaxis()->SetLabelSize(0.035); Ch_SumD->GetZaxis()->SetTitleSize(0.035); Ch_SumD->GetZaxis()->SetTitleFont(42); Ch_SumD->Draw(""); pt = new TPaveText(0.2007936,0.94,0.7992064,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); text = pt->AddText("Digit Channel Sum TkD"); pt->Draw(); Kuno Plots_2->Modified(); Kuno Plots->cd(); Kuno Plots->Modified(); Kuno Plots->cd(); Kuno Plots->SetSelected(Kuno Plots); }