CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/ElectroWeakAnalysis/ZMuMu/python/goodZToMuMu_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 import copy
00004 
00005 from ElectroWeakAnalysis.ZMuMu.zSelection_cfi import *
00006 
00007 goodZToMuMuLoose = cms.EDFilter(
00008     "ZToMuMuIsolatedIDSelector",
00009     zSelectionLoose,
00010     src = cms.InputTag("dimuonsGlobal"),
00011     filter = cms.bool(True)
00012 
00013 )
00014 
00015 goodZToMuMu = cms.EDFilter(
00016     "ZToMuMuIsolatedIDSelector",
00017     zSelection,
00018     src = cms.InputTag("dimuonsGlobal"),
00019     filter = cms.bool(True) 
00020 )
00021 
00022 
00023 goodZToMuMuNotFiltered = cms.EDFilter(
00024     "ZToMuMuIsolatedIDSelector",
00025     zSelection,
00026     src = cms.InputTag("dimuonsGlobal"),
00027     filter = cms.bool(False) ### not filtered, needed for AB and BB region study 
00028 
00029 )
00030 
00031 
00032 
00033 #ZMuMu: requiring at least  1 HLT trigger match (for the shape)
00034 goodZToMuMuAtLeast1HLTLoose = cms.EDFilter(
00035     "ZHLTMatchFilter",
00036     src = cms.InputTag("goodZToMuMuLoose"),
00037     condition =cms.string("atLeastOneMatched"),
00038     hltPath = cms.string("HLT_Mu9"),
00039     filter = cms.bool(True) 
00040 )
00041 
00042 goodZToMuMuAtLeast1HLT = cms.EDFilter(
00043     "ZHLTMatchFilter",
00044     src = cms.InputTag("goodZToMuMu"),
00045     condition =cms.string("atLeastOneMatched"),
00046     hltPath = cms.string("HLT_Mu9"),
00047     filter = cms.bool(True) 
00048 )
00049 
00050 
00051 
00052 
00053 #ZMuMu: requiring  2 HLT trigger match
00054 goodZToMuMu2HLTLoose = copy.deepcopy(goodZToMuMuAtLeast1HLTLoose)
00055 goodZToMuMu2HLTLoose.condition =cms.string("bothMatched")
00056 
00057 goodZToMuMu2HLT = copy.deepcopy(goodZToMuMuAtLeast1HLT)
00058 goodZToMuMu2HLT.condition =cms.string("bothMatched")
00059 
00060 
00061 #ZMuMu: requiring 1 HLT trigger match
00062 goodZToMuMu1HLTLoose = copy.deepcopy(goodZToMuMuAtLeast1HLTLoose)
00063 goodZToMuMu1HLTLoose.condition =cms.string("exactlyOneMatched")
00064 
00065 goodZToMuMu1HLT = copy.deepcopy(goodZToMuMuAtLeast1HLT)
00066 goodZToMuMu1HLT.condition =cms.string("exactlyOneMatched")
00067 
00068 
00069 
00070 ### exploring the 2.1 -- 2.4  eta region
00071 ### A: |eta|<2.1, B: 2.1<|eta|<2.4
00072 zToMuMuABLoose = cms.EDFilter(
00073     "ZToMuMuIsolatedIDSelector",
00074     zSelectionABLoose,
00075     src = cms.InputTag("dimuonsGlobal"),
00076     filter = cms.bool(True) 
00077 )
00078 
00079 
00080 ### two muon with 2.1< eta < 2.4
00081 zToMuMuBBLoose = cms.EDFilter(
00082     "ZToMuMuIsolatedIDSelector",
00083     zSelectionBBLoose,
00084     src = cms.InputTag("dimuonsGlobal"),
00085     filter = cms.bool(True) 
00086 )
00087 
00088 
00089 zToMuMuAB = cms.EDFilter(
00090     "ZToMuMuIsolatedIDSelector",
00091     zSelectionAB,
00092     src = cms.InputTag("dimuonsGlobal"),
00093     filter = cms.bool(True) 
00094 )
00095 
00096 ### two muon with 2.1< eta < 2.4
00097 zToMuMuBB = cms.EDFilter(
00098     "ZToMuMuIsolatedIDSelector",
00099     zSelectionBB,
00100     src = cms.InputTag("dimuonsGlobal"),
00101     filter = cms.bool(True) 
00102 )
00103 
00104 
00105 goodZToMuMuABLoose = cms.EDFilter(
00106     "ZMuMuOverlapExclusionSelector",    
00107     src = cms.InputTag("zToMuMuABLoose"),
00108     overlap = cms.InputTag("goodZToMuMuNotFiltered"),
00109     filter = cms.bool(True)
00110 )
00111 
00112 
00113 goodZToMuMuAB = cms.EDFilter(
00114     "ZMuMuOverlapExclusionSelector",    
00115     src = cms.InputTag("zToMuMuAB"),
00116     overlap = cms.InputTag("goodZToMuMuNotFiltered"),
00117     filter = cms.bool(True)
00118 )
00119 
00120 
00121 goodZToMuMuAB1HLTLoose = cms.EDFilter(
00122     "ZHLTMatchFilter",
00123     src = cms.InputTag("goodZToMuMuABLoose"),
00124     condition =cms.string("exactlyOneMatched"),
00125     hltPath = cms.string("HLT_Mu9"),
00126     filter = cms.bool(True) 
00127 )
00128 
00129 goodZToMuMuBB2HLTLoose = cms.EDFilter(
00130     "ZHLTMatchFilter",
00131     src = cms.InputTag("zToMuMuBBLoose"),
00132     condition =cms.string("bothMatched"),
00133     hltPath = cms.string("HLT_DoubleMu3"),
00134     filter = cms.bool(True) 
00135 )
00136 
00137 
00138 
00139 goodZToMuMuAB1HLT = cms.EDFilter(
00140     "ZHLTMatchFilter",
00141     src = cms.InputTag("goodZToMuMuAB"),
00142     condition =cms.string("exactlyOneMatched"),
00143     hltPath = cms.string("HLT_Mu9"),
00144     filter = cms.bool(True) 
00145 )
00146 
00147 goodZToMuMuBB2HLT = cms.EDFilter(
00148     "ZHLTMatchFilter",
00149     src = cms.InputTag("zToMuMuBB"),
00150     condition =cms.string("bothMatched"),
00151     hltPath = cms.string("HLT_DoubleMu3"),
00152     filter = cms.bool(True) 
00153 )
00154 
00155 
00156 
00157 
00158 
00159 
00160 
00161 
00162 
00163