1 import FWCore.ParameterSet.Config
as cms
5 wmnHLTFilter = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6 wmnHLTFilter.TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT")
7 wmnHLTFilter.HLTPaths = [
"HLT_Mu9",
"HLT_Mu11",
"HLT_Mu15"]
8 wmnHLTFilter.throw = cms.bool(
False)
11 goodMuonsForW = cms.EDFilter(
"MuonViewRefSelector",
12 src = cms.InputTag(
"muons"),
13 cut = cms.string(
'isGlobalMuon=1 && isTrackerMuon=1 && abs(eta)<2.1 && abs(globalTrack().dxy)<0.2 && pt>20. && globalTrack().normalizedChi2<10 && globalTrack().hitPattern().numberOfValidTrackerHits>10 && globalTrack().hitPattern().numberOfValidMuonHits>0 && globalTrack().hitPattern().numberOfValidPixelHits>0 && numberOfMatches>1 && (isolationR03().sumPt+isolationR03().emEt+isolationR03().hadEt)<0.15*pt'),
14 filter = cms.bool(
True)
18 wmnCands = cms.EDProducer(
"CandViewShallowCloneCombiner",
19 checkCharge = cms.bool(
False),
20 cut = cms.string(
'sqrt((daughter(0).pt+daughter(1).pt)*(daughter(0).pt+daughter(1).pt)-pt*pt)>50'),
21 decay = cms.string(
"goodMuonsForW pfMet")
23 wmnFilter = cms.EDFilter(
"CandViewCountFilter",
24 src = cms.InputTag(
"wmnCands"),
25 minNumber = cms.uint32(1)
29 goodMuonsForZ = cms.EDFilter(
"MuonViewRefSelector",
30 src = cms.InputTag(
"muons"),
31 cut = cms.string(
'isGlobalMuon=1 && pt>10.'),
32 filter = cms.bool(
True)
34 dyFilter = cms.EDFilter(
"CandViewCountFilter",
35 src = cms.InputTag(
"goodMuonsForZ"),
36 minNumber = cms.uint32(2)
40 goldenWmnSequence = cms.Sequence(
44 goodMuonsForZ*~dyFilter