CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PDWG_HWWSkim_cff.py
Go to the documentation of this file.
2 
3 
4 
5 goodHwwMuons = cms.EDFilter("MuonRefSelector",
6  src = cms.InputTag("muons"),
7  cut = cms.string("pt > 10 && " +
8  "(isolationR03().sumPt+isolationR03().emEt+isolationR03().hadEt)/pt < 1.0 && " +
9  "isGlobalMuon && isTrackerMuon"
10  ),
11  )
12 
13 
14 goodHwwElectrons = cms.EDFilter("GsfElectronRefSelector",
15  src = cms.InputTag("gsfElectrons"),
16  cut = cms.string( "pt > 10 &&" +
17  " abs(deltaEtaSuperClusterTrackAtVtx) < 0.010 &&" +
18  " (( isEB && sigmaIetaIeta < 0.011) ||" +
19  " (!isEB && sigmaIetaIeta < 0.031))"),
20  )
21 
22 diHwwMuons = cms.EDProducer("CandViewShallowCloneCombiner",
23  decay = cms.string("goodHwwMuons goodHwwMuons"),
24  checkCharge = cms.bool(False),
25  cut = cms.string("mass > 5"),
26  )
27 
28 diHwwElectrons = cms.EDProducer("CandViewShallowCloneCombiner",
29  decay = cms.string("goodHwwElectrons goodHwwElectrons"),
30  checkCharge = cms.bool(False),
31  cut = cms.string("mass > 5"),
32  )
33 crossHwwLeptons = cms.EDProducer("CandViewShallowCloneCombiner",
34  decay = cms.string("goodHwwMuons goodHwwElectrons"),
35  checkCharge = cms.bool(False),
36  cut = cms.string("mass > 1"),
37  )
38 
39 diHwwMuonsFilter = cms.EDFilter("CandViewCountFilter",
40  src = cms.InputTag("diHwwMuons"),
41  minNumber = cms.uint32(1)
42 )
43 diHwwElectronsFilter = cms.EDFilter("CandViewCountFilter",
44  src = cms.InputTag("diHwwElectrons"),
45  minNumber = cms.uint32(1)
46 )
47 crossHwwLeptonsFilter = cms.EDFilter("CandViewCountFilter",
48  src = cms.InputTag("crossHwwLeptons"),
49  minNumber = cms.uint32(1)
50 )
51 
52 diMuonSequence = cms.Sequence( goodHwwMuons * diHwwMuons * diHwwMuonsFilter )
53 
54 diElectronSequence = cms.Sequence( goodHwwElectrons * diHwwElectrons * diHwwElectronsFilter )
55 
56 EleMuSequence = cms.Sequence( goodHwwMuons * goodHwwElectrons * crossHwwLeptons * crossHwwLeptonsFilter )
57