Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 wmnHLTFilter = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
00006 wmnHLTFilter.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT")
00007 wmnHLTFilter.HLTPaths = ["HLT_Mu9", "HLT_Mu11", "HLT_Mu15"]
00008 wmnHLTFilter.throw = cms.bool(False)
00009
00010
00011 goodMuonsForW = cms.EDFilter("MuonViewRefSelector",
00012 src = cms.InputTag("muons"),
00013 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'),
00014 filter = cms.bool(True)
00015 )
00016
00017
00018 wmnCands = cms.EDProducer("CandViewShallowCloneCombiner",
00019 checkCharge = cms.bool(False),
00020 cut = cms.string('sqrt((daughter(0).pt+daughter(1).pt)*(daughter(0).pt+daughter(1).pt)-pt*pt)>50'),
00021 decay = cms.string("goodMuonsForW pfMet")
00022 )
00023 wmnFilter = cms.EDFilter("CandViewCountFilter",
00024 src = cms.InputTag("wmnCands"),
00025 minNumber = cms.uint32(1)
00026 )
00027
00028
00029 goodMuonsForZ = cms.EDFilter("MuonViewRefSelector",
00030 src = cms.InputTag("muons"),
00031 cut = cms.string('isGlobalMuon=1 && pt>10.'),
00032 filter = cms.bool(True)
00033 )
00034 dyFilter = cms.EDFilter("CandViewCountFilter",
00035 src = cms.InputTag("goodMuonsForZ"),
00036 minNumber = cms.uint32(2)
00037 )
00038
00039
00040 goldenWmnSequence = cms.Sequence(
00041 wmnHLTFilter *
00042 goodMuonsForW *
00043 wmnCands*wmnFilter *
00044 goodMuonsForZ*~dyFilter
00045 )