1 |
lucieg |
1.1 |
|
2 |
lucieg |
1.2 |
def fillHistoPredefCutsPassed(histos, nrPassed, cuts, collection, index, bin) :
|
3 |
lucieg |
1.1 |
|
4 |
|
|
cut = 1
|
5 |
|
|
while (cut < len( histos ) ):
|
6 |
|
|
if (collection[index].getSelection(cuts[cut])):
|
7 |
lucieg |
1.2 |
histos[cut].Fill(bin)
|
8 |
|
|
nrPassed[cut] += 1
|
9 |
|
|
cut +=1
|
10 |
|
|
|
11 |
|
|
def fillHistoLowerThanCutsPassed(histos, nrPassed, cuts, var, bin) :
|
12 |
|
|
|
13 |
|
|
cut = 0
|
14 |
|
|
while (cut < len( cuts ) ):
|
15 |
|
|
if ( var < cuts[cut] ):
|
16 |
lucieg |
1.1 |
histos[cut].Fill(bin)
|
17 |
|
|
nrPassed[cut] += 1
|
18 |
lucieg |
1.2 |
cut += 1
|
19 |
|
|
|