CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/ElectroWeakAnalysis/ZMuMu/python/goodZToMuMuOneTrack_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 import copy
00003 from ElectroWeakAnalysis.ZMuMu.zSelection_cfi import *
00004 
00005 zToMuGlobalMuOneTrack = cms.EDFilter(
00006     "CandViewRefSelector",
00007     cut = cms.string("daughter(0).isGlobalMuon = 1"),
00008     ### added UserData
00009     src = cms.InputTag("userDataDimuonsOneTrack"),
00010     ###src = cms.InputTag("dimuonsOneTrack"),
00011     filter = cms.bool(True)
00012 )
00013 
00014 zToMuMuOneTrackLoose = cms.EDFilter(
00015     "ZToMuMuIsolatedIDSelector",
00016     zSelectionLoose,
00017     src = cms.InputTag("zToMuGlobalMuOneTrack"),
00018     filter = cms.bool(True)
00019 )
00020 
00021 
00022 zToMuMuOneTrack = cms.EDFilter(
00023     "ZToMuMuIsolatedIDSelector",
00024     zSelection,
00025     src = cms.InputTag("zToMuGlobalMuOneTrack"),
00026     filter = cms.bool(True)
00027 )
00028 
00029 
00030 ## attention to the overlap... should be done with tight zmumu
00031 
00032 goodZToMuMuOneTrackLoose = cms.EDFilter(
00033     "ZMuMuOverlapExclusionSelector",
00034     src = cms.InputTag("zToMuMuOneTrackLoose"),
00035     overlap = cms.InputTag("goodZToMuMu"),
00036     filter = cms.bool(True)
00037 )
00038 
00039 goodZToMuMuOneTrack = cms.EDFilter(
00040     "ZMuMuOverlapExclusionSelector",
00041     src = cms.InputTag("zToMuMuOneTrack"),
00042     overlap = cms.InputTag("goodZToMuMu"),
00043     filter = cms.bool(True)
00044 )
00045 
00046 
00047 
00048 #goodZToMuMuOneTrack = copy.deepcopy(goodZTight)
00049 #goodZToMuMuOneTrack.src = cms.InputTag("goodZToMuMuOneTrackLoose")
00050 
00051 
00052 #ZMuTk:requiring that the GlobalMuon 'First' has HLT match
00053 goodZToMuMuOneTrackFirstHLTLoose = cms.EDFilter(
00054     "ZHLTMatchFilter",
00055     src = cms.InputTag("goodZToMuMuOneTrackLoose"),
00056     condition =cms.string("firstMatched"),
00057     hltPath = cms.string("HLT_Mu9"),
00058     filter = cms.bool(True) 
00059 )
00060 
00061 
00062 #goodZToMuMuOneTrackFirstHLT = copy.deepcopy(goodZTight)
00063 #goodZToMuMuOneTrackFirstHLT.src = cms.InputTag("goodZToMuMuOneTrackFirstHLTLoose")
00064 
00065 goodZToMuMuOneTrackFirstHLT = cms.EDFilter(
00066     "ZHLTMatchFilter",
00067     src = cms.InputTag("goodZToMuMuOneTrack"),
00068     condition =cms.string("firstMatched"),
00069     hltPath = cms.string("HLT_Mu9"),
00070     filter = cms.bool(True) 
00071 )