{ //=========Macro generated from canvas: c1/c1 //========= (Mon Jun 4 22:29:20 2012) by ROOT version5.32/03 TCanvas *c1 = new TCanvas("c1", "c1",65,24,1301,744); c1->Range(-6.3,-3.675614,36.93333,-0.1583629); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetLogy(); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.1457209); c1->SetRightMargin(0.1141095); c1->SetTopMargin(0.05710306); c1->SetBottomMargin(0.1518106); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TProfile *timePhiProfHighEMBASlot11__1 = new TProfile("timePhiProfHighEMBASlot11","EMBA Slot 11, HIGH gain",32,0,32,""); timePhiProfHighEMBASlot11__1->SetBinEntries(1,16063); timePhiProfHighEMBASlot11__1->SetBinEntries(2,14898); timePhiProfHighEMBASlot11__1->SetBinEntries(3,16425); timePhiProfHighEMBASlot11__1->SetBinEntries(4,16196); timePhiProfHighEMBASlot11__1->SetBinEntries(5,16362); timePhiProfHighEMBASlot11__1->SetBinEntries(6,15716); timePhiProfHighEMBASlot11__1->SetBinEntries(7,16070); timePhiProfHighEMBASlot11__1->SetBinEntries(8,15916); timePhiProfHighEMBASlot11__1->SetBinEntries(9,15219); timePhiProfHighEMBASlot11__1->SetBinEntries(10,13434); timePhiProfHighEMBASlot11__1->SetBinEntries(11,17623); timePhiProfHighEMBASlot11__1->SetBinEntries(12,15947); timePhiProfHighEMBASlot11__1->SetBinEntries(13,16119); timePhiProfHighEMBASlot11__1->SetBinEntries(14,15796); timePhiProfHighEMBASlot11__1->SetBinEntries(15,15486); timePhiProfHighEMBASlot11__1->SetBinEntries(16,15651); timePhiProfHighEMBASlot11__1->SetBinEntries(17,15370); timePhiProfHighEMBASlot11__1->SetBinEntries(18,16348); timePhiProfHighEMBASlot11__1->SetBinEntries(19,15670); timePhiProfHighEMBASlot11__1->SetBinEntries(20,15420); timePhiProfHighEMBASlot11__1->SetBinEntries(21,15465); timePhiProfHighEMBASlot11__1->SetBinEntries(22,15428); timePhiProfHighEMBASlot11__1->SetBinEntries(23,14936); timePhiProfHighEMBASlot11__1->SetBinEntries(24,14412); timePhiProfHighEMBASlot11__1->SetBinEntries(25,14917); timePhiProfHighEMBASlot11__1->SetBinEntries(26,15195); timePhiProfHighEMBASlot11__1->SetBinEntries(27,15095); timePhiProfHighEMBASlot11__1->SetBinEntries(28,15139); timePhiProfHighEMBASlot11__1->SetBinEntries(29,15591); timePhiProfHighEMBASlot11__1->SetBinEntries(30,15666); timePhiProfHighEMBASlot11__1->SetBinEntries(31,15927); timePhiProfHighEMBASlot11__1->SetBinEntries(32,15485); timePhiProfHighEMBASlot11__1->SetBinContent(1,469.7447); timePhiProfHighEMBASlot11__1->SetBinContent(2,1482.565); timePhiProfHighEMBASlot11__1->SetBinContent(3,165.9787); timePhiProfHighEMBASlot11__1->SetBinContent(4,1342.198); timePhiProfHighEMBASlot11__1->SetBinContent(5,2023.382); timePhiProfHighEMBASlot11__1->SetBinContent(6,3374.083); timePhiProfHighEMBASlot11__1->SetBinContent(7,675.3106); timePhiProfHighEMBASlot11__1->SetBinContent(8,1250.773); timePhiProfHighEMBASlot11__1->SetBinContent(9,2131.244); timePhiProfHighEMBASlot11__1->SetBinContent(10,472.5186); timePhiProfHighEMBASlot11__1->SetBinContent(11,-369.1783); timePhiProfHighEMBASlot11__1->SetBinContent(12,-310.2232); timePhiProfHighEMBASlot11__1->SetBinContent(13,3632.12); timePhiProfHighEMBASlot11__1->SetBinContent(14,1226.589); timePhiProfHighEMBASlot11__1->SetBinContent(15,1806.71); timePhiProfHighEMBASlot11__1->SetBinContent(16,-185.51); timePhiProfHighEMBASlot11__1->SetBinContent(17,2647.705); timePhiProfHighEMBASlot11__1->SetBinContent(18,1430.307); timePhiProfHighEMBASlot11__1->SetBinContent(19,1809.76); timePhiProfHighEMBASlot11__1->SetBinContent(20,99.47632); timePhiProfHighEMBASlot11__1->SetBinContent(21,362.0946); timePhiProfHighEMBASlot11__1->SetBinContent(22,2804.789); timePhiProfHighEMBASlot11__1->SetBinContent(23,794.005); timePhiProfHighEMBASlot11__1->SetBinContent(24,1316.238); timePhiProfHighEMBASlot11__1->SetBinContent(25,2151.437); timePhiProfHighEMBASlot11__1->SetBinContent(26,-319.3775); timePhiProfHighEMBASlot11__1->SetBinContent(27,1447.969); timePhiProfHighEMBASlot11__1->SetBinContent(28,-213.6476); timePhiProfHighEMBASlot11__1->SetBinContent(29,1024.598); timePhiProfHighEMBASlot11__1->SetBinContent(30,1265.024); timePhiProfHighEMBASlot11__1->SetBinContent(31,1014.762); timePhiProfHighEMBASlot11__1->SetBinContent(32,912.8614); timePhiProfHighEMBASlot11__1->SetBinError(1,75.16858); timePhiProfHighEMBASlot11__1->SetBinError(2,69.81874); timePhiProfHighEMBASlot11__1->SetBinError(3,76.77122); timePhiProfHighEMBASlot11__1->SetBinError(4,68.87204); timePhiProfHighEMBASlot11__1->SetBinError(5,74.42102); timePhiProfHighEMBASlot11__1->SetBinError(6,77.03285); timePhiProfHighEMBASlot11__1->SetBinError(7,71.18526); timePhiProfHighEMBASlot11__1->SetBinError(8,74.30557); timePhiProfHighEMBASlot11__1->SetBinError(9,74.64029); timePhiProfHighEMBASlot11__1->SetBinError(10,67.40934); timePhiProfHighEMBASlot11__1->SetBinError(11,77.85177); timePhiProfHighEMBASlot11__1->SetBinError(12,72.6737); timePhiProfHighEMBASlot11__1->SetBinError(13,92.72501); timePhiProfHighEMBASlot11__1->SetBinError(14,67.47277); timePhiProfHighEMBASlot11__1->SetBinError(15,70.35386); timePhiProfHighEMBASlot11__1->SetBinError(16,71.18989); timePhiProfHighEMBASlot11__1->SetBinError(17,75.9452); timePhiProfHighEMBASlot11__1->SetBinError(18,75.4119); timePhiProfHighEMBASlot11__1->SetBinError(19,71.6605); timePhiProfHighEMBASlot11__1->SetBinError(20,77.22402); timePhiProfHighEMBASlot11__1->SetBinError(21,69.69056); timePhiProfHighEMBASlot11__1->SetBinError(22,75.42756); timePhiProfHighEMBASlot11__1->SetBinError(23,68.68978); timePhiProfHighEMBASlot11__1->SetBinError(24,69.08246); timePhiProfHighEMBASlot11__1->SetBinError(25,77.91165); timePhiProfHighEMBASlot11__1->SetBinError(26,65.21609); timePhiProfHighEMBASlot11__1->SetBinError(27,72.31367); timePhiProfHighEMBASlot11__1->SetBinError(28,74.33005); timePhiProfHighEMBASlot11__1->SetBinError(29,75.75656); timePhiProfHighEMBASlot11__1->SetBinError(30,75.07211); timePhiProfHighEMBASlot11__1->SetBinError(31,73.35664); timePhiProfHighEMBASlot11__1->SetBinError(32,72.75798); timePhiProfHighEMBASlot11__1->SetEntries(498985); timePhiProfHighEMBASlot11__1->SetDirectory(0); TPaveStats *ptstats = new TPaveStats(0.7124133,0.2033426,0.8565921,0.3662953,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetFillStyle(1); ptstats->SetTextAlign(12); TText *text = ptstats->AddText("Entries = 498985 "); text = ptstats->AddText("Mean = 15.38"); text = ptstats->AddText("Mean y = 0.07563"); text = ptstats->AddText("RMS = 9.245"); text = ptstats->AddText("RMS y = 0.5849"); ptstats->SetOptStat(1110); ptstats->SetOptFit(0); ptstats->Draw(); timePhiProfHighEMBASlot11__1->GetListOfFunctions()->Add(ptstats); ptstats->SetParent(timePhiProfHighEMBASlot11__1); Int_t ci; // for color index setting ci = TColor::GetColor("#ff0000"); timePhiProfHighEMBASlot11__1->SetLineColor(ci); timePhiProfHighEMBASlot11__1->SetLineWidth(2); ci = TColor::GetColor("#ff0000"); timePhiProfHighEMBASlot11__1->SetMarkerColor(ci); timePhiProfHighEMBASlot11__1->SetMarkerStyle(20); timePhiProfHighEMBASlot11__1->SetMarkerSize(1.2); timePhiProfHighEMBASlot11__1->GetXaxis()->SetTitle("FT number"); timePhiProfHighEMBASlot11__1->GetXaxis()->SetLabelFont(42); timePhiProfHighEMBASlot11__1->GetXaxis()->SetLabelSize(0.05); timePhiProfHighEMBASlot11__1->GetXaxis()->SetTitleSize(0.05); timePhiProfHighEMBASlot11__1->GetXaxis()->SetTitleFont(42); timePhiProfHighEMBASlot11__1->GetYaxis()->SetTitle("Time [ns]"); timePhiProfHighEMBASlot11__1->GetYaxis()->SetLabelFont(42); timePhiProfHighEMBASlot11__1->GetYaxis()->SetLabelSize(0.05); timePhiProfHighEMBASlot11__1->GetYaxis()->SetTitleSize(0.05); timePhiProfHighEMBASlot11__1->GetYaxis()->SetTitleFont(42); timePhiProfHighEMBASlot11__1->GetZaxis()->SetLabelFont(42); timePhiProfHighEMBASlot11__1->GetZaxis()->SetLabelSize(0.05); timePhiProfHighEMBASlot11__1->GetZaxis()->SetTitleSize(0.05); timePhiProfHighEMBASlot11__1->GetZaxis()->SetTitleFont(42); timePhiProfHighEMBASlot11__1->Draw(""); TPaveText *pt = new TPaveText(0.382421,0.954039,0.6838859,0.9972145,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); text = pt->AddText("EMBA Slot 11, HIGH gain"); pt->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }