- Timestamp:
- 02/25/03 16:22:02 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1790 r1791 1 1 2 2 -*-*- END -*-*- 3 2003/02/25: Abelardo Moralejo 4 5 * mmontecarlo/MMcTriggerRateCalc.cc 6 - Added axis labels in graphic output. 7 3 8 2003/02/24: Abelardo Moralejo 4 9 -
trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc
r1790 r1791 384 384 fHist[i]->SetMarkerStyle(20); 385 385 fHist[i]->SetMarkerSize(.5); 386 fHist[i]->SetMaximum(1.2*GetRate(0)->GetTriggerRate()); 387 fHist[i]->SetMinimum(0.5*GetRate(fNum-1)->GetTriggerRate()); 388 } 386 } 387 388 c->DrawFrame (xmin, 0.5*GetRate(fNum-1)->GetTriggerRate(), xmax, 1.2*GetRate(0)->GetTriggerRate(), "Trigger rate for multiplicity = 3, 4, 5"); 389 390 c->SetLogy(); 391 c->SetGridy(); 392 c->SetGridx(); 389 393 390 394 fHist[2]->SetLineColor(1); 391 395 fHist[2]->SetMarkerColor(1); 392 fHist[2]->Draw(); 396 fHist[2]->SetMinimum(0.5*GetRate(fNum-1)->GetTriggerRate()); 397 fHist[2]->GetXaxis()->SetTitle("Discr. threshold (mV)"); 398 fHist[2]->GetYaxis()->SetTitle("Trigger rate (Hz)"); 399 fHist[2]->GetYaxis()->SetTitleOffset(1.2); 400 fHist[2]->Draw("axis"); 401 fHist[2]->Draw("same"); 393 402 394 403 fHist[3]->SetLineColor(3); … … 400 409 fHist[4]->SetMarkerColor(4); 401 410 402 c->SetLogy();403 c->SetGridy();404 c->SetGridx();405 406 411 return; 407 412 }
Note:
See TracChangeset
for help on using the changeset viewer.