CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/HeavyIonsAnalysis/Configuration/python/HI_ZMMSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # HLT dimuon trigger
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 hltZMMHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
00006 hltZMMHI.HLTPaths = ["HLT_HIL1DoubleMuOpen"]
00007 hltZMMHI.throw = False
00008 hltZMMHI.andOr = True
00009 
00010 # selection of dimuons (at least STA+STA) with mass in Z range
00011 muonSelector = cms.EDFilter("muonSelector",
00012     src = cms.InputTag("muons"),
00013     cut = cms.string("(isStandAloneMuon || isGlobalMuon) && pt > 1."),
00014     filter = cms.bool(True)
00015     )
00016 
00017 muonFilter = cms.EDFilter("MuonCountFilter",
00018     src = cms.InputTag("muonSelector"),
00019     minNumber = cms.uint32(1)
00020     )
00021 
00022 dimuonMassCut = cms.EDProducer("CandViewShallowCloneCombiner",
00023     checkCharge = cms.bool(True),
00024     cut = cms.string(' 60 < mass < 120'),
00025     decay = cms.string("muonSelector@+ muonSelector@-")
00026     )
00027 
00028 dimuonMassCutFilter = cms.EDFilter("CandViewCountFilter",
00029     src = cms.InputTag("dimuonMassCut"),
00030     minNumber = cms.uint32(1)
00031     )
00032 
00033 # Z->mumu skim sequence
00034 zMMSkimSequence = cms.Sequence(
00035     hltZMMHI *
00036     muonSelector *
00037     muonFilter *
00038     dimuonMassCut *
00039     dimuonMassCutFilter
00040     )