- Timestamp:
- 03/19/08 11:24:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r8882 r8884 290 290 } 291 291 292 const Double_t ofl = vstime->GetBinContent(vstime->GetNbinsX() );292 const Double_t ofl = vstime->GetBinContent(vstime->GetNbinsX()+1); 293 293 const Double_t eff = vstime->Integral()+ofl; 294 294 if (ofl>0) … … 335 335 const Float_t emin2 = chain.GetMaximum("MMcCorsikaRunHeader.fELowLim"); 336 336 *fLog << "found " << emin2 << "GeV" << endl; 337 338 // Need a check for the upper energy LIMIT?!? 337 339 338 340 if (emin2>emin) … … 558 560 // Calculate the Probability 559 561 temp1.Divide(&temp2); 560 temp1.Scale(1./temp1.Integral(1, temp1.GetNbinsX() ));562 temp1.Scale(1./temp1.Integral(1, temp1.GetNbinsX()+1)); 561 563 562 564 // Some cosmetics: Name, Axis, etc.
Note:
See TracChangeset
for help on using the changeset viewer.