{ //=========Macro generated from canvas: c1/c1 //========= (Thu Aug 2 14:25:41 2012) by ROOT version5.34/01 TCanvas *c1 = new TCanvas("c1", "c1",691,31,667,689); gStyle->SetOptTitle(0); c1->Range(-14.32432,-1.217273,12.7027,4.509245); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetLogy(); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.16); c1->SetTopMargin(0.05); c1->SetBottomMargin(0.16); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TH1D *timeHighAllBarrelASlots__3 = new TH1D("timeHighAllBarrelASlots__3","Time distribution in High Gain for All Barrel A slots",1000,-10,10); timeHighAllBarrelASlots__3->SetBinContent(151,1); timeHighAllBarrelASlots__3->SetBinContent(152,1); timeHighAllBarrelASlots__3->SetBinContent(153,1); timeHighAllBarrelASlots__3->SetBinContent(213,1); timeHighAllBarrelASlots__3->SetBinContent(220,1); timeHighAllBarrelASlots__3->SetBinContent(237,1); timeHighAllBarrelASlots__3->SetBinContent(241,2); timeHighAllBarrelASlots__3->SetBinContent(244,1); timeHighAllBarrelASlots__3->SetBinContent(252,1); timeHighAllBarrelASlots__3->SetBinContent(256,1); timeHighAllBarrelASlots__3->SetBinContent(268,1); timeHighAllBarrelASlots__3->SetBinContent(274,1); timeHighAllBarrelASlots__3->SetBinContent(277,1); timeHighAllBarrelASlots__3->SetBinContent(278,2); timeHighAllBarrelASlots__3->SetBinContent(279,1); timeHighAllBarrelASlots__3->SetBinContent(283,1); timeHighAllBarrelASlots__3->SetBinContent(294,1); timeHighAllBarrelASlots__3->SetBinContent(298,1); timeHighAllBarrelASlots__3->SetBinContent(304,1); timeHighAllBarrelASlots__3->SetBinContent(307,1); timeHighAllBarrelASlots__3->SetBinContent(311,1); timeHighAllBarrelASlots__3->SetBinContent(312,1); timeHighAllBarrelASlots__3->SetBinContent(319,1); timeHighAllBarrelASlots__3->SetBinContent(323,1); timeHighAllBarrelASlots__3->SetBinContent(327,2); timeHighAllBarrelASlots__3->SetBinContent(333,1); timeHighAllBarrelASlots__3->SetBinContent(334,1); timeHighAllBarrelASlots__3->SetBinContent(339,2); timeHighAllBarrelASlots__3->SetBinContent(343,1); timeHighAllBarrelASlots__3->SetBinContent(348,1); timeHighAllBarrelASlots__3->SetBinContent(351,1); timeHighAllBarrelASlots__3->SetBinContent(359,1); timeHighAllBarrelASlots__3->SetBinContent(361,1); timeHighAllBarrelASlots__3->SetBinContent(365,1); timeHighAllBarrelASlots__3->SetBinContent(367,1); timeHighAllBarrelASlots__3->SetBinContent(376,2); timeHighAllBarrelASlots__3->SetBinContent(377,1); timeHighAllBarrelASlots__3->SetBinContent(379,1); timeHighAllBarrelASlots__3->SetBinContent(380,1); timeHighAllBarrelASlots__3->SetBinContent(385,1); timeHighAllBarrelASlots__3->SetBinContent(387,1); timeHighAllBarrelASlots__3->SetBinContent(388,1); timeHighAllBarrelASlots__3->SetBinContent(390,1); timeHighAllBarrelASlots__3->SetBinContent(391,2); timeHighAllBarrelASlots__3->SetBinContent(392,3); timeHighAllBarrelASlots__3->SetBinContent(394,1); timeHighAllBarrelASlots__3->SetBinContent(397,1); timeHighAllBarrelASlots__3->SetBinContent(401,1); timeHighAllBarrelASlots__3->SetBinContent(402,1); timeHighAllBarrelASlots__3->SetBinContent(404,3); timeHighAllBarrelASlots__3->SetBinContent(409,1); timeHighAllBarrelASlots__3->SetBinContent(410,2); timeHighAllBarrelASlots__3->SetBinContent(411,1); timeHighAllBarrelASlots__3->SetBinContent(413,2); timeHighAllBarrelASlots__3->SetBinContent(414,5); timeHighAllBarrelASlots__3->SetBinContent(415,2); timeHighAllBarrelASlots__3->SetBinContent(416,6); timeHighAllBarrelASlots__3->SetBinContent(417,3); timeHighAllBarrelASlots__3->SetBinContent(418,4); timeHighAllBarrelASlots__3->SetBinContent(419,2); timeHighAllBarrelASlots__3->SetBinContent(420,6); timeHighAllBarrelASlots__3->SetBinContent(421,6); timeHighAllBarrelASlots__3->SetBinContent(422,9); timeHighAllBarrelASlots__3->SetBinContent(423,15); timeHighAllBarrelASlots__3->SetBinContent(424,13); timeHighAllBarrelASlots__3->SetBinContent(425,15); timeHighAllBarrelASlots__3->SetBinContent(426,13); timeHighAllBarrelASlots__3->SetBinContent(427,12); timeHighAllBarrelASlots__3->SetBinContent(428,16); timeHighAllBarrelASlots__3->SetBinContent(429,11); timeHighAllBarrelASlots__3->SetBinContent(430,18); timeHighAllBarrelASlots__3->SetBinContent(431,17); timeHighAllBarrelASlots__3->SetBinContent(432,27); timeHighAllBarrelASlots__3->SetBinContent(433,39); timeHighAllBarrelASlots__3->SetBinContent(434,33); timeHighAllBarrelASlots__3->SetBinContent(435,43); timeHighAllBarrelASlots__3->SetBinContent(436,43); timeHighAllBarrelASlots__3->SetBinContent(437,47); timeHighAllBarrelASlots__3->SetBinContent(438,61); timeHighAllBarrelASlots__3->SetBinContent(439,49); timeHighAllBarrelASlots__3->SetBinContent(440,59); timeHighAllBarrelASlots__3->SetBinContent(441,81); timeHighAllBarrelASlots__3->SetBinContent(442,82); timeHighAllBarrelASlots__3->SetBinContent(443,123); timeHighAllBarrelASlots__3->SetBinContent(444,92); timeHighAllBarrelASlots__3->SetBinContent(445,116); timeHighAllBarrelASlots__3->SetBinContent(446,112); timeHighAllBarrelASlots__3->SetBinContent(447,153); timeHighAllBarrelASlots__3->SetBinContent(448,168); timeHighAllBarrelASlots__3->SetBinContent(449,179); timeHighAllBarrelASlots__3->SetBinContent(450,214); timeHighAllBarrelASlots__3->SetBinContent(451,250); timeHighAllBarrelASlots__3->SetBinContent(452,258); timeHighAllBarrelASlots__3->SetBinContent(453,306); timeHighAllBarrelASlots__3->SetBinContent(454,346); timeHighAllBarrelASlots__3->SetBinContent(455,401); timeHighAllBarrelASlots__3->SetBinContent(456,426); timeHighAllBarrelASlots__3->SetBinContent(457,489); timeHighAllBarrelASlots__3->SetBinContent(458,544); timeHighAllBarrelASlots__3->SetBinContent(459,671); timeHighAllBarrelASlots__3->SetBinContent(460,702); timeHighAllBarrelASlots__3->SetBinContent(461,752); timeHighAllBarrelASlots__3->SetBinContent(462,894); timeHighAllBarrelASlots__3->SetBinContent(463,999); timeHighAllBarrelASlots__3->SetBinContent(464,1106); timeHighAllBarrelASlots__3->SetBinContent(465,1263); timeHighAllBarrelASlots__3->SetBinContent(466,1383); timeHighAllBarrelASlots__3->SetBinContent(467,1490); timeHighAllBarrelASlots__3->SetBinContent(468,1684); timeHighAllBarrelASlots__3->SetBinContent(469,1822); timeHighAllBarrelASlots__3->SetBinContent(470,1994); timeHighAllBarrelASlots__3->SetBinContent(471,2161); timeHighAllBarrelASlots__3->SetBinContent(472,2464); timeHighAllBarrelASlots__3->SetBinContent(473,2709); timeHighAllBarrelASlots__3->SetBinContent(474,2955); timeHighAllBarrelASlots__3->SetBinContent(475,3190); timeHighAllBarrelASlots__3->SetBinContent(476,3269); timeHighAllBarrelASlots__3->SetBinContent(477,3634); timeHighAllBarrelASlots__3->SetBinContent(478,3998); timeHighAllBarrelASlots__3->SetBinContent(479,4292); timeHighAllBarrelASlots__3->SetBinContent(480,4568); timeHighAllBarrelASlots__3->SetBinContent(481,4848); timeHighAllBarrelASlots__3->SetBinContent(482,5105); timeHighAllBarrelASlots__3->SetBinContent(483,5510); timeHighAllBarrelASlots__3->SetBinContent(484,5789); timeHighAllBarrelASlots__3->SetBinContent(485,5956); timeHighAllBarrelASlots__3->SetBinContent(486,6402); timeHighAllBarrelASlots__3->SetBinContent(487,6496); timeHighAllBarrelASlots__3->SetBinContent(488,7003); timeHighAllBarrelASlots__3->SetBinContent(489,7214); timeHighAllBarrelASlots__3->SetBinContent(490,7420); timeHighAllBarrelASlots__3->SetBinContent(491,7644); timeHighAllBarrelASlots__3->SetBinContent(492,7870); timeHighAllBarrelASlots__3->SetBinContent(493,8031); timeHighAllBarrelASlots__3->SetBinContent(494,8180); timeHighAllBarrelASlots__3->SetBinContent(495,8322); timeHighAllBarrelASlots__3->SetBinContent(496,8359); timeHighAllBarrelASlots__3->SetBinContent(497,8707); timeHighAllBarrelASlots__3->SetBinContent(498,8658); timeHighAllBarrelASlots__3->SetBinContent(499,8807); timeHighAllBarrelASlots__3->SetBinContent(500,8818); timeHighAllBarrelASlots__3->SetBinContent(501,8723); timeHighAllBarrelASlots__3->SetBinContent(502,8767); timeHighAllBarrelASlots__3->SetBinContent(503,8533); timeHighAllBarrelASlots__3->SetBinContent(504,8628); timeHighAllBarrelASlots__3->SetBinContent(505,8242); timeHighAllBarrelASlots__3->SetBinContent(506,8349); timeHighAllBarrelASlots__3->SetBinContent(507,8123); timeHighAllBarrelASlots__3->SetBinContent(508,7958); timeHighAllBarrelASlots__3->SetBinContent(509,7626); timeHighAllBarrelASlots__3->SetBinContent(510,7447); timeHighAllBarrelASlots__3->SetBinContent(511,7159); timeHighAllBarrelASlots__3->SetBinContent(512,6986); timeHighAllBarrelASlots__3->SetBinContent(513,6827); timeHighAllBarrelASlots__3->SetBinContent(514,6392); timeHighAllBarrelASlots__3->SetBinContent(515,6116); timeHighAllBarrelASlots__3->SetBinContent(516,5937); timeHighAllBarrelASlots__3->SetBinContent(517,5451); timeHighAllBarrelASlots__3->SetBinContent(518,5335); timeHighAllBarrelASlots__3->SetBinContent(519,4914); timeHighAllBarrelASlots__3->SetBinContent(520,4773); timeHighAllBarrelASlots__3->SetBinContent(521,4311); timeHighAllBarrelASlots__3->SetBinContent(522,4025); timeHighAllBarrelASlots__3->SetBinContent(523,3810); timeHighAllBarrelASlots__3->SetBinContent(524,3547); timeHighAllBarrelASlots__3->SetBinContent(525,3327); timeHighAllBarrelASlots__3->SetBinContent(526,3093); timeHighAllBarrelASlots__3->SetBinContent(527,2854); timeHighAllBarrelASlots__3->SetBinContent(528,2687); timeHighAllBarrelASlots__3->SetBinContent(529,2451); timeHighAllBarrelASlots__3->SetBinContent(530,2252); timeHighAllBarrelASlots__3->SetBinContent(531,2057); timeHighAllBarrelASlots__3->SetBinContent(532,1921); timeHighAllBarrelASlots__3->SetBinContent(533,1814); timeHighAllBarrelASlots__3->SetBinContent(534,1520); timeHighAllBarrelASlots__3->SetBinContent(535,1396); timeHighAllBarrelASlots__3->SetBinContent(536,1253); timeHighAllBarrelASlots__3->SetBinContent(537,1129); timeHighAllBarrelASlots__3->SetBinContent(538,1047); timeHighAllBarrelASlots__3->SetBinContent(539,988); timeHighAllBarrelASlots__3->SetBinContent(540,841); timeHighAllBarrelASlots__3->SetBinContent(541,791); timeHighAllBarrelASlots__3->SetBinContent(542,671); timeHighAllBarrelASlots__3->SetBinContent(543,594); timeHighAllBarrelASlots__3->SetBinContent(544,578); timeHighAllBarrelASlots__3->SetBinContent(545,493); timeHighAllBarrelASlots__3->SetBinContent(546,447); timeHighAllBarrelASlots__3->SetBinContent(547,410); timeHighAllBarrelASlots__3->SetBinContent(548,370); timeHighAllBarrelASlots__3->SetBinContent(549,293); timeHighAllBarrelASlots__3->SetBinContent(550,265); timeHighAllBarrelASlots__3->SetBinContent(551,284); timeHighAllBarrelASlots__3->SetBinContent(552,254); timeHighAllBarrelASlots__3->SetBinContent(553,208); timeHighAllBarrelASlots__3->SetBinContent(554,201); timeHighAllBarrelASlots__3->SetBinContent(555,163); timeHighAllBarrelASlots__3->SetBinContent(556,152); timeHighAllBarrelASlots__3->SetBinContent(557,148); timeHighAllBarrelASlots__3->SetBinContent(558,113); timeHighAllBarrelASlots__3->SetBinContent(559,91); timeHighAllBarrelASlots__3->SetBinContent(560,114); timeHighAllBarrelASlots__3->SetBinContent(561,89); timeHighAllBarrelASlots__3->SetBinContent(562,79); timeHighAllBarrelASlots__3->SetBinContent(563,64); timeHighAllBarrelASlots__3->SetBinContent(564,62); timeHighAllBarrelASlots__3->SetBinContent(565,68); timeHighAllBarrelASlots__3->SetBinContent(566,49); timeHighAllBarrelASlots__3->SetBinContent(567,46); timeHighAllBarrelASlots__3->SetBinContent(568,48); timeHighAllBarrelASlots__3->SetBinContent(569,48); timeHighAllBarrelASlots__3->SetBinContent(570,56); timeHighAllBarrelASlots__3->SetBinContent(571,41); timeHighAllBarrelASlots__3->SetBinContent(572,42); timeHighAllBarrelASlots__3->SetBinContent(573,36); timeHighAllBarrelASlots__3->SetBinContent(574,36); timeHighAllBarrelASlots__3->SetBinContent(575,26); timeHighAllBarrelASlots__3->SetBinContent(576,26); timeHighAllBarrelASlots__3->SetBinContent(577,19); timeHighAllBarrelASlots__3->SetBinContent(578,25); timeHighAllBarrelASlots__3->SetBinContent(579,17); timeHighAllBarrelASlots__3->SetBinContent(580,25); timeHighAllBarrelASlots__3->SetBinContent(581,25); timeHighAllBarrelASlots__3->SetBinContent(582,16); timeHighAllBarrelASlots__3->SetBinContent(583,9); timeHighAllBarrelASlots__3->SetBinContent(584,17); timeHighAllBarrelASlots__3->SetBinContent(585,18); timeHighAllBarrelASlots__3->SetBinContent(586,21); timeHighAllBarrelASlots__3->SetBinContent(587,17); timeHighAllBarrelASlots__3->SetBinContent(588,8); timeHighAllBarrelASlots__3->SetBinContent(589,12); timeHighAllBarrelASlots__3->SetBinContent(590,10); timeHighAllBarrelASlots__3->SetBinContent(591,10); timeHighAllBarrelASlots__3->SetBinContent(592,11); timeHighAllBarrelASlots__3->SetBinContent(593,8); timeHighAllBarrelASlots__3->SetBinContent(594,7); timeHighAllBarrelASlots__3->SetBinContent(595,3); timeHighAllBarrelASlots__3->SetBinContent(596,5); timeHighAllBarrelASlots__3->SetBinContent(597,1); timeHighAllBarrelASlots__3->SetBinContent(598,6); timeHighAllBarrelASlots__3->SetBinContent(599,5); timeHighAllBarrelASlots__3->SetBinContent(600,1); timeHighAllBarrelASlots__3->SetBinContent(601,3); timeHighAllBarrelASlots__3->SetBinContent(602,1); timeHighAllBarrelASlots__3->SetBinContent(603,2); timeHighAllBarrelASlots__3->SetBinContent(604,5); timeHighAllBarrelASlots__3->SetBinContent(605,4); timeHighAllBarrelASlots__3->SetBinContent(606,1); timeHighAllBarrelASlots__3->SetBinContent(607,1); timeHighAllBarrelASlots__3->SetBinContent(608,2); timeHighAllBarrelASlots__3->SetBinContent(609,2); timeHighAllBarrelASlots__3->SetBinContent(610,1); timeHighAllBarrelASlots__3->SetBinContent(611,3); timeHighAllBarrelASlots__3->SetBinContent(613,2); timeHighAllBarrelASlots__3->SetBinContent(616,1); timeHighAllBarrelASlots__3->SetBinContent(617,1); timeHighAllBarrelASlots__3->SetBinContent(618,1); timeHighAllBarrelASlots__3->SetBinContent(622,1); timeHighAllBarrelASlots__3->SetBinContent(629,1); timeHighAllBarrelASlots__3->SetBinContent(635,1); timeHighAllBarrelASlots__3->SetBinContent(636,1); timeHighAllBarrelASlots__3->SetBinContent(640,1); timeHighAllBarrelASlots__3->SetBinContent(647,1); timeHighAllBarrelASlots__3->SetBinContent(652,1); timeHighAllBarrelASlots__3->SetBinContent(660,1); timeHighAllBarrelASlots__3->SetBinContent(661,1); timeHighAllBarrelASlots__3->SetBinContent(671,1); timeHighAllBarrelASlots__3->SetBinContent(672,1); timeHighAllBarrelASlots__3->SetBinContent(674,1); timeHighAllBarrelASlots__3->SetBinContent(678,2); timeHighAllBarrelASlots__3->SetBinContent(680,2); timeHighAllBarrelASlots__3->SetBinContent(684,2); timeHighAllBarrelASlots__3->SetBinContent(687,1); timeHighAllBarrelASlots__3->SetBinContent(689,2); timeHighAllBarrelASlots__3->SetBinContent(690,1); timeHighAllBarrelASlots__3->SetBinContent(695,1); timeHighAllBarrelASlots__3->SetBinContent(698,1); timeHighAllBarrelASlots__3->SetBinContent(700,1); timeHighAllBarrelASlots__3->SetBinContent(702,1); timeHighAllBarrelASlots__3->SetBinContent(706,1); timeHighAllBarrelASlots__3->SetBinContent(711,1); timeHighAllBarrelASlots__3->SetBinContent(713,1); timeHighAllBarrelASlots__3->SetBinContent(717,1); timeHighAllBarrelASlots__3->SetBinContent(718,1); timeHighAllBarrelASlots__3->SetBinContent(720,1); timeHighAllBarrelASlots__3->SetBinContent(730,1); timeHighAllBarrelASlots__3->SetBinContent(732,1); timeHighAllBarrelASlots__3->SetBinContent(736,1); timeHighAllBarrelASlots__3->SetBinContent(737,1); timeHighAllBarrelASlots__3->SetBinContent(742,1); timeHighAllBarrelASlots__3->SetBinContent(757,1); timeHighAllBarrelASlots__3->SetBinContent(761,1); timeHighAllBarrelASlots__3->SetBinContent(790,1); timeHighAllBarrelASlots__3->SetBinContent(800,1); timeHighAllBarrelASlots__3->SetEntries(394551); timeHighAllBarrelASlots__3->SetDirectory(0); TPaveStats *ptstats = new TPaveStats(0.627451,0.7511312,0.8536953,0.8974359,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetFillStyle(1); ptstats->SetTextAlign(12); TText *text = ptstats->AddText("Entries = 394551 "); text = ptstats->AddText("Mean = 0.002715"); text = ptstats->AddText("RMS = 0.3814"); text = ptstats->AddText("Constant = 8525 #pm 17.3 "); text = ptstats->AddText("Mean = 0.0001666 #pm 0.0005875 "); text = ptstats->AddText("Sigma = 0.3675 #pm 0.0005 "); ptstats->SetOptStat(1110); ptstats->SetOptFit(11); ptstats->Draw(); timeHighAllBarrelASlots__3->GetListOfFunctions()->Add(ptstats); ptstats->SetParent(timeHighAllBarrelASlots__3); TF1 *gaus = new TF1("gaus","gaus",-2,2); gaus->SetFillColor(19); gaus->SetFillStyle(0); gaus->SetMarkerStyle(20); gaus->SetMarkerSize(1.2); Int_t ci; // for color index setting ci = TColor::GetColor("#ff0000"); gaus->SetLineColor(ci); gaus->SetLineWidth(3); gaus->SetLineStyle(2); gaus->SetChisquare(1795.362); gaus->SetNDF(191); gaus->GetXaxis()->SetLabelFont(42); gaus->GetXaxis()->SetLabelSize(0.05); gaus->GetXaxis()->SetTitleSize(0.05); gaus->GetXaxis()->SetTitleFont(42); gaus->GetYaxis()->SetLabelFont(42); gaus->GetYaxis()->SetLabelSize(0.05); gaus->GetYaxis()->SetTitleSize(0.05); gaus->GetYaxis()->SetTitleFont(42); gaus->SetParameter(0,8524.9); gaus->SetParError(0,17.30948); gaus->SetParLimits(0,0,0); gaus->SetParameter(1,0.0001666044); gaus->SetParError(1,0.0005874869); gaus->SetParLimits(1,0,0); gaus->SetParameter(2,0.3674803); gaus->SetParError(2,0.0004613049); gaus->SetParLimits(2,0,3.760705); timeHighAllBarrelASlots__3->GetListOfFunctions()->Add(gaus); timeHighAllBarrelASlots__3->SetLineColor(42); timeHighAllBarrelASlots__3->SetLineWidth(2); timeHighAllBarrelASlots__3->SetMarkerStyle(20); timeHighAllBarrelASlots__3->SetMarkerSize(1.2); timeHighAllBarrelASlots__3->GetXaxis()->SetTitle("Time [ns]"); timeHighAllBarrelASlots__3->GetXaxis()->SetLabelFont(42); timeHighAllBarrelASlots__3->GetXaxis()->SetLabelSize(0.05); timeHighAllBarrelASlots__3->GetXaxis()->SetTitleSize(0.05); timeHighAllBarrelASlots__3->GetXaxis()->SetTitleFont(42); timeHighAllBarrelASlots__3->GetYaxis()->SetTitle("Entries/20 ps"); timeHighAllBarrelASlots__3->GetYaxis()->SetLabelFont(42); timeHighAllBarrelASlots__3->GetYaxis()->SetLabelSize(0.05); timeHighAllBarrelASlots__3->GetYaxis()->SetTitleSize(0.05); timeHighAllBarrelASlots__3->GetYaxis()->SetTitleFont(42); timeHighAllBarrelASlots__3->GetZaxis()->SetLabelFont(42); timeHighAllBarrelASlots__3->GetZaxis()->SetLabelSize(0.05); timeHighAllBarrelASlots__3->GetZaxis()->SetTitleSize(0.05); timeHighAllBarrelASlots__3->GetZaxis()->SetTitleFont(42); timeHighAllBarrelASlots__3->Draw(""); c1->Modified(); c1->cd(); c1->SetSelected(c1); }