ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/EdgeLimit.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/EdgeLimit.C (file contents):
Revision 1.8 by buchmann, Mon Jul 16 02:31:01 2012 UTC vs.
Revision 1.9 by buchmann, Fri Sep 7 13:40:44 2012 UTC

# Line 130 | Line 130 | vector<RooDataSet> EdgeFitter::generateT
130   void EdgeFitter::getMedianLimit(RooWorkspace *ws,vector<RooDataSet> theToys,float &median,float &sigmaDown, float &sigmaUp, float &twoSigmaDown, float &twoSigmaUp) {
131    TH1F *gauLimit = new TH1F("gausLimit","gausLimit",60,0.,80./PlottingSetup::luminosity);
132    vector<float> theLimits;
133 <  for(int itoy=0;itoy<theToys.size();itoy++) {
133 >  for(int itoy=0;itoy<(int)theToys.size();itoy++) {
134      float theLimit = calcExclusion(ws,theToys[itoy],false);
135      if(theLimit > 0 ) gauLimit->Fill(theLimit);
136    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines