示例#1
0
    def makeLeptonsMET(self, leptonList, MET):
        output = []
        for l1 in leptonList:
            pair = Pair(l1, MET, l1.charge() * 24)
            mt = pair.mt()
            if mt > self.wMTLimits[0] and mt < self.wMTLimits[1]:
                #                    print 'New W with mt ',mt

                output.append(pair)
        return output
示例#2
0
    def makeLeptonsMET(self,leptonList,MET):
        output=[]
        for l1 in leptonList:
            pair = Pair(l1,MET,l1.charge()*24)
            mt=pair.mt()
            if abs(l1.pdgId())==11:
                self.eIsolationFootPrint(pair)
            elif     abs(l1.pdgId())==13:
                self.muIsolationFootPrint(pair)
            if self.selectLNuPair(pair):
#                self.defaultWKinematicFit(pair)
                self.simpleWKinematicFit(pair)
                output.append(pair)
        return output