Hi RooFitters,
Is there a way to retrieve the min and max values of a named range in RooFit? What I’m looking for might be appropriately called getRangeMin() and getRangeMax() and would do the following:
[code]RooRealVar x(“x”,“x”,0.,-1.,1.);
x.setRange(“myNamedRange”,-0.5,0.5);
double rangeMin = x.getRangeMin(“myNamedRange”);
double rangeMax = x.getRangeMax(“myNamedRange”);[/code]
where the values of rangeMin and rangeMax would be -0.5 and 0.5, respectively. Unfortunately, I can’t even think of a way to write my own function which could access these boundaries. Let me know if you have insight.
Thanks,
Etienne