Ignore:
Timestamp:
02/27/13 12:25:30 (12 years ago)
Author:
Jens Buss
Message:
bootstapping>: bin values extracted from bincenter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/PulseTemplates/pulse.C

    r14946 r14962  
    245245    mModel->SetParNames("BSL", "A0", "t0", "t1", "Tau1", "Tau2", "PhE");
    246246    mModel->SetLineColor(kRed);
     247    mModel->FixParameter(0, bsl);
    247248
    248249    mFitResultPtr   = mHisto->Fit(mModel, fitOptions);
     
    340341
    341342
    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};
    343344    mModel->SetParameters(para);
    344345    mModel->SetParNames("BSL", "A0", "t0", "Tau1", "Tau2", "PhE");
    345346    mModel->SetLineColor(kBlue);
     347    mModel->FixParameter(0, bsl);
     348    mModel->FixParameter(1, 2*amplitude+gain);
    346349
    347350    // cout startvalues
Note: See TracChangeset for help on using the changeset viewer.