Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-4580

RooDataSet reduce(Cut(mycut)) and Draw(myvar,mycut) give different results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.34/00
    • Fix Version/s: 6.22/00
    • Component/s: RooFit/RooStats
    • Labels:
      None
    • Environment:

      Mac OS

      Description

      Hi,

      I created a RootTalk thread on this (http://root.cern.ch/phpBB3/viewtopic.php?f=15&t=15448), but got no replies.

      I demonstrate in the simple script attached that RooFit's RooDataSet reduce(Cut(mycut)) and tree->Draw(myvar, mycut) give different numbers of entries, and also a binned version of the same RooDataSet give yet different numbers of entries. I would expect there might be a slight binning effect for the RooDataSet.

      It seems fishy that there would be different answers for the same binning, though.

      Have I done something terribly wrong?

      Cheers, Adam

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shageboe Stephan Hageboeck
                Reporter:
                adavis Adam Davis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: