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 |
|
} |