Inverted RooLandau

Hi,
I’d like to invert the standard RooLandau p.d.f. in RooFit with respect to the x axis, but I have no clue of where to start… Help please!

Cheers,
Andrea

Hi,

If you want to make the transformation x --> -x, you can simply
do the following

// RooRealVars x,mean,sigma assumed to be previously defined
RooFormulaVar fx(“fx”,"-1*x",x) ;
RooLandau lan(“lan”,“lan”,fx,mean,sigma) ;

Wouter