Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 
0005 goodHwwMuons = cms.EDFilter("MuonRefSelector",
0006                          src = cms.InputTag("muons"),
0007                          cut = cms.string("pt > 10 && " +
0008                                                       "(isolationR03().sumPt+isolationR03().emEt+isolationR03().hadEt)/pt < 1.0 && " +
0009                                                       "isGlobalMuon && isTrackerMuon"
0010                                                       ),
0011                                  )
0012 
0013               
0014 goodHwwElectrons = cms.EDFilter("GsfElectronRefSelector",
0015                              src = cms.InputTag("gedGsfElectrons"),
0016                              cut = cms.string(    "pt > 10 &&" +
0017                                                   " abs(deltaEtaSuperClusterTrackAtVtx) < 0.010 &&" +
0018                                                   " (( isEB && sigmaIetaIeta < 0.011) ||" +
0019                                                   "  (!isEB && sigmaIetaIeta < 0.031))"),
0020                              )
0021 
0022 diHwwMuons = cms.EDProducer("CandViewShallowCloneCombiner",
0023                                      decay       = cms.string("goodHwwMuons goodHwwMuons"),
0024                                      checkCharge = cms.bool(False),
0025                                      cut         = cms.string("mass > 5"),
0026                                  )
0027 
0028 diHwwElectrons = cms.EDProducer("CandViewShallowCloneCombiner",
0029                                          decay       = cms.string("goodHwwElectrons goodHwwElectrons"),
0030                                          checkCharge = cms.bool(False),
0031                                          cut         = cms.string("mass > 5"),
0032                                      )
0033 crossHwwLeptons  = cms.EDProducer("CandViewShallowCloneCombiner",
0034                                            decay       = cms.string("goodHwwMuons goodHwwElectrons"),
0035                                            checkCharge = cms.bool(False),
0036                                            cut         = cms.string("mass > 1"),
0037                                        )
0038 
0039 diHwwMuonsFilter = cms.EDFilter("CandViewCountFilter",
0040                              src = cms.InputTag("diHwwMuons"),
0041                              minNumber = cms.uint32(1)
0042 )
0043 diHwwElectronsFilter = cms.EDFilter("CandViewCountFilter",
0044                              src = cms.InputTag("diHwwElectrons"),
0045                              minNumber = cms.uint32(1)
0046 )
0047 crossHwwLeptonsFilter = cms.EDFilter("CandViewCountFilter",
0048                              src = cms.InputTag("crossHwwLeptons"),
0049                              minNumber = cms.uint32(1)
0050 )
0051 
0052 diMuonSequence = cms.Sequence( goodHwwMuons * diHwwMuons * diHwwMuonsFilter )
0053 
0054 diElectronSequence = cms.Sequence( goodHwwElectrons * diHwwElectrons * diHwwElectronsFilter )
0055 
0056 EleMuSequence = cms.Sequence( goodHwwMuons * goodHwwElectrons * crossHwwLeptons * crossHwwLeptonsFilter )
0057