Changeset 1206 in svn for trunk/examples/ProcessingTime.C
- Timestamp:
- Jul 9, 2013, 11:58:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ProcessingTime.C
r1197 r1206 10 10 11 11 TGraphErrors gr; 12 TPaveText comment(0.20, 0.72, 0.50, 0.81, "brNDC"); 12 13 13 14 TCanvas *canvas; … … 80 81 currentDirectory->cd(); 81 82 82 for(i = 1; i < 8; ++i)83 for(i = 1; i < 9; ++i) 83 84 { 84 85 chain->Draw("Event.ProcTime >> time", TString::Format("Jet_size == %d", i+1)); … … 87 88 } 88 89 89 gr.GetXaxis()->SetLimits(1.0, 9.0);90 gr.GetXaxis()->SetLimits(1.0, 10.0); 90 91 gr.GetXaxis()->SetTitleOffset(1.5); 91 92 gr.GetYaxis()->SetTitleOffset(1.75); 92 gr.GetXaxis()->SetTitle(" number of jets");93 gr.GetXaxis()->SetTitle("jet multiplicity"); 93 94 gr.GetYaxis()->SetTitle("processing time per event, ms"); 94 gr.SetMarkerStyle(kFullDotMedium); 95 gr.SetMarkerStyle(kFullCircle); 96 gr.SetMarkerSize(1); 97 gr.SetLineWidth(2); 95 98 gr.Draw("AP"); 99 100 comment.SetTextSize(kExRootFontSize); 101 comment.SetTextFont(kExRootFont); 102 comment.SetTextAlign(22); 103 comment.SetFillColor(kExRootBackgroundColor); 104 comment.SetBorderSize(0); 105 comment.AddText("ttbar + jets events"); 106 comment.Draw(); 96 107 } 97 108
Note:
See TracChangeset
for help on using the changeset viewer.