Changeset 12320 for trunk/FACT++
- Timestamp:
- 10/28/11 21:49:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r12295 r12320 2624 2624 if (fGraphRateScan[0].GetN()==0 || th<=fGraphRateScan[0].GetX()[0]) 2625 2625 { 2626 for (int i=0; i<201; i++) 2627 fGraphRateScan[i].Set(0); 2628 2629 h->SetBins(1, th-10, th+10); 2626 h->SetBins(1, th<10 ? 0 : th-10, th+10); 2630 2627 h->SetMinimum(1); 2631 2628 h->SetMaximum(rates[0]*2); 2632 2629 2630 for (int i=0; i<201; i++) 2631 { 2632 fGraphRateScan[i].Set(0); 2633 fGraphRateScan[i].SetPoint(fGraphRateScan[i].GetN(), th, rates[i]); 2634 } 2635 2633 2636 c->SetGrid(); 2634 2637 c->SetLogy(); 2635 2636 for (int i=0; i<201; i++)2637 fGraphRateScan[i].SetPoint(fGraphRateScan[i].GetN(), th, rates[i]);2638 2638 2639 2639 c->Modified();
Note:
See TracChangeset
for help on using the changeset viewer.