248 |
|
|
249 |
|
|
250 |
|
//Draw histogram: |
251 |
< |
string cutNameWithGlobal = cutName; |
251 |
> |
string cutNameWithGlobal = ""; |
252 |
> |
if(cutName!="" && globalCuts!="") cutNameWithGlobal += "("; |
253 |
> |
if(cutName!="") cutNameWithGlobal += cutName; |
254 |
> |
if(cutName!="" && globalCuts!="") cutNameWithGlobal += ")"; |
255 |
|
if(cutName!="" && globalCuts!="") cutNameWithGlobal += "&&"; |
256 |
+ |
if(cutName!="" && globalCuts!="") cutNameWithGlobal += "("; |
257 |
|
if(globalCuts!="") cutNameWithGlobal += globalCuts; |
258 |
+ |
if(cutName!="" && globalCuts!="") cutNameWithGlobal += ")"; |
259 |
|
|
260 |
|
histName += ">>htemp"; |
261 |
|
if(bins != "") histName += bins; |