'Hypothesis Test Inversion' RooStats tutorial macro #801
This tutorial shows an example of using the HypoTestInverterOriginal class
Processing /mnt/build/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/tutorials/roostats/rs801_HypoTestInverterOriginal.C...
void rs801_HypoTestInverterOriginal()
{
myhc.SetTestStatistic(2);
myhc.SetNumberOfToys(1000);
myhc.UseNuisance(false);
myInverter.SetTestSize(0.10);
myInverter.UseCLs(true);
myInverter.RunAutoScan(3.,5,myInverter.Size()/2,0.005);
std::cout << "The computed upper limit is: " << upperLimit << std::endl;
std::cout << "an estimated error on this upper limit is: " << ulError << std::endl;
}
rs801_HypoTestInverterOriginal();
}
- Author
- Gregory Schott
Definition in file rs801_HypoTestInverterOriginal.C.