CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Configuration/Skimming/python/pA_DiLeptonSkim_cff.py

Go to the documentation of this file.
00001 
00002 ### HLT filter
00003 import copy
00004 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
00005 DileptoHLTFilter = copy.deepcopy(hltHighLevel)
00006 DileptoHLTFilter.throw = cms.bool(False)
00007 DileptoHLTFilter.HLTPaths = ["HLT_PAL1DoubleMuOpen_v*","HLT_PAL1DoubleMu0_HighQ_v*","HLT_PAL2DoubleMu3_v*","HLT_PAMu3_v*","HLT_PAMu7_v*","HLT_PAMu12_v*"]
00008 
00009 ## Good muons
00010 goodMuons = cms.EDFilter("MuonRefSelector",
00011     src = cms.InputTag("muons"),
00012     cut = cms.string("isTrackerMuon && track.hitPattern.trackerLayersWithMeasurement > 5 && innerTrack.hitPattern.pixelLayersWithMeasurement > 1 && innerTrack.normalizedChi2 < 1.8"),
00013 )
00014 
00015 ## psi candidates
00016 psiCandidates = cms.EDProducer("CandViewShallowCloneCombiner",
00017                                decay = cms.string("goodMuons goodMuons"),
00018                                checkCharge = cms.bool(False),
00019                                cut = cms.string("2.5 < mass < 4.5")
00020 )
00021 
00022 psiFilter = cms.EDFilter("CandViewCountFilter",
00023     src = cms.InputTag('psiCandidates'),
00024     minNumber = cms.uint32(1),
00025 )
00026 
00027 ## Y candidates
00028 upsCandidates = cms.EDProducer("CandViewShallowCloneCombiner",
00029                                decay = cms.string("goodMuons goodMuons"),
00030                                checkCharge = cms.bool(False),
00031                                cut = cms.string("7.0 < mass < 14.0")
00032 )
00033 
00034 upsFilter = cms.EDFilter("CandViewCountFilter",
00035     src = cms.InputTag('upsCandidates'),
00036     minNumber = cms.uint32(1),
00037 )
00038 
00039 # Z candidates
00040 ZCandidates = cms.EDProducer("CandViewShallowCloneCombiner",
00041                              decay = cms.string("goodMuons goodMuons"),
00042                              checkCharge = cms.bool(False),
00043                              cut = cms.string("60.0 < mass < 120.0")
00044 )
00045 
00046 ZFilter = cms.EDFilter("CandViewCountFilter",
00047     src = cms.InputTag('ZCandidates'),
00048     minNumber = cms.uint32(1),
00049 )
00050 
00051 psiCandidateSequence = cms.Sequence( DileptoHLTFilter * goodMuons * psiCandidates * psiFilter)
00052 
00053 upsCandidateSequence = cms.Sequence( DileptoHLTFilter * goodMuons * upsCandidates * upsFilter)
00054 
00055 ZCandidateSequence = cms.Sequence( DileptoHLTFilter * goodMuons * ZCandidates * ZFilter)
00056 
00057 
00058 
00059 
00060