Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Low
-
Resolution: Fixed
-
Affects Version/s: 6.18/00
-
Component/s: RooFit/RooStats
-
Labels:None
-
Environment:
roofit using linux
Description
For the documentation of RooDataHist
about the "set" method
https://root.cern.ch/doc/master/classRooDataHist.html#a3053f0f1a21eb39bb2508be61e30d8b9
What is said by the documentation is wrong for sure (probably the guys made a copy/paste)
the set function is not doing "Increment the weight"
It "replaces" the weight by (as its name says, and as I have checked by testing it)