Menu

#1 RooCurve invalid range

closed
None
5
2005-02-17
2002-11-04
No

After I think I reduced a TH2D (x,y) obejct to a TH1D (x),
I tried to narrow the x range with the frame() method.

I get theses messages:
RooCurve::average(curve_sumProjected) invalid range
(1.77,1.7725)
[...]
to end of the x range, 1.97.

If I keep the original x range, Roofit doesn't complain.

The macro is in
/afs/slac.stanford.edu/u/br/itaru/releases/root1223/workdir/myroofittest.C

Itaru Kitayama

Related

Discussion: Disabling optimization info messages
Discussion: Regarding PROBLEMS status in Minos

Discussion

  • Wouter Verkerke

    Wouter Verkerke - 2002-11-05

    Logged In: YES
    user_id=427309

    Hi Itaru,

    The warning messages are generated in the chiSquare
    calculation in your example. For each chi^2 contribution the
    PDF curve needs to be integrated over the bin width. The
    current implementation can only do that if the PDF curve has
    points that are exactly on the bin boundaries. In your
    example this is no longer the case if you change the frame
    range.

    Since each curve is guaranteed a 1e-3 precision, the
    boundary points can safely be determined from a linear
    interpolation from the nearest two points. I will commit a
    fix for this in the next days

    Wouter

     
  • Wouter Verkerke

    Wouter Verkerke - 2002-11-05
    • assigned_to: nobody --> wverkerke
     
  • Wouter Verkerke

    Wouter Verkerke - 2005-02-17
    • status: open --> closed
     
  • Wouter Verkerke

    Wouter Verkerke - 2005-02-17

    Logged In: YES
    user_id=427309

    Hi,

    This problem is fixed.

    Wouter

     
  • Itaru Kitayama

    Itaru Kitayama - 2005-02-21

    Logged In: YES
    user_id=639306

    Hi Wouter. Thanks for fixing it. -itaru

     

Log in to post a comment.

MongoDB Logo MongoDB