Skip to content

ZFitter chi2 rooFit function not working for MC in 75X #33

@ldcorpe

Description

@ldcorpe

Hi,

There is some strange behaviour coming out of the chiSquared when applied to MC in the Fitter, here
https://github.com/ECALELFS/ECALELF/blob/master/ZFitter/src/ZFit_class.cc#L619

This produces a series of errors of the form:
[0] ERROR:InputArguments -- RooCurve::average(bw_res_Norm[invMass_SC]) invalid range (113.875,113.875)

I have checked already the name of the histogram and pdf, and this is consistent.
(MC_plot[invMass_SC] =(RooHist::h_s,RooCurve::bw_res_Norm[invMass_SC],TPaveText::bw_res_paramBox))

Anyway, the chi2 is not used directly for anything terribly urgent, and we can always implement by hand, so temporarily I am just commenting out the line so that we avoid being polluted by errors.

The Fitter seems to run fine otherwise,

Louie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions