{ //=========Macro generated from canvas: c1/c1 //========= (Mon Nov 13 13:29:14 2017) by ROOT version5.34/32 TCanvas *c1 = new TCanvas("c1", "c1",358,132,700,502); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c1->Range(-17.66667,-2.531643,115.6667,263.2911); c1->SetFillColor(0); c1->SetBorderMode(0); c1->SetBorderSize(2); c1->SetTickx(1); c1->SetTicky(1); c1->SetLeftMargin(0.14); c1->SetRightMargin(0.08); c1->SetTopMargin(0.05); c1->SetBottomMargin(0.16); c1->SetFrameLineWidth(2); c1->SetFrameBorderMode(0); c1->SetFrameLineWidth(2); c1->SetFrameBorderMode(0); TH2F *htemp__1 = new TH2F("htemp__1","ic1_1:(eventid_1-45000) {beamon==1&&eventid_1>45000&&eventid_1<45100}",40,1,105,40,40,250); htemp__1->SetDirectory(0); htemp__1->SetStats(0); htemp__1->SetLineWidth(2); htemp__1->SetMarkerStyle(21); htemp__1->GetXaxis()->SetTitle("time / 100 #musec"); htemp__1->GetXaxis()->SetRange(1,40); htemp__1->GetXaxis()->SetNdivisions(505); htemp__1->GetXaxis()->SetLabelFont(22); htemp__1->GetXaxis()->SetLabelOffset(0.015); htemp__1->GetXaxis()->SetLabelSize(0.05); htemp__1->GetXaxis()->SetTitleSize(0.06); htemp__1->GetXaxis()->SetTitleFont(22); htemp__1->GetYaxis()->SetTitle("A_{IC} / nA"); htemp__1->GetYaxis()->SetRange(1,40); htemp__1->GetYaxis()->SetLabelFont(22); htemp__1->GetYaxis()->SetLabelSize(0.05); htemp__1->GetYaxis()->SetTitleSize(0.06); htemp__1->GetYaxis()->SetTitleFont(22); htemp__1->GetZaxis()->SetLabelFont(22); htemp__1->GetZaxis()->SetLabelSize(0.05); htemp__1->GetZaxis()->SetTitleSize(0.06); htemp__1->GetZaxis()->SetTitleFont(22); htemp__1->Draw(""); TGraph *graph = new TGraph(99); graph->SetName("Graph0"); graph->SetTitle("Graph"); graph->SetLineWidth(2); graph->SetMarkerStyle(21); graph->SetMarkerSize(0.7); graph->SetPoint(0,1,94.48558556); graph->SetPoint(1,2,110.9947334); graph->SetPoint(2,3,142.2376954); graph->SetPoint(3,4,152.773282); graph->SetPoint(4,5,109.5359039); graph->SetPoint(5,6,122.039637); graph->SetPoint(6,7,94.04175216); graph->SetPoint(7,8,113.7850631); graph->SetPoint(8,9,170.8685886); graph->SetPoint(9,10,133.724825); graph->SetPoint(10,11,102.6128302); graph->SetPoint(11,12,64.95974958); graph->SetPoint(12,13,117.2156772); graph->SetPoint(13,14,114.2980182); graph->SetPoint(14,15,127.1255314); graph->SetPoint(15,16,147.62918); graph->SetPoint(16,17,54.79887477); graph->SetPoint(17,18,102.9293344); graph->SetPoint(18,19,86.79853636); graph->SetPoint(19,20,97.15222404); graph->SetPoint(20,21,209.416612); graph->SetPoint(21,22,164.7131284); graph->SetPoint(22,23,159.6345101); graph->SetPoint(23,24,83.05505617); graph->SetPoint(24,25,65.40358299); graph->SetPoint(25,26,128.9008651); graph->SetPoint(26,27,115.4403435); graph->SetPoint(27,28,134.6052159); graph->SetPoint(28,29,175.7580321); graph->SetPoint(29,30,94.74024409); graph->SetPoint(30,31,84.19738151); graph->SetPoint(31,32,142.0412445); graph->SetPoint(32,33,116.9573807); graph->SetPoint(33,34,129.1482477); graph->SetPoint(34,35,99.18585418); graph->SetPoint(35,36,126.6125764); graph->SetPoint(36,37,138.6397343); graph->SetPoint(37,38,74.10199033); graph->SetPoint(38,39,120.0751285); graph->SetPoint(39,40,118.4271241); graph->SetPoint(40,41,127.1837391); graph->SetPoint(41,42,169.2824298); graph->SetPoint(42,43,162.9377948); graph->SetPoint(43,44,100.073521); graph->SetPoint(44,45,104.8319973); graph->SetPoint(45,46,124.6444299); graph->SetPoint(46,47,87.56251191); graph->SetPoint(47,48,157.1534085); graph->SetPoint(48,49,138.6142685); graph->SetPoint(49,50,156.1347745); graph->SetPoint(50,51,152.4531399); graph->SetPoint(51,52,132.4515324); graph->SetPoint(52,53,93.84893929); graph->SetPoint(53,54,106.6146069); graph->SetPoint(54,55,177.7225406); graph->SetPoint(55,56,118.612661); graph->SetPoint(56,57,99.88434614); graph->SetPoint(57,58,98.4837243); graph->SetPoint(58,59,111.0565791); graph->SetPoint(59,60,158.9942258); graph->SetPoint(60,61,106.1671355); graph->SetPoint(61,62,114.9273885); graph->SetPoint(62,63,99.88070817); graph->SetPoint(63,64,117.4666977); graph->SetPoint(64,65,133.2737156); graph->SetPoint(65,66,153.9156074); graph->SetPoint(66,67,109.9797373); graph->SetPoint(67,68,141.0226105); graph->SetPoint(68,69,121.4648364); graph->SetPoint(69,70,86.4820322); graph->SetPoint(70,71,132.517016); graph->SetPoint(71,72,125.9104466); graph->SetPoint(72,73,90.03997548); graph->SetPoint(73,74,95.3732524); graph->SetPoint(74,75,135.1800166); graph->SetPoint(75,76,157.2843758); graph->SetPoint(76,77,91.05497156); graph->SetPoint(77,78,106.8656275); graph->SetPoint(78,79,170.301064); graph->SetPoint(79,80,124.5171007); graph->SetPoint(80,81,96.96304914); graph->SetPoint(81,82,137.7848093); graph->SetPoint(82,83,237.5454641); graph->SetPoint(83,84,153.3480826); graph->SetPoint(84,85,81.6580723); graph->SetPoint(85,86,84.13189789); graph->SetPoint(86,87,92.89578883); graph->SetPoint(87,88,111.3767212); graph->SetPoint(88,89,112.0133675); graph->SetPoint(89,90,70.03473001); graph->SetPoint(90,91,147.9493222); graph->SetPoint(91,92,92.89578884); graph->SetPoint(92,93,86.22737369); graph->SetPoint(93,94,81.27608453); graph->SetPoint(94,95,197.6732164); graph->SetPoint(95,96,163.8254617); graph->SetPoint(96,97,130.290573); graph->SetPoint(97,98,121.6649253); graph->SetPoint(98,99,87.62435755); TH1F *Graph_Graph1 = new TH1F("Graph_Graph1","Graph",100,0,108.8); Graph_Graph1->SetMinimum(36.52422); Graph_Graph1->SetMaximum(255.8201); Graph_Graph1->SetDirectory(0); Graph_Graph1->SetStats(0); Graph_Graph1->SetLineWidth(2); Graph_Graph1->SetMarkerStyle(21); Graph_Graph1->GetXaxis()->SetNdivisions(505); Graph_Graph1->GetXaxis()->SetLabelFont(22); Graph_Graph1->GetXaxis()->SetLabelOffset(0.015); Graph_Graph1->GetXaxis()->SetLabelSize(0.05); Graph_Graph1->GetXaxis()->SetTitleSize(0.06); Graph_Graph1->GetXaxis()->SetTitleFont(22); Graph_Graph1->GetYaxis()->SetLabelFont(22); Graph_Graph1->GetYaxis()->SetLabelSize(0.05); Graph_Graph1->GetYaxis()->SetTitleSize(0.06); Graph_Graph1->GetYaxis()->SetTitleFont(22); Graph_Graph1->GetZaxis()->SetLabelFont(22); Graph_Graph1->GetZaxis()->SetLabelSize(0.05); Graph_Graph1->GetZaxis()->SetTitleSize(0.06); Graph_Graph1->GetZaxis()->SetTitleFont(22); graph->SetHistogram(Graph_Graph1); graph->Draw("PL"); graph = new TGraph(99); graph->SetName("Graph1"); graph->SetTitle("Graph"); graph->SetLineColor(2); graph->SetLineStyle(2); graph->SetLineWidth(2); graph->SetMarkerColor(2); graph->SetMarkerStyle(21); graph->SetMarkerSize(0.7); graph->SetPoint(0,1,90.00723367); graph->SetPoint(1,2,102.0234777); graph->SetPoint(2,3,163.0469342); graph->SetPoint(3,4,148.6114343); graph->SetPoint(4,5,121.7267709); graph->SetPoint(5,6,126.4925231); graph->SetPoint(6,7,93.24867278); graph->SetPoint(7,8,110.030669); graph->SetPoint(8,9,157.2625479); graph->SetPoint(9,10,137.4864951); graph->SetPoint(10,11,97.7634045); graph->SetPoint(11,12,68.0120138); graph->SetPoint(12,13,107.3603926); graph->SetPoint(13,14,119.3075149); graph->SetPoint(14,15,124.5207386); graph->SetPoint(15,16,160.6313162); graph->SetPoint(16,17,52.82345228); graph->SetPoint(17,18,112.5736163); graph->SetPoint(18,19,97.06491256); graph->SetPoint(19,20,114.8582669); graph->SetPoint(20,21,200.7363946); graph->SetPoint(21,22,172.4547474); graph->SetPoint(22,23,162.7195161); graph->SetPoint(23,24,75.51716408); graph->SetPoint(24,25,60.89248927); graph->SetPoint(25,26,117.2156772); graph->SetPoint(26,27,117.0847099); graph->SetPoint(27,28,142.2595233); graph->SetPoint(28,29,174.1718734); graph->SetPoint(29,30,78.43482308); graph->SetPoint(30,31,79.96277418); graph->SetPoint(31,32,131.0691005); graph->SetPoint(32,33,117.4048521); graph->SetPoint(33,34,122.4252628); graph->SetPoint(34,35,98.84024623); graph->SetPoint(35,36,132.1459422); graph->SetPoint(36,37,149.6628101); graph->SetPoint(37,38,71.12976163); graph->SetPoint(38,39,106.0288923); graph->SetPoint(39,40,128.908141); graph->SetPoint(40,41,127.1910151); graph->SetPoint(41,42,169.3988452); graph->SetPoint(42,43,176.7693903); graph->SetPoint(43,44,106.1525836); graph->SetPoint(44,45,99.73518899); graph->SetPoint(45,46,131.2582753); graph->SetPoint(46,47,86.82764019); graph->SetPoint(47,48,168.0018614); graph->SetPoint(48,49,141.1754056); graph->SetPoint(49,50,158.1429387); graph->SetPoint(50,51,143.845682); graph->SetPoint(51,52,128.0786819); graph->SetPoint(52,53,92.36100597); graph->SetPoint(53,54,102.0198397); graph->SetPoint(54,55,190.4409146); graph->SetPoint(55,56,118.0342224); graph->SetPoint(56,57,95.2204573); graph->SetPoint(57,58,104.6901161); graph->SetPoint(58,59,106.7237463); graph->SetPoint(59,60,157.9610398); graph->SetPoint(60,61,98.07990864); graph->SetPoint(61,62,110.2234818); graph->SetPoint(62,63,91.53154678); graph->SetPoint(63,64,120.7081368); graph->SetPoint(64,65,136.1549948); graph->SetPoint(65,66,165.651727); graph->SetPoint(66,67,108.8847057); graph->SetPoint(67,68,148.8660928); graph->SetPoint(68,69,135.0708772); graph->SetPoint(69,70,86.12914826); graph->SetPoint(70,71,127.3801899); graph->SetPoint(71,72,119.3693607); graph->SetPoint(72,73,86.38380678); graph->SetPoint(73,74,88.29010767); graph->SetPoint(74,75,138.5706128); graph->SetPoint(75,76,142.2595233); graph->SetPoint(76,77,91.66251403); graph->SetPoint(77,78,100.4336809); graph->SetPoint(78,79,165.7172106); graph->SetPoint(79,80,135.9003363); graph->SetPoint(80,81,88.54476619); graph->SetPoint(81,82,135.958544); graph->SetPoint(82,83,229.5928426); graph->SetPoint(83,84,148.2985681); graph->SetPoint(84,85,79.64627003); graph->SetPoint(85,86,88.10093278); graph->SetPoint(86,87,95.4096322); graph->SetPoint(87,88,112.3844413); graph->SetPoint(88,89,117.2156772); graph->SetPoint(89,90,74.94236343); graph->SetPoint(90,91,189.2331056); graph->SetPoint(91,92,102.3981895); graph->SetPoint(92,93,92.10634744); graph->SetPoint(93,94,90.51655068); graph->SetPoint(94,95,198.5099516); graph->SetPoint(95,96,163.8036338); graph->SetPoint(96,97,129.7958079); graph->SetPoint(97,98,117.7832018); graph->SetPoint(98,99,90.13456293); TH1F *Graph_Graph2 = new TH1F("Graph_Graph2","Graph",100,0,108.8); Graph_Graph2->SetMinimum(35.14651); Graph_Graph2->SetMaximum(247.2698); Graph_Graph2->SetDirectory(0); Graph_Graph2->SetStats(0); Graph_Graph2->SetLineWidth(2); Graph_Graph2->SetMarkerStyle(21); Graph_Graph2->GetXaxis()->SetNdivisions(505); Graph_Graph2->GetXaxis()->SetLabelFont(22); Graph_Graph2->GetXaxis()->SetLabelOffset(0.015); Graph_Graph2->GetXaxis()->SetLabelSize(0.05); Graph_Graph2->GetXaxis()->SetTitleSize(0.06); Graph_Graph2->GetXaxis()->SetTitleFont(22); Graph_Graph2->GetYaxis()->SetLabelFont(22); Graph_Graph2->GetYaxis()->SetLabelSize(0.05); Graph_Graph2->GetYaxis()->SetTitleSize(0.06); Graph_Graph2->GetYaxis()->SetTitleFont(22); Graph_Graph2->GetZaxis()->SetLabelFont(22); Graph_Graph2->GetZaxis()->SetLabelSize(0.05); Graph_Graph2->GetZaxis()->SetTitleSize(0.06); Graph_Graph2->GetZaxis()->SetTitleFont(22); graph->SetHistogram(Graph_Graph2); graph->Draw("PL"); c1->Modified(); c1->cd(); c1->SetSelected(c1); }