Problem getting the q_m with StandardHypoTestInvDemo.C

Hi

I am having problems plotting the test statistics with the StandardHypoTestInvDemo.C macro - My CLs plot is fine though

This is my output

[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot
[#0] ERROR:InputArguments -- RooUniformBinning::setRange: ERROR low bound > high bound
[#0] WARNING:InputArguments -- RooRealVar::setRange(xaxis): Proposed new fit max. smaller than min., setting max. to min.
[#0] ERROR:InputArguments -- RooAbsRealLValue::frame(xaxis) ERROR: empty fit range, must specify plot range
[#0] ERROR:InputArguments -- invalid variable to plot

thanks

Alex

Hi,

To understand your problem I would need the workspace and possibly also the macro you are using to try to plot the q_m distribution

Best Regards

Lorenzo