Menu

#17 Use RooFormulaVar in RooAbsPdf

open
nobody
None
5
2011-04-13
2011-04-13
islisis
No

I have some RooFormulaVar objects I wish to use in a RooAbsPdf. Passing RooFormularVar
names in place of RooRealVar names in arguments works in RooGaussian etc, but not in formula expressions such as in RooGenericPdf (Error in <RooFormula::Compile>: Bad numerical expression) or RooAddPdf.

Using RooAbsPdf names apparently works in RooFormulaVar forumla expression, but not the other way round. Can an extension made to construct a new RooAbsPdf using RooFormulaVar objects? Or at the very least access RooAbsPdf names in formula expressions?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB