Changeset 14962 for fact/tools/rootmacros/PulseTemplates/pulse.C
- Timestamp:
- 02/27/13 12:25:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pulse.C
r14946 r14962 245 245 mModel->SetParNames("BSL", "A0", "t0", "t1", "Tau1", "Tau2", "PhE"); 246 246 mModel->SetLineColor(kRed); 247 mModel->FixParameter(0, bsl); 247 248 248 249 mFitResultPtr = mHisto->Fit(mModel, fitOptions); … … 340 341 341 342 342 double para[] = {bsl, 2*amplitude+gain, start, tau*0. 1, tau, phe};343 double para[] = {bsl, 2*amplitude+gain, start, tau*0.5, tau, phe}; 343 344 mModel->SetParameters(para); 344 345 mModel->SetParNames("BSL", "A0", "t0", "Tau1", "Tau2", "PhE"); 345 346 mModel->SetLineColor(kBlue); 347 mModel->FixParameter(0, bsl); 348 mModel->FixParameter(1, 2*amplitude+gain); 346 349 347 350 // cout startvalues
Note:
See TracChangeset
for help on using the changeset viewer.