CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZMuMuAnalysisSchedules_cff.py
Go to the documentation of this file.
2 
5 #from ElectroWeakAnalysis.Skimming.zMuMu_SubskimPathsWithMCTruth_cff import *
6 
7 
8 ### controll by hand that all the path are in ... :-( :-( :-(
9 
10 ## dimuonsSeq = cms.Sequence(
11 ## dimuonsHLTFilter *
12 ## goodMuonRecoForDimuon *
13 ## dimuons *
14 ## dimuonsGlobal *
15 ## dimuonsOneStandAloneMuon *
16 ## dimuonsFilter
17 ## )
18 
19 ## dimuonsOneTrackSeq= cms.Sequence(dimuonsHLTFilter+
20 ## goodMuonRecoForDimuon+
21 ## dimuonsOneTrack+
22 ## dimuonsOneTrackFilter
23 ## )
24 
25 
26 
27 
28 
29 
30 #goodZToMuMuPathLoose.replace(goodZToMuMuLoose, dimuonsSeq * goodZToMuMuLoose)
31 goodZToMuMuPathLoose._seq = dimuonsPath._seq + goodZToMuMuPathLoose._seq
32 
33 goodZToMuMu2HLTPathLoose._seq = dimuonsPath._seq + goodZToMuMu2HLTPathLoose._seq
34 
35 
36 #goodZToMuMu2HLTPathLoose.replace(goodZToMuMuLoose, dimuonsSeq * goodZToMuMuLoose)
37 
38 #goodZToMuMu1HLTPathLoose.replace(goodZToMuMuLoose, dimuonsSeq * goodZToMuMuLoose)
39 
40 goodZToMuMu1HLTPathLoose._seq= dimuonsPath._seq + goodZToMuMu1HLTPathLoose._seq
41 
42 
43 goodZToMuMuAB1HLTPathLoose._seq = dimuonsPath._seq + goodZToMuMuAB1HLTPathLoose._seq
44 
45 goodZToMuMuBB2HLTPathLoose._seq = dimuonsPath._seq + goodZToMuMuBB2HLTPathLoose._seq
46 
47 
48 #goodZToMuMuSameChargePathLoose.replace(dimuonsGlobalSameCharge, dimuonsSeq * dimuonsGlobalSameCharge)
49 goodZToMuMuSameChargePathLoose._seq = dimuonsPath._seq + goodZToMuMuSameChargePathLoose._seq
50 
51 
52 ## notGoodZToMuMuSeq = cms.Sequence(
53 ## dimuonsSeq *
54 ## ~goodZToMuMu *
55 ## zToMuMuOneStandAloneMuonLoose
56 ## )
57 
58 ## notGoodZToMuMuSeq.setLabel("notGoodZToMuMuSeq")
59 
60 ## goodZToMuMuOneStandAloneMuonPathLoose.remove(goodZToMuMu)
61 
62 #goodZToMuMuOneStandAloneMuonPathLoose.replace(zToMuMuOneStandAloneMuonLoose, notGoodZToMuMuSeq)
63 
64 goodZToMuMuOneStandAloneMuonPathLoose._seq = dimuonsPath._seq + goodZToMuMuOneStandAloneMuonPathLoose._seq
65 
66 ## notGoodZToMuMuSeq = cms.Sequence(
67 ## dimuonsSeq +
68 ## dimuonsOneTrackSeq+
69 ## ~goodZToMuMu +
70 ## ~zToMuMuOneStandAloneMuon +
71 ## zToMuGlobalMuOneTrack
72 ## )
73 
74 goodZToMuMuOneTrackerMuonPathLoose._seq = dimuonsPath._seq + goodZToMuMuOneTrackerMuonPathLoose._seq
75 
76 
77 ## notGoodZToMuMuSeq.setLabel("notGoodZToMuMuSeq")
78 
79 ## goodZToMuMuOneTrackPathLoose.remove( goodZToMuMu)
80 ## goodZToMuMuOneTrackPathLoose.remove(zToMuMuOneStandAloneMuon )
81 
82 #goodZToMuMuOneTrackPathLoose.replace(zToMuGlobalMuOneTrack, notGoodZToMuMuSeq * zToMuGlobalMuOneTrack )
83 
84 goodZToMuMuOneTrackPathLoose._seq = dimuonsPath._seq + dimuonsOneTrackPath._seq + goodZToMuMuOneTrackPathLoose._seq
85 
86 goodZToMuMuOneTrackPathLoose.remove(dimuonsFilter)
87 
88 #initialGoodZToMuMuPath.replace(goodZToMuMu, dimuonsSeq * goodZToMuMu)
89 initialGoodZToMuMuPath._seq = dimuonsPath._seq + initialGoodZToMuMuPath._seq
90 
91 
92 #goodZToMuMuPath.replace(goodZToMuMu, dimuonsSeq * goodZToMuMu)
93 goodZToMuMuPath._seq = dimuonsPath._seq + goodZToMuMuPath._seq
94 
95 
96 #goodZToMuMu2HLTPath.replace(goodZToMuMu, dimuonsSeq * goodZToMuMu)
97 goodZToMuMu1HLTPath._seq = dimuonsPath._seq + goodZToMuMu1HLTPath._seq
98 
99 #goodZToMuMu1HLTPath.replace(goodZToMuMu, dimuonsSeq * goodZToMuMu)
100 goodZToMuMu2HLTPath._seq = dimuonsPath._seq + goodZToMuMu2HLTPath._seq
101 
102 goodZToMuMuAB1HLTPath._seq = dimuonsPath._seq + goodZToMuMuAB1HLTPath._seq
103 
104 goodZToMuMuBB2HLTPath._seq = dimuonsPath._seq + goodZToMuMuBB2HLTPath._seq
105 
106 
107 #goodZToMuMuSameChargePath.replace( dimuonsGlobalSameCharge, dimuonsSeq * dimuonsGlobalSameCharge)
108 goodZToMuMuSameChargePath._seq = dimuonsPath._seq + goodZToMuMuSameChargePath._seq
109 
110 #goodZToMuMuSameCharge2HLTPath.replace( dimuonsGlobalSameCharge, dimuonsSeq * dimuonsGlobalSameCharge)
111 
112 goodZToMuMuSameCharge2HLTPath._seq = dimuonsPath._seq + goodZToMuMuSameCharge2HLTPath._seq
113 
114 #goodZToMuMuSameCharge1HLTPath.replace( dimuonsGlobalSameCharge, dimuonsSeq * dimuonsGlobalSameCharge)
115 goodZToMuMuSameCharge1HLTPath._seq = dimuonsPath._seq + goodZToMuMuSameCharge1HLTPath._seq
116 
117 
118 #nonIsolatedZToMuMuPath.replace(nonIsolatedZToMuMu, dimuonsSeq * nonIsolatedZToMuMu)
119 nonIsolatedZToMuMuPath._seq = dimuonsPath._seq + nonIsolatedZToMuMuPath._seq
120 
121 #oneNonIsolatedZToMuMuPath.replace(nonIsolatedZToMuMu, dimuonsSeq * nonIsolatedZToMuMu)
122 oneNonIsolatedZToMuMuPath._seq = dimuonsPath._seq + oneNonIsolatedZToMuMuPath._seq
123 
124 #twoNonIsolatedZToMuMuPath.replace(nonIsolatedZToMuMu, dimuonsSeq * nonIsolatedZToMuMu)
125 twoNonIsolatedZToMuMuPath._seq = dimuonsPath._seq + twoNonIsolatedZToMuMuPath._seq
126 
127 
128 ## notGoodZToMuMuSeq = cms.Sequence(
129 ## dimuonsSeq *
130 ## ~goodZToMuMu *
131 ## zToMuMuOneStandAloneMuon
132 ## )
133 
134 ## notGoodZToMuMuSeq.setLabel("notGoodZToMuMuSeq")
135 
136 ## goodZToMuMuOneStandAloneMuonPath.remove(goodZToMuMu)
137 ## goodZToMuMuOneStandAloneMuonPath.replace(zToMuMuOneStandAloneMuon, notGoodZToMuMuSeq)
138 goodZToMuMuOneStandAloneMuonPath._seq = dimuonsPath._seq + goodZToMuMuOneStandAloneMuonPath._seq
139 
140 
141 ## notGoodZToMuMuSeq = cms.Sequence(
142 ## dimuonsSeq +
143 ## ~goodZToMuMu +
144 ## dimuonsOneTrackSeq+
145 ## ~zToMuMuOneStandAloneMuon +
146 ## zToMuGlobalMuOneTrack
147 ## )
148 
149 
150 
151 ## notGoodZToMuMuSeq.setLabel("notGoodZToMuMuSeq")
152 
153 ## goodZToMuMuOneTrackPath.remove( goodZToMuMu)
154 ## goodZToMuMuOneTrackPath.remove(zToMuMuOneStandAloneMuon )
155 
156 ## goodZToMuMuOneTrackPath.replace(zToMuGlobalMuOneTrack, notGoodZToMuMuSeq * zToMuGlobalMuOneTrack )
157 
158 
159 goodZToMuMuOneTrackerMuonPath._seq = dimuonsPath._seq + goodZToMuMuOneTrackerMuonPath._seq
160 
161 
162 goodZToMuMuOneTrackPath._seq = dimuonsPath._seq + dimuonsOneTrackPath._seq + goodZToMuMuOneTrackPath._seq
163 goodZToMuMuOneTrackPath.remove(dimuonsFilter)
164 
165 
166 ## goodZToMuMuPathLoose = cms.Path(
167 
168 ## goodZToMuMuLoose +
169 ## goodZToMuMuAtLeast1HLTLoose
170 ## )
171 
172 ## goodZToMuMu2HLTPathLoose = cms.Path(
173 ## goodZToMuMuLoose +
174 ## goodZToMuMu2HLTLoose
175 ## )
176 
177 ## goodZToMuMu1HLTPathLoose = cms.Path(
178 ## goodZToMuMuLoose +
179 ## goodZToMuMu1HLTLoose
180 ## )
181 
182 
183 ## goodZToMuMuSameChargePathLoose = cms.Path(
184 ## dimuonsGlobalSameCharge+
185 ## goodZToMuMuSameChargeLoose +
186 ## goodZToMuMuSameChargeAtLeast1HLTLoose
187 ## )
188 
189 
190 ## ## goodZToMuMuSameCharge2HLTPathLoose = cms.Path(
191 ## ## dimuonsGlobalSameCharge+
192 ## ## goodZToMuMuSameChargeLoose +
193 ## ## goodZToMuMuSameCharge2HLTLoose
194 ## ## )
195 
196 
197 ## ## goodZToMuMuSameCharge1HLTPathLoose = cms.Path(
198 ## ## dimuonsGlobalSameCharge+
199 ## ## goodZToMuMuSameChargeLoose +
200 ## ## goodZToMuMuSameCharge1HLTLoose
201 ## ## )
202 
203 
204 
205 ## goodZToMuMuOneStandAloneMuonPathLoose = cms.Path(
206 ## ### I should deby the tight zmumu, otherwise I cut to much....
207 ## ~goodZToMuMu +
208 ## zToMuMuOneStandAloneMuonLoose +
209 ## goodZToMuMuOneStandAloneMuonLoose +
210 ## goodZToMuMuOneStandAloneMuonFirstHLTLoose
211 ## )
212 
213 
214 ## goodZToMuMuOneTrackPathLoose=cms.Path(
215 ## ### I should deby the tight zmumu, otherwise I cut to much....
216 ## ~goodZToMuMu +
217 ## ~zToMuMuOneStandAloneMuon +
218 ## zToMuGlobalMuOneTrack +
219 ## zToMuMuOneTrackLoose +
220 ## goodZToMuMuOneTrackLoose +
221 ## goodZToMuMuOneTrackFirstHLTLoose
222 ## )
223 
224 
225 
226 
227 
228 ## ### sequences and path for tight cuts...
229 
230 ## initialGoodZToMuMuPath = cms.Path(
231 ## goodZToMuMu +
232 ## zmumuSaMassHistogram
233 ## )
234 
235 
236 ## goodZToMuMuPath = cms.Path(
237 ## goodZToMuMu +
238 ## goodZToMuMuAtLeast1HLT
239 ## )
240 
241 
242 
243 ## goodZToMuMu2HLTPath = cms.Path(
244 ## goodZToMuMu +
245 ## goodZToMuMu2HLT
246 ## )
247 
248 
249 ## goodZToMuMu1HLTPath = cms.Path(
250 ## goodZToMuMu +
251 ## goodZToMuMu1HLT
252 ## )
253 
254 
255 
256 ## goodZToMuMuSameChargePath = cms.Path(
257 ## dimuonsGlobalSameCharge+
258 ## goodZToMuMuSameCharge +
259 ## goodZToMuMuSameChargeAtLeast1HLT
260 ## )
261 
262 
263 ## goodZToMuMuSameCharge2HLTPath = cms.Path(
264 ## dimuonsGlobalSameCharge+
265 ## goodZToMuMuSameCharge +
266 ## goodZToMuMuSameCharge2HLT
267 ## )
268 
269 
270 
271 ## goodZToMuMuSameCharge1HLTPath = cms.Path(
272 ## dimuonsGlobalSameCharge+
273 ## goodZToMuMuSameCharge +
274 ## goodZToMuMuSameCharge1HLT
275 ## )
276 
277 
278 
279 ## nonIsolatedZToMuMuPath = cms.Path (
280 ## nonIsolatedZToMuMu +
281 ## nonIsolatedZToMuMuAtLeast1HLT
282 ## )
283 
284 
285 ## oneNonIsolatedZToMuMuPath = cms.Path(
286 ## nonIsolatedZToMuMu +
287 ## oneNonIsolatedZToMuMu +
288 ## oneNonIsolatedZToMuMuAtLeast1HLT
289 ## )
290 
291 
292 ## twoNonIsolatedZToMuMuPath = cms.Path(
293 ## nonIsolatedZToMuMu +
294 ## twoNonIsolatedZToMuMu +
295 ## twoNonIsolatedZToMuMuAtLeast1HLT
296 ## )
297 
298 
299 ## goodZToMuMuOneStandAloneMuonPath = cms.Path(
300 ## ~goodZToMuMu +
301 ## zToMuMuOneStandAloneMuon +
302 ## goodZToMuMuOneStandAloneMuon +
303 ## goodZToMuMuOneStandAloneMuonFirstHLT
304 ## )
305 
306 
307 
308 
309 ## goodZToMuMuOneTrackPath=cms.Path(
310 ## ~goodZToMuMu +
311 ## ~zToMuMuOneStandAloneMuon +
312 ## zToMuGlobalMuOneTrack +
313 ## zToMuMuOneTrack +
314 ## goodZToMuMuOneTrack +
315 ## goodZToMuMuOneTrackFirstHLT
316 ## )
317 
318