ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Root Listing
root
/
cvsroot
/
UserCode
/
LEP3
/
jetSelections.py
Revision:
1.1
Committed:
Fri Aug 3 17:50:18 2012 UTC
(12 years, 8 months ago) by
mzanetti
Content type:
text/x-python
Branch:
MAIN
CVS Tags:
HEAD
Log Message:
*** empty log message ***
File Contents
#
User
Rev
Content
1
mzanetti
1.1
#!/usr/bin/env python
2
3
def passJetId(jet):
4
if jet.p()<5: return False
5
if len(jet.getTrackRefs())<2: return False # kill the pi0 and leptons
6
return True
7