184 |
|
|
185 |
|
int Npoints=0; |
186 |
|
for(int mglu=mglustart;mglu<=mgluend;mglu+=mglustep) { |
187 |
< |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&mlsp<=mglu;mlsp+=mLSPstep) Npoints++; |
187 |
> |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&(ismSUGRA||mlsp<=mglu);mlsp+=mLSPstep) Npoints++; |
188 |
|
} |
189 |
|
TH2F *mceff = (TH2F*)fsyst->Get((prefix+"efficiencymap"+any2string(jzb_cut[ibin])).c_str()); |
190 |
|
//write_warning(__FUNCTION__,"Currently the efficiencymap name was switched to Pablo's convention. This NEEDS to be switched BACK!");TH2F *mceff = (TH2F*)fsyst->Get(("efficiency_jzbdiff"+any2string(jzb_cut[ibin])).c_str()); |
212 |
|
|
213 |
|
int ipoint=-1; |
214 |
|
for(int mglu=mglustart;mglu<=mgluend;mglu+=mglustep) { |
215 |
< |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&mlsp<=mglu;mlsp+=mLSPstep) |
215 |
> |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&(ismSUGRA||mlsp<=mglu);mlsp+=mLSPstep) |
216 |
|
{ |
217 |
|
ipoint++; |
218 |
|
if(!runninglocally&&!do_this_point(ipoint,Npoints,jobnumber,njobs)) continue; |
367 |
|
|
368 |
|
int Npoints=0; |
369 |
|
for(int mglu=mglustart;mglu<=mgluend;mglu+=mglustep) { |
370 |
< |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&mlsp<=mglu;mlsp+=mLSPstep) Npoints++; |
370 |
> |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&(ismSUGRA||mlsp<=mglu);mlsp+=mLSPstep) Npoints++; |
371 |
|
} |
372 |
|
|
373 |
|
int ipoint=-1; |
374 |
|
for(int mglu=mglustart;mglu<=mgluend;mglu+=mglustep) { |
375 |
< |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&mlsp<=mglu;mlsp+=mLSPstep) |
375 |
> |
for (int mlsp=mLSPstart;mlsp<=mLSPend&&(ismSUGRA||mlsp<=mglu);mlsp+=mLSPstep) |
376 |
|
{ |
377 |
|
ipoint++; |
378 |
|
if(!runninglocally&&!do_this_point(ipoint,Npoints,jobnumber,njobs)) continue; |