9 ELECTRON_ET_CUT_MIN_TIGHT = 20.0
10 ELECTRON_ET_CUT_MIN_LOOSE = 10.0
11 ELECTRON_COLL =
"gedGsfElectrons"
12 ELECTRON_CUTS =
"(abs(superCluster.eta)<2.5) && (ecalEnergy*sin(superClusterPosition.theta)>" + str(ELECTRON_ET_CUT_MIN_LOOSE) +
")"
23 ElectronPassingVeryLooseId = cms.EDFilter(
"GsfElectronRefSelector",
24 src = cms.InputTag( ELECTRON_COLL ),
25 cut = cms.string( ELECTRON_CUTS )
34 ZEM_DiJetHltFilter = cms.EDFilter(
"HLTHighLevel",
35 TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
36 HLTPaths = cms.vstring(
'HLT_Mu17_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v*',
'HLT_Mu8_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v*'),
37 eventSetupPathsKey = cms.string(
''),
38 andOr = cms.bool(
True),
39 throw = cms.bool(
False),
55 looseMuonsForTop = cms.EDFilter(
"MuonSelector",
56 src = cms.InputTag(
"muons"),
57 cut = cms.string(
'pt > 20 && abs(eta)<2.4 && isGlobalMuon = 1 && isTrackerMuon = 1 && abs(innerTrack().dxy)<2.0'),
58 filter = cms.bool(
True)
63 elecMuon = cms.EDProducer(
"CandViewShallowCloneCombiner",
64 checkCharge = cms.bool(
False),
65 cut = cms.string(
'mass > 0'),
66 decay = cms.string(
"looseMuonsForTop ElectronPassingVeryLooseId")
68 elecMuonFilter = cms.EDFilter(
"CandViewCountFilter",
69 src = cms.InputTag(
"elecMuon"),
70 minNumber = cms.uint32(1)
80 Jet1 = cms.EDFilter(
"EtaPtMinCandViewSelector",
81 src = cms.InputTag(
"ak4PFJets"),
82 ptMin = cms.double(30),
83 etaMin = cms.double(-2.5),
84 etaMax = cms.double(2.5)
87 dijetFilter = cms.EDFilter(
"CandViewCountFilter",
88 src = cms.InputTag(
"Jet1"),
89 minNumber = cms.uint32(2)
93 TopMuEGsequence = cms.Sequence(ZEM_DiJetHltFilter * looseMuonsForTop * ElectronPassingVeryLooseId * elecMuon * elecMuonFilter * Jet1 * dijetFilter)