test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
goodZToMuMu_cfi.py
Go to the documentation of this file.
2 
3 import copy
4 
6 
7 goodZToMuMuLoose = cms.EDFilter(
8  "ZToMuMuIsolatedIDSelector",
9  zSelectionLoose,
10  src = cms.InputTag("dimuonsGlobal"),
11  filter = cms.bool(True)
12 
13 )
14 
15 goodZToMuMu = cms.EDFilter(
16  "ZToMuMuIsolatedIDSelector",
17  zSelection,
18  src = cms.InputTag("dimuonsGlobal"),
19  filter = cms.bool(True)
20 )
21 
22 
23 goodZToMuMuNotFiltered = cms.EDFilter(
24  "ZToMuMuIsolatedIDSelector",
25  zSelection,
26  src = cms.InputTag("dimuonsGlobal"),
27  filter = cms.bool(False) ### not filtered, needed for AB and BB region study
28 
29 )
30 
31 
32 
33 #ZMuMu: requiring at least 1 HLT trigger match (for the shape)
34 goodZToMuMuAtLeast1HLTLoose = cms.EDFilter(
35  "ZHLTMatchFilter",
36  src = cms.InputTag("goodZToMuMuLoose"),
37  condition =cms.string("atLeastOneMatched"),
38  hltPath = cms.string("HLT_Mu9"),
39  filter = cms.bool(True)
40 )
41 
42 goodZToMuMuAtLeast1HLT = cms.EDFilter(
43  "ZHLTMatchFilter",
44  src = cms.InputTag("goodZToMuMu"),
45  condition =cms.string("atLeastOneMatched"),
46  hltPath = cms.string("HLT_Mu9"),
47  filter = cms.bool(True)
48 )
49 
50 
51 
52 
53 #ZMuMu: requiring 2 HLT trigger match
54 goodZToMuMu2HLTLoose = copy.deepcopy(goodZToMuMuAtLeast1HLTLoose)
55 goodZToMuMu2HLTLoose.condition =cms.string("bothMatched")
56 
57 goodZToMuMu2HLT = copy.deepcopy(goodZToMuMuAtLeast1HLT)
58 goodZToMuMu2HLT.condition =cms.string("bothMatched")
59 
60 
61 #ZMuMu: requiring 1 HLT trigger match
62 goodZToMuMu1HLTLoose = copy.deepcopy(goodZToMuMuAtLeast1HLTLoose)
63 goodZToMuMu1HLTLoose.condition =cms.string("exactlyOneMatched")
64 
65 goodZToMuMu1HLT = copy.deepcopy(goodZToMuMuAtLeast1HLT)
66 goodZToMuMu1HLT.condition =cms.string("exactlyOneMatched")
67 
68 
69 
70 ### exploring the 2.1 -- 2.4 eta region
71 ### A: |eta|<2.1, B: 2.1<|eta|<2.4
72 zToMuMuABLoose = cms.EDFilter(
73  "ZToMuMuIsolatedIDSelector",
74  zSelectionABLoose,
75  src = cms.InputTag("dimuonsGlobal"),
76  filter = cms.bool(True)
77 )
78 
79 
80 ### two muon with 2.1< eta < 2.4
81 zToMuMuBBLoose = cms.EDFilter(
82  "ZToMuMuIsolatedIDSelector",
83  zSelectionBBLoose,
84  src = cms.InputTag("dimuonsGlobal"),
85  filter = cms.bool(True)
86 )
87 
88 
89 zToMuMuAB = cms.EDFilter(
90  "ZToMuMuIsolatedIDSelector",
91  zSelectionAB,
92  src = cms.InputTag("dimuonsGlobal"),
93  filter = cms.bool(True)
94 )
95 
96 ### two muon with 2.1< eta < 2.4
97 zToMuMuBB = cms.EDFilter(
98  "ZToMuMuIsolatedIDSelector",
99  zSelectionBB,
100  src = cms.InputTag("dimuonsGlobal"),
101  filter = cms.bool(True)
102 )
103 
104 
105 goodZToMuMuABLoose = cms.EDFilter(
106  "ZMuMuOverlapExclusionSelector",
107  src = cms.InputTag("zToMuMuABLoose"),
108  overlap = cms.InputTag("goodZToMuMuNotFiltered"),
109  filter = cms.bool(True)
110 )
111 
112 
113 goodZToMuMuAB = cms.EDFilter(
114  "ZMuMuOverlapExclusionSelector",
115  src = cms.InputTag("zToMuMuAB"),
116  overlap = cms.InputTag("goodZToMuMuNotFiltered"),
117  filter = cms.bool(True)
118 )
119 
120 
121 goodZToMuMuAB1HLTLoose = cms.EDFilter(
122  "ZHLTMatchFilter",
123  src = cms.InputTag("goodZToMuMuABLoose"),
124  condition =cms.string("exactlyOneMatched"),
125  hltPath = cms.string("HLT_Mu9"),
126  filter = cms.bool(True)
127 )
128 
129 goodZToMuMuBB2HLTLoose = cms.EDFilter(
130  "ZHLTMatchFilter",
131  src = cms.InputTag("zToMuMuBBLoose"),
132  condition =cms.string("bothMatched"),
133  hltPath = cms.string("HLT_DoubleMu3"),
134  filter = cms.bool(True)
135 )
136 
137 
138 
139 goodZToMuMuAB1HLT = cms.EDFilter(
140  "ZHLTMatchFilter",
141  src = cms.InputTag("goodZToMuMuAB"),
142  condition =cms.string("exactlyOneMatched"),
143  hltPath = cms.string("HLT_Mu9"),
144  filter = cms.bool(True)
145 )
146 
147 goodZToMuMuBB2HLT = cms.EDFilter(
148  "ZHLTMatchFilter",
149  src = cms.InputTag("zToMuMuBB"),
150  condition =cms.string("bothMatched"),
151  hltPath = cms.string("HLT_DoubleMu3"),
152  filter = cms.bool(True)
153 )
154 
155 
156 
157 
158 
159 
160 
161 
162 
163