ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/claudioc/ScansICHEP2012/code/makeNtuple.C
(Generate patch)

Comparing UserCode/claudioc/ScansICHEP2012/code/makeNtuple.C (file contents):
Revision 1.2 by claudioc, Thu Jun 21 11:15:30 2012 UTC vs.
Revision 1.3 by claudioc, Thu Jun 28 06:08:19 2012 UTC

# Line 245 | Line 245 | void makeNtuple(int iflag=0){
245        cout << "Calculating limits for SR" << sr << endl;
246        for (int il=0; il<numbLines; il++) {
247        float  thisErr = err[sr][il];
248 <      double blahObs = observedLimitOnNumberOfEvents(sr+1, 100.*thisErr, false );
248 >      double blahObs = observedLimitOnNumberOfEvents(sr+1, 100.*thisErr, true  );
249        double blahExp = expectedLimitOnNumberOfEvents(sr+1, 100.*thisErr, false );
250        obslim[sr][il] = (float) blahObs;
251        explim[sr][il] = (float) blahExp;      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines