def makeW(self,leptonList,MET): output=[] for l1 in leptonList: pair = Pair(l1,MET,l1.charge()*24) self.reconstructLeptonicW(pair) if pair.pt()>200.0 and ((abs(l1.pdgId())==13 and MET.pt()>40) or (abs(l1.pdgId())==11 and MET.pt()>80)) : output.append(pair) return output
def makeW(self, leptonList, MET): output = [] for l1 in leptonList: pair = Pair(l1, MET, l1.charge() * 24) self.defaultWKinematicFit(pair) if pair.pt() > 200.0 and ( (abs(l1.pdgId()) == 13 and MET.pt() > 40) or (abs(l1.pdgId()) == 11 and MET.pt() > 80)): output.append(pair) return output