# cut = 'leg1().pt()>40. && leg2().pt()>40. && leg1().tauID("byCombinedIsolationDeltaBetaCorrRaw3Hits") < 10. && leg2().tauID("byCombinedIsolationDeltaBetaCorrRaw3Hits") < 10.', # mva MET mvaMETDiTau = pfMVAMEt.clone() mvaMETDiTau.srcPFCandidates = cms.InputTag("packedPFCandidates") mvaMETDiTau.srcVertices = cms.InputTag("offlineSlimmedPrimaryVertices") mvaMETDiTau.srcLeptons = cms.VInputTag( cms.InputTag("tauPreSelectionDiTau", "", ""), cms.InputTag("tauPreSelectionDiTau", "", ""), ) mvaMETDiTau.permuteLeptons = cms.bool(True) # correct TauES (after MVA MET according to current baseline) cmgDiTauCor = cmgDiTauCor.clone() # this selector goes after the TauES correction cmgDiTauTauPtSel = cms.EDFilter( "PATCompositeCandidateSelector", src=cms.InputTag("cmgDiTauCor"), cut=cms.string("daughter(0).pt()>45. && daughter(1).pt()>45.")) # recoil correction ---------------------------------------------------- # JAN: We don't know yet if we need this in 2015; re-include if necessary # sequence ------------------------------------------------------------- diTauMVAMetSequence = cms.Sequence(mvaMETDiTau) # SVFit ---------------------------------------------------------------- cmgDiTauCorSVFitPreSel = diTauSVFit.clone()
# mva MET mvaMETDiTau = cms.EDProducer('PFMETProducerMVATauTau', **pfMVAMEt.parameters_()) mvaMETDiTau.srcPFCandidates = cms.InputTag("packedPFCandidates") mvaMETDiTau.srcVertices = cms.InputTag("offlineSlimmedPrimaryVertices") mvaMETDiTau.srcLeptons = cms.VInputTag( cms.InputTag("tauPreSelectionDiTau", "", ""), cms.InputTag("tauPreSelectionDiTau", "", ""), ) mvaMETDiTau.permuteLeptons = cms.bool(True) # correct TauES (after MVA MET according to current baseline) cmgDiTauCor = cmgDiTauCor.clone() # this selector goes after the TauES correction cmgDiTauTauPtSel = cms.EDFilter( "PATCompositeCandidateSelector", src = cms.InputTag("cmgDiTauCor"), cut = cms.string("daughter(0).pt()>45. && daughter(1).pt()>45.") ) # recoil correction ---------------------------------------------------- # JAN: We don't know yet if we need this in 2015; re-include if necessary # sequence ------------------------------------------------------------- diTauMVAMetSequence = cms.Sequence( mvaMETDiTau )