CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/ElectroWeakAnalysis/ZMuMu/python/goodZToMuMuOneTrackUserData_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     src = cms.InputTag("userDataDimuonsOneTrack"),
00009     filter = cms.bool(True)
00010 )
00011 
00012 zToMuMuOneTrackLoose = cms.EDFilter(
00013     "ZToMuMuIsolatedIDSelector",
00014     zSelectionLoose,
00015     src = cms.InputTag("zToMuGlobalMuOneTrack"),
00016     filter = cms.bool(True)
00017 )
00018 
00019 
00020 zToMuMuOneTrack = cms.EDFilter(
00021     "ZToMuMuIsolatedIDSelector",
00022     zSelection,
00023     src = cms.InputTag("zToMuGlobalMuOneTrack"),
00024     filter = cms.bool(True)
00025 )
00026 
00027 
00028 ## attention to the overlap... should be done with tight zmumu
00029 
00030 goodZToMuMuOneTrackLoose = cms.EDFilter(
00031     "ZMuMuOverlapExclusionSelector",
00032     src = cms.InputTag("zToMuMuOneTrackLoose"),
00033     overlap = cms.InputTag("goodZToMuMu"),
00034     filter = cms.bool(True)
00035 )
00036 
00037 goodZToMuMuOneTrack = cms.EDFilter(
00038     "ZMuMuOverlapExclusionSelector",
00039     src = cms.InputTag("zToMuMuOneTrack"),
00040     overlap = cms.InputTag("goodZToMuMu"),
00041     filter = cms.bool(True)
00042 )
00043 
00044 
00045 
00046 #goodZToMuMuOneTrack = copy.deepcopy(goodZTight)
00047 #goodZToMuMuOneTrack.src = cms.InputTag("goodZToMuMuOneTrackLoose")
00048 
00049 
00050 #ZMuTk:requiring that the GlobalMuon 'First' has HLT match
00051 goodZToMuMuOneTrackFirstHLTLoose = cms.EDFilter(
00052     "ZHLTMatchFilter",
00053     src = cms.InputTag("goodZToMuMuOneTrackLoose"),
00054     condition =cms.string("firstMatched"),
00055     hltPath = cms.string("HLT_Mu9"),
00056     filter = cms.bool(True) 
00057 )
00058 
00059 
00060 #goodZToMuMuOneTrackFirstHLT = copy.deepcopy(goodZTight)
00061 #goodZToMuMuOneTrackFirstHLT.src = cms.InputTag("goodZToMuMuOneTrackFirstHLTLoose")
00062 
00063 goodZToMuMuOneTrackFirstHLT = cms.EDFilter(
00064     "ZHLTMatchFilter",
00065     src = cms.InputTag("goodZToMuMuOneTrack"),
00066     condition =cms.string("firstMatched"),
00067     hltPath = cms.string("HLT_Mu9"),
00068     filter = cms.bool(True) 
00069 )