Fixed Monte-carlo integration
This commit is contained in:
parent
9395ab5467
commit
c63514999c
@ -89,7 +89,7 @@ res.print(out);
|
|||||||
|
|
||||||
//spectrum.counter.print(onComplete);
|
//spectrum.counter.print(onComplete);
|
||||||
//
|
//
|
||||||
//// fm.setPriorProb(new GaussianPrior("X", 0.47, 0.47*0.03));
|
//// fm.setPriorProb(new Gaussian("X", 0.47, 0.47*0.03));
|
||||||
//// fm.setPriorProb(new MultivariateGaussianPrior(allPars.getSubSet("X","trap")));
|
//// fm.setPriorProb(new MultivariateGaussianPrior(allPars.getSubSet("X","trap")));
|
||||||
//res = fm.runStage(res, "MINUIT", "run", "E0", "N", "bkg", "mnu2");
|
//res = fm.runStage(res, "MINUIT", "run", "E0", "N", "bkg", "mnu2");
|
||||||
////
|
////
|
||||||
|
@ -106,7 +106,7 @@ beta.setSuppressWarnings(true);
|
|||||||
|
|
||||||
BayesianConfidenceLimit bm = new BayesianConfidenceLimit();
|
BayesianConfidenceLimit bm = new BayesianConfidenceLimit();
|
||||||
// bm.setPriorProb(new OneSidedUniformPrior("trap", 0, true));
|
// bm.setPriorProb(new OneSidedUniformPrior("trap", 0, true));
|
||||||
// bm.setPriorProb(new GaussianPrior("trap", 1d, 0.002));
|
// bm.setPriorProb(new Gaussian("trap", 1d, 0.002));
|
||||||
// bm.printMarginalLikelihood(Out.onComplete,"U2", res);
|
// bm.printMarginalLikelihood(Out.onComplete,"U2", res);
|
||||||
|
|
||||||
FitState conf = bm.getConfidenceInterval("U2", res, ["U2", "N", "trap"]);
|
FitState conf = bm.getConfidenceInterval("U2", res, ["U2", "N", "trap"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user