Dear all
I was playing around with RooUnblindOffset in Root 5.34. When I execute the following script, I can easily access the blinded parameter via getVal(), although this should not be possible (if I understood the description correctly). Is this expected?
Thanks in advance
Michel
[code]RooRealVar x(“x”,“x”, -10,10);
RooRealVar mean(“mean”, “mean”, 0, -10.0, 10.0);
RooRealVar sigma(“sigma”,“sigma”, 1.0, 0.0, 10.0);
RooGaussian gauss(“gauss”,“gauss”, x, mean, sigma);
RooDataSet* ds = gauss.generate(x, 1000);
RooUnblindOffset meanUB(“meanUB”, “meanUB”, “a string”, 0.5, mean);
RooUnblindOffset sigmaUB(“sigmaUB”,“sigmaUB”, “a different string”, 0.5, sigma);
RooGaussian gaussUB(“gaussUB”,“gauss”, x, meanUB, sigmaUB);
gaussUB.fitTo( *ds, RooFit::Minos( true ) );
std::cout << mean.getVal() << std::endl;
std::cout << meanUB.getVal() << std::endl;
[/code]