A sample code for RooFit provied by G. Cerizza