51 cout << endl<<
" ======================================================== " <<endl;
63 tr.SetPoissonBkgBinomEff(
x,
y,z,tau,
m);
66 cout <<
"For model 1: Poisson / Binomial" << endl;
67 cout <<
"the Profile Likelihood interval is :" << endl;
68 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
76 cout << endl<<
" ======================================================== " <<endl;
90 cout <<
"For model 2 : Poisson / Gaussian" << endl;
91 cout <<
"the Profile Likelihood interval is :" << endl;
92 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
100 cout << endl<<
" ======================================================== " <<endl;
113 cout <<
"For model 3 : Gaussian / Gaussian" << endl;
114 cout <<
"the Profile Likelihood interval is :" << endl;
115 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
117 cout <<
"***************************************" << endl;
118 cout <<
"* some more example's for gauss/gauss *" << endl;
119 cout <<
"* *" << endl;
122 cout <<
"sensitivity:" << endl;
123 cout <<
"[" <<
slow <<
"," <<
shigh <<
"]" << endl;
127 cout <<
"median limit:" << endl;
128 cout <<
"[" <<
slow <<
"," <<
shigh <<
"] @ x =" <<
outx <<endl;
131 cout <<
"ML limit:" << endl;
132 cout <<
"[" <<
slow <<
"," <<
shigh <<
"] @ x =" <<
outx <<endl;
135 cout <<
"sensitivity:" << endl;
136 cout <<
"[" <<
slow <<
"," <<
shigh <<
"]" << endl;
139 cout <<
"the Profile Likelihood interval is :" << endl;
140 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
144 tr.GetCriticalNumber(
ncrt);
145 cout <<
"critical number: " <<
ncrt << endl;
148 tr.GetCriticalNumber(
ncrt);
149 cout <<
"critical number for 5 sigma: " <<
ncrt << endl;
151 cout <<
"***************************************" << endl;
159 cout << endl<<
" ======================================================== " <<endl;
170 tr.SetPoissonBkgKnownEff(
x,
y,tau,
e);
173 cout <<
"For model 4 : Poissonian / Known" << endl;
174 cout <<
"the Profile Likelihood interval is :" << endl;
175 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
183 cout << endl<<
" ======================================================== " <<endl;
196 cout <<
"For model 5 : Gaussian / Known" << endl;
197 cout <<
"the Profile Likelihood interval is :" << endl;
198 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
206 cout << endl<<
" ======================================================== " <<endl;
216 tr.SetKnownBkgBinomEff(
x, z,
m,
b);
219 cout <<
"For model 6 : Known / Binomial" << endl;
220 cout <<
"the Profile Likelihood interval is :" << endl;
221 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
229 cout << endl<<
" ======================================================== " <<endl;
244 cout <<
"For model 7 : Known / Gaussian " << endl;
245 cout <<
"the Profile Likelihood interval is :" << endl;
246 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
262 tr.SetPoissonBkgBinomEff(
x,
y,z,tau,
m);
263 tr.SetBounding(
true);
266 cout <<
"Example of the effect of bounded vs unbounded, For model 1" << endl;
267 cout <<
"the BOUNDED Profile Likelihood interval is :" << endl;
268 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
271 tr.SetBounding(
false);
274 cout <<
"the UNBOUNDED Profile Likelihood interval is :" << endl;
275 cout <<
"[" <<
ll <<
"," <<
ul <<
"]" << endl;
int Int_t
Signed integer 4 bytes (int)
double Double_t
Double 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
<div class="legacybox"><h2>Legacy Code</h2> TRolke is a legacy interface: there will be no bug fixes ...