{ //=========Macro generated from canvas: c1/c1 //========= (Thu May 31 15:28:46 2012) by ROOT version5.32/03 TCanvas *c1 = new TCanvas("c1", "c1",66,52,700,500); gStyle->SetOptTitle(0); c1->Range(-6.918919,-0.1907232,36.32432,0.4659043); 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,1209); timePhiProfHighEMBASlot11__1->SetBinEntries(2,1177); timePhiProfHighEMBASlot11__1->SetBinEntries(3,1264); timePhiProfHighEMBASlot11__1->SetBinEntries(4,1309); timePhiProfHighEMBASlot11__1->SetBinEntries(5,1287); timePhiProfHighEMBASlot11__1->SetBinEntries(6,1205); timePhiProfHighEMBASlot11__1->SetBinEntries(7,1220); timePhiProfHighEMBASlot11__1->SetBinEntries(8,1265); timePhiProfHighEMBASlot11__1->SetBinEntries(9,1261); timePhiProfHighEMBASlot11__1->SetBinEntries(10,1124); timePhiProfHighEMBASlot11__1->SetBinEntries(11,1302); timePhiProfHighEMBASlot11__1->SetBinEntries(12,1253); timePhiProfHighEMBASlot11__1->SetBinEntries(13,1296); timePhiProfHighEMBASlot11__1->SetBinEntries(14,1207); timePhiProfHighEMBASlot11__1->SetBinEntries(15,1192); timePhiProfHighEMBASlot11__1->SetBinEntries(16,1258); timePhiProfHighEMBASlot11__1->SetBinEntries(17,1186); timePhiProfHighEMBASlot11__1->SetBinEntries(18,1301); timePhiProfHighEMBASlot11__1->SetBinEntries(19,1204); timePhiProfHighEMBASlot11__1->SetBinEntries(20,1187); timePhiProfHighEMBASlot11__1->SetBinEntries(21,1152); timePhiProfHighEMBASlot11__1->SetBinEntries(22,1200); timePhiProfHighEMBASlot11__1->SetBinEntries(23,1146); timePhiProfHighEMBASlot11__1->SetBinEntries(24,1123); timePhiProfHighEMBASlot11__1->SetBinEntries(25,1164); timePhiProfHighEMBASlot11__1->SetBinEntries(26,1213); timePhiProfHighEMBASlot11__1->SetBinEntries(27,1118); timePhiProfHighEMBASlot11__1->SetBinEntries(28,1181); timePhiProfHighEMBASlot11__1->SetBinEntries(29,1183); timePhiProfHighEMBASlot11__1->SetBinEntries(30,1255); timePhiProfHighEMBASlot11__1->SetBinEntries(31,1298); timePhiProfHighEMBASlot11__1->SetBinEntries(32,1202); timePhiProfHighEMBASlot11__1->SetBinContent(1,154.552); timePhiProfHighEMBASlot11__1->SetBinContent(2,223.1264); timePhiProfHighEMBASlot11__1->SetBinContent(3,294.3973); timePhiProfHighEMBASlot11__1->SetBinContent(4,242.0313); timePhiProfHighEMBASlot11__1->SetBinContent(5,271.4414); timePhiProfHighEMBASlot11__1->SetBinContent(6,391.3306); timePhiProfHighEMBASlot11__1->SetBinContent(7,84.1116); timePhiProfHighEMBASlot11__1->SetBinContent(8,211.6379); timePhiProfHighEMBASlot11__1->SetBinContent(9,444.0842); timePhiProfHighEMBASlot11__1->SetBinContent(10,19.80632); timePhiProfHighEMBASlot11__1->SetBinContent(11,38.61051); timePhiProfHighEMBASlot11__1->SetBinContent(12,-58.39934); timePhiProfHighEMBASlot11__1->SetBinContent(13,507.5984); timePhiProfHighEMBASlot11__1->SetBinContent(14,141.6937); timePhiProfHighEMBASlot11__1->SetBinContent(15,246.2274); timePhiProfHighEMBASlot11__1->SetBinContent(16,228.2474); timePhiProfHighEMBASlot11__1->SetBinContent(17,304.5966); timePhiProfHighEMBASlot11__1->SetBinContent(18,130.4912); timePhiProfHighEMBASlot11__1->SetBinContent(19,337.8441); timePhiProfHighEMBASlot11__1->SetBinContent(20,28.71013); timePhiProfHighEMBASlot11__1->SetBinContent(21,212.1742); timePhiProfHighEMBASlot11__1->SetBinContent(22,307.089); timePhiProfHighEMBASlot11__1->SetBinContent(23,249.0249); timePhiProfHighEMBASlot11__1->SetBinContent(24,201.1549); timePhiProfHighEMBASlot11__1->SetBinContent(25,386.4263); timePhiProfHighEMBASlot11__1->SetBinContent(26,91.41899); timePhiProfHighEMBASlot11__1->SetBinContent(27,199.4657); timePhiProfHighEMBASlot11__1->SetBinContent(28,139.3685); timePhiProfHighEMBASlot11__1->SetBinContent(29,212.6212); timePhiProfHighEMBASlot11__1->SetBinContent(30,264.0671); timePhiProfHighEMBASlot11__1->SetBinContent(31,247.1753); timePhiProfHighEMBASlot11__1->SetBinContent(32,151.5786); timePhiProfHighEMBASlot11__1->SetBinError(1,20.99071); timePhiProfHighEMBASlot11__1->SetBinError(2,20.01448); timePhiProfHighEMBASlot11__1->SetBinError(3,22.94995); timePhiProfHighEMBASlot11__1->SetBinError(4,20.56997); timePhiProfHighEMBASlot11__1->SetBinError(5,21.69777); timePhiProfHighEMBASlot11__1->SetBinError(6,22.62514); timePhiProfHighEMBASlot11__1->SetBinError(7,19.86759); timePhiProfHighEMBASlot11__1->SetBinError(8,21.2953); timePhiProfHighEMBASlot11__1->SetBinError(9,22.57558); timePhiProfHighEMBASlot11__1->SetBinError(10,19.40516); timePhiProfHighEMBASlot11__1->SetBinError(11,21.16579); timePhiProfHighEMBASlot11__1->SetBinError(12,19.52862); timePhiProfHighEMBASlot11__1->SetBinError(13,25.83725); timePhiProfHighEMBASlot11__1->SetBinError(14,18.64466); timePhiProfHighEMBASlot11__1->SetBinError(15,19.98355); timePhiProfHighEMBASlot11__1->SetBinError(16,20.18703); timePhiProfHighEMBASlot11__1->SetBinError(17,21.80246); timePhiProfHighEMBASlot11__1->SetBinError(18,21.84622); timePhiProfHighEMBASlot11__1->SetBinError(19,21.89063); timePhiProfHighEMBASlot11__1->SetBinError(20,21.77928); timePhiProfHighEMBASlot11__1->SetBinError(21,19.49569); timePhiProfHighEMBASlot11__1->SetBinError(22,22.21927); timePhiProfHighEMBASlot11__1->SetBinError(23,20.13418); timePhiProfHighEMBASlot11__1->SetBinError(24,19.27768); timePhiProfHighEMBASlot11__1->SetBinError(25,23.81425); timePhiProfHighEMBASlot11__1->SetBinError(26,18.37385); timePhiProfHighEMBASlot11__1->SetBinError(27,20.24281); timePhiProfHighEMBASlot11__1->SetBinError(28,20.99336); timePhiProfHighEMBASlot11__1->SetBinError(29,22.36146); timePhiProfHighEMBASlot11__1->SetBinError(30,22.35613); timePhiProfHighEMBASlot11__1->SetBinError(31,21.93458); timePhiProfHighEMBASlot11__1->SetBinError(32,20.36978); timePhiProfHighEMBASlot11__1->SetEntries(38942); timePhiProfHighEMBASlot11__1->SetDirectory(0); TPaveStats *ptstats = new TPaveStats(0.78,0.795,0.98,0.995,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetFillStyle(1); ptstats->SetTextAlign(12); TText *text = ptstats->AddText("Entries = 38942 "); text = ptstats->AddText("Mean = 15.36"); text = ptstats->AddText("Mean y = 0.1773"); text = ptstats->AddText("RMS = 9.249"); text = ptstats->AddText("RMS y = 0.581"); 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); }