ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LEP3/selections.py
Revision: 1.3
Committed: Fri Aug 3 17:49:49 2012 UTC (12 years, 8 months ago) by mzanetti
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +10 -5 lines
Error occurred while calculating annotation data.
Log Message:
adapted for WW analysis

File Contents

# Content
1 #!/usr/bin/env python
2
3 from muonSelections import *
4 from electronSelections import *
5 from photonSelections import *
6 from jetSelections import *
7
8
9 def passWWSelections(leptons, jets):
10 # if len(leptons)>=1 or len(jets)
11 # if len(leptons)<1 and : return False
12 # if len(jets)<2: return False
13 return True
14
15 def passRecoilSelections(leptons):
16 if len(leptons)<1: return False
17 if leptons[0].charge()+leptons[1].charge() != 0: return False
18 return True
19