{ //=========Macro generated from canvas: c1/c1 //========= (Tue Jul 3 14:24:22 2012) by ROOT version5.34/00 TCanvas *c1 = new TCanvas("c1", "c1",10,32,700,500); gStyle->SetOptTitle(0); c1->Range(-6.918919,-0.2075084,36.32432,0.2012531); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.16); c1->SetTopMargin(0.05); c1->SetBottomMargin(0.16); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TProfile *timePhiProfHighEMBASlot11__1 = new TProfile("timePhiProfHighEMBASlot11","Time Phi profile for High Gain for EMBASlot11",32,0,32,""); timePhiProfHighEMBASlot11__1->SetBinEntries(1,68027); timePhiProfHighEMBASlot11__1->SetBinEntries(2,63313); timePhiProfHighEMBASlot11__1->SetBinEntries(3,69439); timePhiProfHighEMBASlot11__1->SetBinEntries(4,68550); timePhiProfHighEMBASlot11__1->SetBinEntries(5,69255); timePhiProfHighEMBASlot11__1->SetBinEntries(6,66913); timePhiProfHighEMBASlot11__1->SetBinEntries(7,68299); timePhiProfHighEMBASlot11__1->SetBinEntries(8,68746); timePhiProfHighEMBASlot11__1->SetBinEntries(9,68877); timePhiProfHighEMBASlot11__1->SetBinEntries(10,61440); timePhiProfHighEMBASlot11__1->SetBinEntries(11,76058); timePhiProfHighEMBASlot11__1->SetBinEntries(12,68660); timePhiProfHighEMBASlot11__1->SetBinEntries(13,69078); timePhiProfHighEMBASlot11__1->SetBinEntries(14,67249); timePhiProfHighEMBASlot11__1->SetBinEntries(15,67486); timePhiProfHighEMBASlot11__1->SetBinEntries(16,66401); timePhiProfHighEMBASlot11__1->SetBinEntries(17,65215); timePhiProfHighEMBASlot11__1->SetBinEntries(18,68867); timePhiProfHighEMBASlot11__1->SetBinEntries(19,67167); timePhiProfHighEMBASlot11__1->SetBinEntries(20,65346); timePhiProfHighEMBASlot11__1->SetBinEntries(21,66729); timePhiProfHighEMBASlot11__1->SetBinEntries(22,65130); timePhiProfHighEMBASlot11__1->SetBinEntries(23,63381); timePhiProfHighEMBASlot11__1->SetBinEntries(24,60761); timePhiProfHighEMBASlot11__1->SetBinEntries(25,62462); timePhiProfHighEMBASlot11__1->SetBinEntries(26,63841); timePhiProfHighEMBASlot11__1->SetBinEntries(27,63798); timePhiProfHighEMBASlot11__1->SetBinEntries(28,64117); timePhiProfHighEMBASlot11__1->SetBinEntries(29,65979); timePhiProfHighEMBASlot11__1->SetBinEntries(30,65779); timePhiProfHighEMBASlot11__1->SetBinEntries(31,67033); timePhiProfHighEMBASlot11__1->SetBinEntries(32,65649); timePhiProfHighEMBASlot11__1->SetBinContent(1,-2165.712); timePhiProfHighEMBASlot11__1->SetBinContent(2,7496.677); timePhiProfHighEMBASlot11__1->SetBinContent(3,-5391.88); timePhiProfHighEMBASlot11__1->SetBinContent(4,2020.011); timePhiProfHighEMBASlot11__1->SetBinContent(5,7059.347); timePhiProfHighEMBASlot11__1->SetBinContent(6,10916.33); timePhiProfHighEMBASlot11__1->SetBinContent(7,4448.358); timePhiProfHighEMBASlot11__1->SetBinContent(8,3942.984); timePhiProfHighEMBASlot11__1->SetBinContent(9,-1828.914); timePhiProfHighEMBASlot11__1->SetBinContent(10,4844.42); timePhiProfHighEMBASlot11__1->SetBinContent(11,1099.7); timePhiProfHighEMBASlot11__1->SetBinContent(12,5092.895); timePhiProfHighEMBASlot11__1->SetBinContent(13,2841.816); timePhiProfHighEMBASlot11__1->SetBinContent(14,4568.624); timePhiProfHighEMBASlot11__1->SetBinContent(15,5486.15); timePhiProfHighEMBASlot11__1->SetBinContent(16,-8313.692); timePhiProfHighEMBASlot11__1->SetBinContent(17,7658.242); timePhiProfHighEMBASlot11__1->SetBinContent(18,8316.143); timePhiProfHighEMBASlot11__1->SetBinContent(19,3459.238); timePhiProfHighEMBASlot11__1->SetBinContent(20,5072.727); timePhiProfHighEMBASlot11__1->SetBinContent(21,-3802.859); timePhiProfHighEMBASlot11__1->SetBinContent(22,10077.23); timePhiProfHighEMBASlot11__1->SetBinContent(23,-797.4484); timePhiProfHighEMBASlot11__1->SetBinContent(24,1414.935); timePhiProfHighEMBASlot11__1->SetBinContent(25,-108.0711); timePhiProfHighEMBASlot11__1->SetBinContent(26,-973.29); timePhiProfHighEMBASlot11__1->SetBinContent(27,3180.951); timePhiProfHighEMBASlot11__1->SetBinContent(28,-3409.848); timePhiProfHighEMBASlot11__1->SetBinContent(29,4166.589); timePhiProfHighEMBASlot11__1->SetBinContent(30,-1351.672); timePhiProfHighEMBASlot11__1->SetBinContent(31,528.9577); timePhiProfHighEMBASlot11__1->SetBinContent(32,4016.03); timePhiProfHighEMBASlot11__1->SetBinError(1,158.7495); timePhiProfHighEMBASlot11__1->SetBinError(2,147.6386); timePhiProfHighEMBASlot11__1->SetBinError(3,159.428); timePhiProfHighEMBASlot11__1->SetBinError(4,140.451); timePhiProfHighEMBASlot11__1->SetBinError(5,154.0658); timePhiProfHighEMBASlot11__1->SetBinError(6,159.301); timePhiProfHighEMBASlot11__1->SetBinError(7,152.6225); timePhiProfHighEMBASlot11__1->SetBinError(8,152.9661); timePhiProfHighEMBASlot11__1->SetBinError(9,151.1719); timePhiProfHighEMBASlot11__1->SetBinError(10,147.1211); timePhiProfHighEMBASlot11__1->SetBinError(11,159.4645); timePhiProfHighEMBASlot11__1->SetBinError(12,154.0226); timePhiProfHighEMBASlot11__1->SetBinError(13,189.1433); timePhiProfHighEMBASlot11__1->SetBinError(14,141.9964); timePhiProfHighEMBASlot11__1->SetBinError(15,147.3081); timePhiProfHighEMBASlot11__1->SetBinError(16,153.3154); timePhiProfHighEMBASlot11__1->SetBinError(17,154.4663); timePhiProfHighEMBASlot11__1->SetBinError(18,157.3043); timePhiProfHighEMBASlot11__1->SetBinError(19,144.5852); timePhiProfHighEMBASlot11__1->SetBinError(20,156.5598); timePhiProfHighEMBASlot11__1->SetBinError(21,150.0366); timePhiProfHighEMBASlot11__1->SetBinError(22,153.1611); timePhiProfHighEMBASlot11__1->SetBinError(23,142.7246); timePhiProfHighEMBASlot11__1->SetBinError(24,144.1709); timePhiProfHighEMBASlot11__1->SetBinError(25,152.5502); timePhiProfHighEMBASlot11__1->SetBinError(26,135.6138); timePhiProfHighEMBASlot11__1->SetBinError(27,146.8498); timePhiProfHighEMBASlot11__1->SetBinError(28,161.1342); timePhiProfHighEMBASlot11__1->SetBinError(29,157.4063); timePhiProfHighEMBASlot11__1->SetBinError(30,151.645); timePhiProfHighEMBASlot11__1->SetBinError(31,148.235); timePhiProfHighEMBASlot11__1->SetBinError(32,149.7378); timePhiProfHighEMBASlot11__1->SetEntries(2129045); timePhiProfHighEMBASlot11__1->SetDirectory(0); TPaveStats *ptstats = new TPaveStats(0.9439655,0.9533898,0.9798851,0.9957627,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetFillStyle(1); ptstats->SetTextAlign(12); TText *text = ptstats->AddText("Entries = 2129045"); text = ptstats->AddText("Mean = 15.32"); text = ptstats->AddText("Mean y = 0.03737"); text = ptstats->AddText("RMS = 9.22"); text = ptstats->AddText("RMS y = 0.5905"); 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(""); c1->Modified(); c1->cd(); c1->SetSelected(c1); }