void Pb_Run1009_Evt33809() { //=========Macro generated from canvas: c1/c1 //========= (Thu May 23 23:58:46 2019) by ROOT version 6.12/06 TCanvas *c1 = new TCanvas("c1", "c1",10,45,700,500); c1->Range(-0.7779633,-0.8292719,0.7779633,0.8292719); TView *view1 = TView::CreateView(1); view1->SetRange(0,0,0,9172,478,14.4); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTheta(8.545057); c1->SetPhi(-4.662531); c1->SetFrameBorderMode(0); TGraph2D *graph2d = new TGraph2D(103); graph2d->SetName("Graph2D"); graph2d->SetTitle("Tracks; X; Y; Z"); graph2d->SetPoint(0,1024,431,6.940779e-310); graph2d->SetPoint(1,1024,432,6.940779e-310); graph2d->SetPoint(2,2105,477,6.940779e-310); graph2d->SetPoint(3,2105,478,6.940779e-310); graph2d->SetPoint(4,3392,238,6.940779e-310); graph2d->SetPoint(5,3951,62,6.940779e-310); graph2d->SetPoint(6,3951,63,6.940779e-310); graph2d->SetPoint(7,3952,62,6.940779e-310); graph2d->SetPoint(8,3952,63,6.940779e-310); graph2d->SetPoint(9,4579,436,6.940779e-310); graph2d->SetPoint(10,4579,437,6.940779e-310); graph2d->SetPoint(11,4580,436,6.940779e-310); graph2d->SetPoint(12,4976,388,6.940779e-310); graph2d->SetPoint(13,4976,389,6.940779e-310); graph2d->SetPoint(14,5348,326,6.940779e-310); graph2d->SetPoint(15,5349,326,6.940779e-310); graph2d->SetPoint(16,5349,327,6.940779e-310); graph2d->SetPoint(17,5348,327,6.940779e-310); graph2d->SetPoint(18,5861,24,6.940779e-310); graph2d->SetPoint(19,5862,24,6.940779e-310); graph2d->SetPoint(20,6769,59,6.940779e-310); graph2d->SetPoint(21,7076,282,6.940779e-310); graph2d->SetPoint(22,7428,36,6.940779e-310); graph2d->SetPoint(23,7429,36,6.940779e-310); graph2d->SetPoint(24,7429,37,6.940779e-310); graph2d->SetPoint(25,7492,289,6.940779e-310); graph2d->SetPoint(26,7492,290,6.940779e-310); graph2d->SetPoint(27,7356,133,4.8); graph2d->SetPoint(28,7355,134,4.8); graph2d->SetPoint(29,7356,134,4.8); graph2d->SetPoint(30,5344,333,4.8); graph2d->SetPoint(31,5345,333,4.8); graph2d->SetPoint(32,5796,27,4.8); graph2d->SetPoint(33,5795,27,4.8); graph2d->SetPoint(34,4561,422,4.8); graph2d->SetPoint(35,4947,371,4.8); graph2d->SetPoint(36,4947,372,4.8); graph2d->SetPoint(37,4948,372,4.8); graph2d->SetPoint(38,60,71,4.8); graph2d->SetPoint(39,60,72,4.8); graph2d->SetPoint(40,61,71,4.8); graph2d->SetPoint(41,61,72,4.8); graph2d->SetPoint(42,143,364,4.8); graph2d->SetPoint(43,144,364,4.8); graph2d->SetPoint(44,144,365,4.8); graph2d->SetPoint(45,143,365,4.8); graph2d->SetPoint(46,666,149,4.8); graph2d->SetPoint(47,667,149,4.8); graph2d->SetPoint(48,985,348,4.8); graph2d->SetPoint(49,986,348,4.8); graph2d->SetPoint(50,5234,361,14.4); graph2d->SetPoint(51,5302,361,14.4); graph2d->SetPoint(52,5302,362,14.4); graph2d->SetPoint(53,5786,55,14.4); graph2d->SetPoint(54,5787,55,14.4); graph2d->SetPoint(55,4535,451,14.4); graph2d->SetPoint(56,4535,452,14.4); graph2d->SetPoint(57,4925,403,14.4); graph2d->SetPoint(58,4925,404,14.4); graph2d->SetPoint(59,9058,355,14.4); graph2d->SetPoint(60,9057,355,14.4); graph2d->SetPoint(61,9058,356,14.4); graph2d->SetPoint(62,9171,444,14.4); graph2d->SetPoint(63,9172,444,14.4); graph2d->SetPoint(64,9171,445,14.4); graph2d->SetPoint(65,167,312,9.6); graph2d->SetPoint(66,167,313,9.6); graph2d->SetPoint(67,583,184,9.6); graph2d->SetPoint(68,582,184,9.6); graph2d->SetPoint(69,1025,424,9.6); graph2d->SetPoint(70,1025,425,9.6); graph2d->SetPoint(71,1025,426,9.6); graph2d->SetPoint(72,1027,423,9.6); graph2d->SetPoint(73,1027,424,9.6); graph2d->SetPoint(74,1026,424,9.6); graph2d->SetPoint(75,1027,425,9.6); graph2d->SetPoint(76,1027,426,9.6); graph2d->SetPoint(77,1026,426,9.6); graph2d->SetPoint(78,1028,423,9.6); graph2d->SetPoint(79,1029,424,9.6); graph2d->SetPoint(80,1028,424,9.6); graph2d->SetPoint(81,1028,425,9.6); graph2d->SetPoint(82,4593,472,9.6); graph2d->SetPoint(83,4594,472,9.6); graph2d->SetPoint(84,4987,424,9.6); graph2d->SetPoint(85,4986,424,9.6); graph2d->SetPoint(86,4986,425,9.6); graph2d->SetPoint(87,4987,425,9.6); graph2d->SetPoint(88,5180,95,9.6); graph2d->SetPoint(89,5358,377,9.6); graph2d->SetPoint(90,5358,378,9.6); graph2d->SetPoint(91,5861,70,9.6); graph2d->SetPoint(92,6605,404,9.6); graph2d->SetPoint(93,6605,405,9.6); graph2d->SetPoint(94,6606,404,9.6); graph2d->SetPoint(95,6606,405,9.6); graph2d->SetPoint(96,7059,327,9.6); graph2d->SetPoint(97,7059,328,9.6); graph2d->SetPoint(98,7259,56,9.6); graph2d->SetPoint(99,7258,56,9.6); graph2d->SetPoint(100,7421,114,9.6); graph2d->SetPoint(101,7504,50,9.6); graph2d->SetPoint(102,7504,51,9.6); graph2d->GetXaxis()->SetTitle("x Pos. [Pixel]"); graph2d->GetXaxis()->SetTitleOffset(1.6); graph2d->GetXaxis()->SetLabelFont(132); graph2d->GetXaxis()->SetRangeUser(1000,2000); graph2d->GetXaxis()->SetTitleFont(132); graph2d->GetYaxis()->SetTitle("y Pos. [Pixel]"); graph2d->GetYaxis()->SetTitleOffset(1.8); graph2d->GetYaxis()->SetLabelFont(132); graph2d->GetYaxis()->SetTitleFont(132); graph2d->GetZaxis()->SetLabelFont(132); graph2d->GetZaxis()->SetTitleFont(132); graph2d->GetZaxis()->SetLabelSize(0.035); graph2d->GetZaxis()->SetTitleSize(0.035); graph2d->GetZaxis()->SetTitle("z Pos. [cm]"); graph2d->GetZaxis()->SetTitleOffset(1); graph2d->SetMarkerColor(2); graph2d->SetFillColor(100); graph2d->Draw("p0"); TPaveText *pt = new TPaveText(0.4355587,0.94,0.5644413,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *pt_LaTex = pt->AddText("Run 1009, Event 33809. pPb, 120GeV"); pt->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); }