Changeset 14755 for fact/tools
- Timestamp:
- 12/17/12 15:36:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pulse.C
r14748 r14755 72 72 ) 73 73 { 74 int fitMin = mHisto->GetXaxis()->Get First();75 int fitMax = mHisto->GetXaxis()->Get Last();74 int fitMin = mHisto->GetXaxis()->GetBinLowEdge( mHisto->GetXaxis()->GetFirst() ); 75 int fitMax = mHisto->GetXaxis()->GetBinUpEdge( mHisto->GetXaxis()->GetLast() ); 76 76 77 77 Fit( … … 272 272 { 273 273 mIntegral.first = mModel->Integral(mFitMin, mFitMax); 274 mIntegral.second = mModel->IntegralError(mFitMin, mFitMax); 274 275 mAmplitude.first = mModel->GetMaximum() - mBsl.first; 276 // mAmplitude.second = mModel->GetMaximum() - mBsl.first; 275 277 mFitProb = mFitResultPtr->Prob(); 276 278 mFitNCalls = mFitResultPtr->NCalls();
Note:
See TracChangeset
for help on using the changeset viewer.