ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/lucieg/macros/fillHistoCutsPassed.py
Revision: 1.1
Committed: Mon Jul 11 19:21:54 2011 UTC (13 years, 9 months ago) by lucieg
Content type: text/x-python
Branch: MAIN
Log Message:
resync

File Contents

# User Rev Content
1 lucieg 1.1
2    
3     def fillHistoCutsPassed(histos, nrPassed, cuts, collection, index, bin) :
4    
5     cut = 1
6     while (cut < len( histos ) ):
7     if (collection[index].getSelection(cuts[cut])):
8     histos[cut].Fill(bin)
9     nrPassed[cut] += 1
10     cut +=1
11