RooEffProd related question

Dear all,

Short question: Do you know a way to use a RooHistPdf instead of the RooFormulaVar, when declaring a RooEffProd ?

Many thanks!!

Stefanos

Hi,

The RooEffProd is the product of a pdf (passed as RooAbsPdf) and a function (passed as RooAbsReal).
Since a RooAbsPdf is also a RooAbsReal, you should be able to use the RooHIstPdf as a pdf or as a function.
Or you could use the RooHistFunc.

Lorenzo

You are absolutely right… Sorry for missing something that obvious…

Many thanks!