50 cout << endl<<
" ======================================================== " <<endl;
62 tr.SetPoissonBkgBinomEff(
x,
y,z,tau,
m);
65 cout <<
"For model 1: Poisson / Binomial" << endl;
66 cout <<
"the Profile Likelihood interval is :" << endl;
67 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
75 cout << endl<<
" ======================================================== " <<endl;
89 cout <<
"For model 2 : Poisson / Gaussian" << endl;
90 cout <<
"the Profile Likelihood interval is :" << endl;
91 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
99 cout << endl<<
" ======================================================== " <<endl;
112 cout <<
"For model 3 : Gaussian / Gaussian" << endl;
113 cout <<
"the Profile Likelihood interval is :" << endl;
114 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
116 cout <<
"***************************************" << endl;
117 cout <<
"* some more example's for gauss/gauss *" << endl;
118 cout <<
"* *" << endl;
121 cout <<
"sensitivity:" << endl;
122 cout <<
"[" <<
slow <<
"," <<
shigh <<
"]" << endl;
126 cout <<
"median limit:" << endl;
127 cout <<
"[" <<
slow <<
"," <<
shigh <<
"] @ x =" <<
outx <<endl;
130 cout <<
"ML limit:" << endl;
131 cout <<
"[" <<
slow <<
"," <<
shigh <<
"] @ x =" <<
outx <<endl;
134 cout <<
"sensitivity:" << endl;
135 cout <<
"[" <<
slow <<
"," <<
shigh <<
"]" << endl;
138 cout <<
"the Profile Likelihood interval is :" << endl;
139 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
143 tr.GetCriticalNumber(
ncrt);
144 cout <<
"critical number: " <<
ncrt << endl;
147 tr.GetCriticalNumber(
ncrt);
148 cout <<
"critical number for 5 sigma: " <<
ncrt << endl;
150 cout <<
"***************************************" << endl;
158 cout << endl<<
" ======================================================== " <<endl;
169 tr.SetPoissonBkgKnownEff(
x,
y,tau,
e);
172 cout <<
"For model 4 : Poissonian / Known" << endl;
173 cout <<
"the Profile Likelihood interval is :" << endl;
174 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
182 cout << endl<<
" ======================================================== " <<endl;
195 cout <<
"For model 5 : Gaussian / Known" << endl;
196 cout <<
"the Profile Likelihood interval is :" << endl;
197 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
205 cout << endl<<
" ======================================================== " <<endl;
215 tr.SetKnownBkgBinomEff(
x, z,
m,
b);
218 cout <<
"For model 6 : Known / Binomial" << endl;
219 cout <<
"the Profile Likelihood interval is :" << endl;
220 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
228 cout << endl<<
" ======================================================== " <<endl;
243 cout <<
"For model 7 : Known / Gaussian " << endl;
244 cout <<
"the Profile Likelihood interval is :" << endl;
245 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
261 tr.SetPoissonBkgBinomEff(
x,
y,z,tau,
m);
262 tr.SetBounding(
true);
265 cout <<
"Example of the effect of bounded vs unbounded, For model 1" << endl;
266 cout <<
"the BOUNDED Profile Likelihood interval is :" << endl;
267 cout <<
"[" << ll <<
"," <<
ul <<
"]" << endl;
270 tr.SetBounding(
false);
273 cout <<
"the UNBOUNDED Profile Likelihood interval is :" << endl;
274 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 ...