CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # Event Content definition
5 #
6 # Data Tiers defined:
7 #
8 # LHE:
9 # include pure LHE production
10 #
11 # RAW , RECO, AOD:
12 # include reconstruction content
13 #
14 # RAWSIM, RECOSIM, AODSIM:
15 # include reconstruction and simulation
16 #
17 # GENRAW
18 # slimmed-down version of RAWSIM for small transient disk size during MC production, contains Gen+Rawdata
19 #
20 # PREMIX
21 # extension of GENRAW with special Digi collection(s) for pre-mixing minbias events for pileup simulation
22 # Raw2Digi step is done on this file.
23 #
24 # PREMIXRAW
25 # extension of RAWSIM for output of second stage of PreMixing using the DataMixer.
26 #
27 # RAWDEBUG(RAWSIM+ALL_SIM_INFO), RAWDEBUGHLT(RAWDEBUG+HLTDEBUG)
28 #
29 # RAWSIMHLT (RAWSIM + HLTDEBUG)
30 #
31 # RAWRECOSIMHLT, RAWRECODEBUGHLT
32 #
33 # FEVT (RAW+RECO), FEVTSIM (RAWSIM+RECOSIM), FEVTDEBUG (FEVTSIM+ALL_SIM_INFO), FEVTDEBUGHLT (FEVTDEBUG+HLTDEBUG)
34 #
35 # $Id: EventContent_cff.py,v 1.54 2013/05/01 15:44:29 mikeh Exp $
36 #
37 #
38 #
39 #
40 # Recontruction Systems
41 #
42 #
61 from CommonTools.ParticleFlow.EITopPAG_EventContent_cff import EITopPAGEventContent
62 
63 # raw2digi that are already the final RECO/AOD products
66 
67 #DigiToRaw content
69 #
70 #
71 # Simulation Systems
72 #
73 #
81 #
82 #
83 # HLT
84 #
85 #
87 #
88 #
89 # DQM
90 #
91 #
93 #
94 #
95 
96 #
97 #
98 # Top level additional keep statements
99 #
100 #
101 CommonEventContent = cms.PSet(
102  outputCommands = cms.untracked.vstring('keep *_logErrorHarvester_*_*')
103 )
104 
105 #
106 #
107 # LHE Data Tier definition
108 #
109 #
110 LHEEventContent = cms.PSet(
111  outputCommands = cms.untracked.vstring('drop *'),
112  splitLevel = cms.untracked.int32(0),
113  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
114 )
115 #
116 #
117 # RAW Data Tier definition
118 #
119 #
120 RAWEventContent = cms.PSet(
121  outputCommands = cms.untracked.vstring('drop *',
122  'keep FEDRawDataCollection_rawDataCollector_*_*',
123  'keep FEDRawDataCollection_source_*_*'),
124  splitLevel = cms.untracked.int32(0),
125  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
126 )
127 #
128 #
129 # RECO Data Tier definition
130 #
131 #
132 RECOEventContent = cms.PSet(
133  outputCommands = cms.untracked.vstring('drop *'),
134  splitLevel = cms.untracked.int32(0),
135  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
136 )
137 #
138 #
139 # RAWRECO Data Tiere definition
140 #
141 #
142 RAWRECOEventContent = cms.PSet(
143  outputCommands = cms.untracked.vstring('drop *'),
144  splitLevel = cms.untracked.int32(0),
145  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
146  )
147 #
148 #
149 # AOD Data Tier definition
150 #
151 #
152 AODEventContent = cms.PSet(
153  outputCommands = cms.untracked.vstring('drop *'),
154  eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024),
155  compressionAlgorithm=cms.untracked.string("LZMA"),
156  compressionLevel=cms.untracked.int32(4)
157 )
158 #
159 #
160 # RAWSIM Data Tier definition
161 #
162 #
163 RAWSIMEventContent = cms.PSet(
164  outputCommands = cms.untracked.vstring('drop *'),
165  splitLevel = cms.untracked.int32(0),
166  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
167 )
168 #
169 #
170 # RAWSIMHLT Data Tier definition
171 #
172 #
173 RAWSIMHLTEventContent = cms.PSet(
174  outputCommands = cms.untracked.vstring('drop *'),
175  splitLevel = cms.untracked.int32(0),
176  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
177 )
178 #
179 #
180 # RAWRECOSIMHLT Data Tier definition
181 #
182 #
183 RAWRECOSIMHLTEventContent = cms.PSet(
184  outputCommands = cms.untracked.vstring('drop *'),
185  splitLevel = cms.untracked.int32(0),
186  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
187 )
188 #
189 #
190 # RAWRECODEBUGHLT Data Tier definition
191 #
192 #
193 RAWRECODEBUGHLTEventContent = cms.PSet(
194  outputCommands = cms.untracked.vstring('drop *'),
195  splitLevel = cms.untracked.int32(0),
196  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
197 )
198 #
199 #
200 # RECOSIM Data Tier definition
201 #
202 #
203 RECOSIMEventContent = cms.PSet(
204  outputCommands = cms.untracked.vstring('drop *'),
205  splitLevel = cms.untracked.int32(0),
206  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
207 )
208 #
209 #
210 # GENRAW Data Tier definition
211 #
212 #
213 GENRAWEventContent = cms.PSet(
214  outputCommands = cms.untracked.vstring('drop *'),
215  splitLevel = cms.untracked.int32(0),
216  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
217 )
218 #
219 #
220 # AODSIM Data Tier definition
221 #
222 #
223 AODSIMEventContent = cms.PSet(
224  outputCommands = cms.untracked.vstring('drop *'),
225  eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024),
226  compressionAlgorithm=cms.untracked.string("LZMA"),
227  compressionLevel=cms.untracked.int32(4)
228 )
229 #
230 #
231 # FEVT Data Tier definition
232 #
233 #
234 FEVTEventContent = cms.PSet(
235  outputCommands = cms.untracked.vstring('drop *'),
236  splitLevel = cms.untracked.int32(0),
237  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
238 )
239 FEVTHLTALLEventContent = cms.PSet(
240  outputCommands = cms.untracked.vstring('drop *'),
241  splitLevel = cms.untracked.int32(0),
242  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
243 )
244 
245 #
246 #
247 # FEVTSIM Data Tier definition
248 #
249 #
250 FEVTSIMEventContent = cms.PSet(
251  outputCommands = cms.untracked.vstring('drop *'),
252  splitLevel = cms.untracked.int32(0),
253  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
254 )
255 #
256 #
257 # RAWDEBUG Data Tier definition
258 #
259 #
260 RAWDEBUGEventContent = cms.PSet(
261  outputCommands = cms.untracked.vstring('drop *'),
262  splitLevel = cms.untracked.int32(0),
263  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
264 )
265 #
266 #
267 # RAWDEBUGHLT Data Tier definition
268 #
269 #
270 RAWDEBUGHLTEventContent = cms.PSet(
271  outputCommands = cms.untracked.vstring('drop *'),
272  splitLevel = cms.untracked.int32(0),
273  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
274 )
275 #
276 #
277 # FEVTDEBUG Data Tier definition
278 #
279 #
280 FEVTDEBUGEventContent = cms.PSet(
281  outputCommands = cms.untracked.vstring('drop *'),
282  splitLevel = cms.untracked.int32(0),
283  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
284 )
285 
286 
287 #
288 #
289 # FEVTDEBUGHLT Data Tier definition
290 #
291 #
292 FEVTDEBUGHLTEventContent = cms.PSet(
293  outputCommands = cms.untracked.vstring('drop *'),
294  splitLevel = cms.untracked.int32(0),
295  eventAutoFlushCompressedSize=cms.untracked.int32(1*1024*1024)
296 )
297 
298 #
299 #
300 # RECOSIMDEBUG Data Tier definition
301 #
302 #
303 RECODEBUGEventContent = cms.PSet(
304  outputCommands = cms.untracked.vstring('drop *'),
305  splitLevel = cms.untracked.int32(0),
306  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
307 )
308 
309 
310 #
311 ## HLTDEBUG tier definition
312 #
313 HLTDEBUGEventContent = cms.PSet(
314  #outputCommands = cms.untracked.vstring('drop *',
315  # 'keep *_hlt*_*_*')
316  outputCommands = cms.untracked.vstring('drop *',
317  'keep *_logErrorHarvester_*_*'),
318  splitLevel = cms.untracked.int32(0),
319  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
320 )
321 
322 #
323 #
324 ## DQM event content
325 #
326 #
327 DQMEventContent = cms.PSet(
328  outputCommands = cms.untracked.vstring('drop *',
329  'keep *_MEtoEDMConverter_*_*'),
330  splitLevel = cms.untracked.int32(0)
331  )
332 
333 #Special Event Content for MixingModule and DataMixer
334 DATAMIXEREventContent = cms.PSet(
335  outputCommands = cms.untracked.vstring('drop *',
336  'keep CSCDetIdCSCALCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCALCTDigi_*',
337  'keep CSCDetIdCSCCLCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCCLCTDigi_*',
338  'keep CSCDetIdCSCComparatorDigiMuonDigiCollection_muonCSCDigis_MuonCSCComparatorDigi_*',
339  'keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_csctfDigis_*_*',
340  'keep CSCDetIdCSCCorrelatedLCTDigiMuonDigiCollection_muonCSCDigis_MuonCSCCorrelatedLCTDigi_*',
341  'keep CSCDetIdCSCRPCDigiMuonDigiCollection_muonCSCDigis_MuonCSCRPCDigi_*',
342  'keep CSCDetIdCSCStripDigiMuonDigiCollection_muonCSCDigis_MuonCSCStripDigi_*',
343  'keep CSCDetIdCSCWireDigiMuonDigiCollection_muonCSCDigis_MuonCSCWireDigi_*',
344  'keep DTLayerIdDTDigiMuonDigiCollection_muonDTDigis_*_*',
345  'keep PixelDigiedmDetSetVector_siPixelDigis_*_*',
346  'keep SiStripDigiedmDetSetVector_siStripDigis_*_*',
347  'keep RPCDetIdRPCDigiMuonDigiCollection_muonRPCDigis_*_*',
348  'keep HBHEDataFramesSorted_hcalDigis_*_*',
349  'keep HFDataFramesSorted_hcalDigis_*_*',
350  'keep HODataFramesSorted_hcalDigis_*_*',
351  'keep ZDCDataFramesSorted_hcalDigis_*_*',
352  'keep CastorDataFramesSorted_castorDigis_*_*',
353  'keep EBDigiCollection_ecalDigis_*_*',
354  'keep EEDigiCollection_ecalDigis_*_*',
355  'keep ESDigiCollection_ecalPreshowerDigis_*_*'),
356  splitLevel = cms.untracked.int32(0),
357  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
358  )
359 
360 PREMIXEventContent = cms.PSet(
361  outputCommands = cms.untracked.vstring('drop *'),
362  splitLevel = cms.untracked.int32(0),
363  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
364  )
365 
366 MIXINGMODULEEventContent = cms.PSet(
367  outputCommands = cms.untracked.vstring('drop *',
368  'keep *_cfWriter_*_*'),
369  splitLevel = cms.untracked.int32(0),
370  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
371  )
372 
373 # PREMIXRAW Data Tier definition
374 #
375 #
376 PREMIXRAWEventContent = cms.PSet(
377  outputCommands = cms.untracked.vstring('drop *'),
378  splitLevel = cms.untracked.int32(0),
379  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
380 )
381 
382 #
383 #
384 ## RAW repacked event content definition
385 #
386 #
387 REPACKRAWEventContent = cms.PSet(
388  outputCommands = cms.untracked.vstring(
389  'drop *',
390  'drop FEDRawDataCollection_*_*_*',
391  'keep FEDRawDataCollection_rawDataRepacker_*_*',
392  'keep FEDRawDataCollection_virginRawDataRepacker_*_*'),
393  splitLevel = cms.untracked.int32(0),
394  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
395  )
396 REPACKRAWSIMEventContent = cms.PSet(
397  outputCommands = cms.untracked.vstring(),
398  splitLevel = cms.untracked.int32(0),
399  eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
400 )
401 
402 LHEEventContent.outputCommands.extend(GeneratorInterfaceLHE.outputCommands)
403 
404 HLTDEBUGEventContent.outputCommands.extend(HLTDebugFEVT.outputCommands)
405 
406 RAWEventContent.outputCommands.extend(L1TriggerRAW.outputCommands)
407 RAWEventContent.outputCommands.extend(HLTriggerRAW.outputCommands)
408 
409 REPACKRAWEventContent.outputCommands.extend(L1TriggerRAW.outputCommands)
410 REPACKRAWEventContent.outputCommands.extend(HLTriggerRAW.outputCommands)
411 
412 
413 RECOEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
414 RECOEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
415 RECOEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
416 RECOEventContent.outputCommands.extend(RecoEcalRECO.outputCommands)
417 RECOEventContent.outputCommands.extend(TrackingToolsRECO.outputCommands)
418 RECOEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)
419 RECOEventContent.outputCommands.extend(RecoJetsRECO.outputCommands)
420 RECOEventContent.outputCommands.extend(RecoMETRECO.outputCommands)
421 RECOEventContent.outputCommands.extend(RecoMuonRECO.outputCommands)
422 RECOEventContent.outputCommands.extend(RecoBTauRECO.outputCommands)
423 RECOEventContent.outputCommands.extend(RecoBTagRECO.outputCommands)
424 RECOEventContent.outputCommands.extend(RecoTauTagRECO.outputCommands)
425 RECOEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)
426 RECOEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)
427 RECOEventContent.outputCommands.extend(RecoPixelVertexingRECO.outputCommands)
428 RECOEventContent.outputCommands.extend(RecoParticleFlowRECO.outputCommands)
429 RECOEventContent.outputCommands.extend(BeamSpotRECO.outputCommands)
430 RECOEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)
431 RECOEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)
432 RECOEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
433 RECOEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)
434 RECOEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
435 RECOEventContent.outputCommands.extend(CommonEventContent.outputCommands)
436 RECOEventContent.outputCommands.extend(EITopPAGEventContent.outputCommands)
437 
438 RAWRECOEventContent.outputCommands.extend(RECOEventContent.outputCommands)
439 RAWRECOEventContent.outputCommands.extend(cms.untracked.vstring(
440  'keep FEDRawDataCollection_rawDataCollector_*_*',
441  'keep FEDRawDataCollection_source_*_*'
442 ))
443 
444 AODEventContent.outputCommands.extend(RecoLocalTrackerAOD.outputCommands)
445 AODEventContent.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
446 AODEventContent.outputCommands.extend(RecoLocalCaloAOD.outputCommands)
447 AODEventContent.outputCommands.extend(RecoEcalAOD.outputCommands)
448 AODEventContent.outputCommands.extend(TrackingToolsAOD.outputCommands)
449 AODEventContent.outputCommands.extend(RecoTrackerAOD.outputCommands)
450 AODEventContent.outputCommands.extend(RecoJetsAOD.outputCommands)
451 AODEventContent.outputCommands.extend(RecoMETAOD.outputCommands)
452 AODEventContent.outputCommands.extend(RecoMuonAOD.outputCommands)
453 AODEventContent.outputCommands.extend(RecoBTauAOD.outputCommands)
454 AODEventContent.outputCommands.extend(RecoBTagAOD.outputCommands)
455 AODEventContent.outputCommands.extend(RecoTauTagAOD.outputCommands)
456 AODEventContent.outputCommands.extend(RecoVertexAOD.outputCommands)
457 AODEventContent.outputCommands.extend(RecoEgammaAOD.outputCommands)
458 AODEventContent.outputCommands.extend(RecoParticleFlowAOD.outputCommands)
459 AODEventContent.outputCommands.extend(BeamSpotAOD.outputCommands)
460 AODEventContent.outputCommands.extend(L1TriggerAOD.outputCommands)
461 AODEventContent.outputCommands.extend(HLTriggerAOD.outputCommands)
462 AODEventContent.outputCommands.extend(MEtoEDMConverterAOD.outputCommands)
463 AODEventContent.outputCommands.extend(EvtScalersAOD.outputCommands)
464 AODEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
465 AODEventContent.outputCommands.extend(CommonEventContent.outputCommands)
466 AODEventContent.outputCommands.extend(EITopPAGEventContent.outputCommands)
467 
468 RAWSIMEventContent.outputCommands.extend(RAWEventContent.outputCommands)
469 RAWSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
470 RAWSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
471 RAWSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
472 RAWSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
473 RAWSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
474 RAWSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
475 RAWSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
476 RAWSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
477 RAWSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
478 RAWSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
479 RAWSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
480 RAWSIMEventContent.outputCommands.extend(CommonEventContent.outputCommands)
481 
482 RAWSIMHLTEventContent.outputCommands.extend(RAWSIMEventContent.outputCommands)
483 RAWSIMHLTEventContent.outputCommands.extend(HLTDebugRAW.outputCommands)
484 
485 GENRAWEventContent.outputCommands.extend(RAWEventContent.outputCommands)
486 GENRAWEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
487 GENRAWEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
488 GENRAWEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
489 GENRAWEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
490 GENRAWEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
491 GENRAWEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
492 GENRAWEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
493 GENRAWEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
494 GENRAWEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
495 GENRAWEventContent.outputCommands.extend(IOMCRAW.outputCommands)
496 GENRAWEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
497 GENRAWEventContent.outputCommands.extend(CommonEventContent.outputCommands)
498 
499 PREMIXEventContent.outputCommands.extend(RAWEventContent.outputCommands)
500 PREMIXEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
501 PREMIXEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
502 PREMIXEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
503 PREMIXEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
504 PREMIXEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
505 PREMIXEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
506 PREMIXEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
507 PREMIXEventContent.outputCommands.extend(IOMCRAW.outputCommands)
508 PREMIXEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
509 PREMIXEventContent.outputCommands.extend(CommonEventContent.outputCommands)
510 PREMIXEventContent.outputCommands.append('keep RPCDetIdRPCDigiMuonDigiCollection_simMuonRPCDigis_*_*')
511 PREMIXEventContent.outputCommands.append('keep *_mix_MergedTrackTruth_*')
512 PREMIXEventContent.outputCommands.append('keep StripDigiSimLinkedmDetSetVector_simSiStripDigis_*_*')
513 PREMIXEventContent.outputCommands.append('keep PixelDigiSimLinkedmDetSetVector_simSiPixelDigis_*_*')
514 PREMIXEventContent.outputCommands.append('keep StripDigiSimLinkedmDetSetVector_simMuonCSCDigis_*_*')
515 PREMIXEventContent.outputCommands.append('keep RPCDigiSimLinkedmDetSetVector_*_*_*')
516 PREMIXEventContent.outputCommands.append('keep DTLayerIdDTDigiSimLinkMuonDigiCollection_*_*_*')
517 
518 PREMIXRAWEventContent.outputCommands.extend(RAWSIMEventContent.outputCommands)
519 PREMIXRAWEventContent.outputCommands.append('keep CrossingFramePlaybackInfoNew_*_*_*')
520 PREMIXRAWEventContent.outputCommands.append('drop CrossingFramePlaybackInfoNew_mix_*_*')
521 PREMIXRAWEventContent.outputCommands.append('keep *_*_MergedTrackTruth_*')
522 PREMIXRAWEventContent.outputCommands.append('keep *_*_StripDigiSimLink_*')
523 PREMIXRAWEventContent.outputCommands.append('keep *_*_PixelDigiSimLink_*')
524 PREMIXRAWEventContent.outputCommands.append('keep *_*_MuonCSCStripDigiSimLinks_*')
525 PREMIXRAWEventContent.outputCommands.append('keep *_*_MuonCSCWireDigiSimLinks_*')
526 PREMIXRAWEventContent.outputCommands.append('keep *_*_RPCDigiSimLink_*')
527 PREMIXRAWEventContent.outputCommands.append('keep DTLayerIdDTDigiSimLinkMuonDigiCollection_*_*_*')
528 
529 
530 REPACKRAWSIMEventContent.outputCommands.extend(REPACKRAWEventContent.outputCommands)
531 REPACKRAWSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
532 REPACKRAWSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
533 REPACKRAWSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
534 REPACKRAWSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
535 REPACKRAWSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
536 REPACKRAWSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
537 REPACKRAWSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
538 REPACKRAWSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
539 REPACKRAWSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
540 REPACKRAWSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
541 REPACKRAWSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
542 REPACKRAWSIMEventContent.outputCommands.extend(CommonEventContent.outputCommands)
543 
544 RECOSIMEventContent.outputCommands.extend(RECOEventContent.outputCommands)
545 RECOSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
546 RECOSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
547 RECOSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
548 RECOSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
549 RECOSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
550 RECOSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
551 RECOSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
552 RECOSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
553 RECOSIMEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
554 
555 AODSIMEventContent.outputCommands.extend(AODEventContent.outputCommands)
556 AODSIMEventContent.outputCommands.extend(GeneratorInterfaceAOD.outputCommands)
557 AODSIMEventContent.outputCommands.extend(SimG4CoreAOD.outputCommands)
558 AODSIMEventContent.outputCommands.extend(SimTrackerAOD.outputCommands)
559 AODSIMEventContent.outputCommands.extend(SimMuonAOD.outputCommands)
560 AODSIMEventContent.outputCommands.extend(SimCalorimetryAOD.outputCommands)
561 AODSIMEventContent.outputCommands.extend(RecoGenJetsAOD.outputCommands)
562 AODSIMEventContent.outputCommands.extend(RecoGenMETAOD.outputCommands)
563 AODSIMEventContent.outputCommands.extend(SimGeneralAOD.outputCommands)
564 AODSIMEventContent.outputCommands.extend(MEtoEDMConverterAOD.outputCommands)
565 
566 RAWRECOSIMHLTEventContent.outputCommands.extend(RAWRECOEventContent.outputCommands)
567 RAWRECOSIMHLTEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
568 RAWRECOSIMHLTEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
569 RAWRECOSIMHLTEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
570 RAWRECOSIMHLTEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
571 RAWRECOSIMHLTEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
572 RAWRECOSIMHLTEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
573 RAWRECOSIMHLTEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
574 RAWRECOSIMHLTEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
575 RAWRECOSIMHLTEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
576 RAWRECOSIMHLTEventContent.outputCommands.extend(HLTDebugRAW.outputCommands)
577 
578 RAWRECODEBUGHLTEventContent.outputCommands.extend(RAWRECOSIMHLTEventContent.outputCommands)
579 RAWRECODEBUGHLTEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
580 RAWRECODEBUGHLTEventContent.outputCommands.extend(SimTrackerDEBUG.outputCommands)
581 
582 FEVTEventContent.outputCommands.extend(RAWEventContent.outputCommands)
583 FEVTEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
584 FEVTEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
585 FEVTEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
586 FEVTEventContent.outputCommands.extend(RecoEcalRECO.outputCommands)
587 FEVTEventContent.outputCommands.extend(TrackingToolsRECO.outputCommands)
588 FEVTEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)
589 FEVTEventContent.outputCommands.extend(RecoJetsRECO.outputCommands)
590 FEVTEventContent.outputCommands.extend(RecoMETRECO.outputCommands)
591 FEVTEventContent.outputCommands.extend(RecoMuonRECO.outputCommands)
592 FEVTEventContent.outputCommands.extend(RecoBTauRECO.outputCommands)
593 FEVTEventContent.outputCommands.extend(RecoBTagRECO.outputCommands)
594 FEVTEventContent.outputCommands.extend(RecoTauTagRECO.outputCommands)
595 FEVTEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)
596 FEVTEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)
597 FEVTEventContent.outputCommands.extend(RecoPixelVertexingRECO.outputCommands)
598 FEVTEventContent.outputCommands.extend(RecoParticleFlowRECO.outputCommands)
599 FEVTEventContent.outputCommands.extend(BeamSpotRECO.outputCommands)
600 FEVTEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)
601 FEVTEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)
602 FEVTEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
603 FEVTEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)
604 FEVTEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
605 FEVTEventContent.outputCommands.extend(CommonEventContent.outputCommands)
606 FEVTEventContent.outputCommands.extend(EITopPAGEventContent.outputCommands)
607 
608 FEVTHLTALLEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
609 FEVTHLTALLEventContent.outputCommands.append('keep *_*_*_HLT')
610 
611 
612 FEVTSIMEventContent.outputCommands.extend(RAWEventContent.outputCommands)
613 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
614 FEVTSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
615 FEVTSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
616 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
617 FEVTSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
618 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
619 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
620 FEVTSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
621 FEVTSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
622 FEVTSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
623 FEVTSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
624 FEVTSIMEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
625 FEVTSIMEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
626 FEVTSIMEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
627 FEVTSIMEventContent.outputCommands.extend(RecoEcalRECO.outputCommands)
628 FEVTSIMEventContent.outputCommands.extend(TrackingToolsRECO.outputCommands)
629 FEVTSIMEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)
630 FEVTSIMEventContent.outputCommands.extend(RecoJetsRECO.outputCommands)
631 FEVTSIMEventContent.outputCommands.extend(RecoMETRECO.outputCommands)
632 FEVTSIMEventContent.outputCommands.extend(RecoMuonRECO.outputCommands)
633 FEVTSIMEventContent.outputCommands.extend(RecoBTauRECO.outputCommands)
634 FEVTSIMEventContent.outputCommands.extend(RecoBTagRECO.outputCommands)
635 FEVTSIMEventContent.outputCommands.extend(RecoTauTagRECO.outputCommands)
636 FEVTSIMEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)
637 FEVTSIMEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)
638 FEVTSIMEventContent.outputCommands.extend(RecoPixelVertexingRECO.outputCommands)
639 FEVTSIMEventContent.outputCommands.extend(RecoParticleFlowRECO.outputCommands)
640 FEVTSIMEventContent.outputCommands.extend(BeamSpotRECO.outputCommands)
641 FEVTSIMEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)
642 FEVTSIMEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)
643 FEVTSIMEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
644 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
645 FEVTSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
646 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
647 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
648 FEVTSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
649 FEVTSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
650 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
651 FEVTSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
652 FEVTSIMEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
653 FEVTSIMEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)
654 FEVTSIMEventContent.outputCommands.extend(CommonEventContent.outputCommands)
655 FEVTSIMEventContent.outputCommands.extend(EITopPAGEventContent.outputCommands)
656 FEVTSIMEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
657 RAWDEBUGEventContent.outputCommands.extend(RAWSIMEventContent.outputCommands)
658 RAWDEBUGEventContent.outputCommands.extend(SimTrackerDEBUG.outputCommands)
659 RAWDEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
660 RAWDEBUGEventContent.outputCommands.extend(L1TriggerRAWDEBUG.outputCommands)
661 RAWDEBUGHLTEventContent.outputCommands.extend(RAWDEBUGEventContent.outputCommands)
662 RAWDEBUGHLTEventContent.outputCommands.extend(HLTDebugRAW.outputCommands)
663 FEVTDEBUGEventContent.outputCommands.extend(FEVTSIMEventContent.outputCommands)
664 FEVTDEBUGEventContent.outputCommands.extend(L1TriggerFEVTDEBUG.outputCommands)
665 FEVTDEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
666 FEVTDEBUGEventContent.outputCommands.extend(SimTrackerFEVTDEBUG.outputCommands)
667 FEVTDEBUGEventContent.outputCommands.extend(SimMuonFEVTDEBUG.outputCommands)
668 FEVTDEBUGEventContent.outputCommands.extend(SimCalorimetryFEVTDEBUG.outputCommands)
669 FEVTDEBUGHLTEventContent.outputCommands.extend(FEVTDEBUGEventContent.outputCommands)
670 FEVTDEBUGHLTEventContent.outputCommands.extend(HLTDebugFEVT.outputCommands)
671 FEVTDEBUGHLTEventContent.outputCommands.append('keep *_*_MergedTrackTruth_*')
672 FEVTDEBUGHLTEventContent.outputCommands.append('keep *_*_StripDigiSimLink_*')
673 FEVTDEBUGHLTEventContent.outputCommands.append('keep *_*_PixelDigiSimLink_*')
674 FEVTDEBUGHLTEventContent.outputCommands.append('keep *_*_MuonCSCStripDigiSimLinks_*')
675 FEVTDEBUGHLTEventContent.outputCommands.append('keep *_*_MuonCSCWireDigiSimLinks_*')
676 FEVTDEBUGHLTEventContent.outputCommands.append('keep *_*_RPCDigiSimLink_*')
677 FEVTDEBUGHLTEventContent.outputCommands.append('keep DTLayerIdDTDigiSimLinkMuonDigiCollection_*_*_*')
678 RECODEBUGEventContent.outputCommands.extend(RECOSIMEventContent.outputCommands)
679 RECODEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
680 RECODEBUGEventContent.outputCommands.extend(SimTrackerDEBUG.outputCommands)
681 
682 REPACKRAWSIMEventContent.outputCommands.extend(['drop FEDRawDataCollection_source_*_*',
683  'drop FEDRawDataCollection_rawDataCollector_*_*'])
684 REPACKRAWEventContent.outputCommands.extend(['drop FEDRawDataCollection_source_*_*',
685  'drop FEDRawDataCollection_rawDataCollector_*_*'])
686 
687 #from modules in Configuration.StandardSequence.Generator_cff fixGenInfo
688 REGENEventContent = cms.PSet(
689  inputCommands=cms.untracked.vstring(
690  'keep *',
691  'drop *_genParticles_*_*',
692  'drop *_genParticlesForJets_*_*',
693  'drop *_kt4GenJets_*_*',
694  'drop *_kt6GenJets_*_*',
695  'drop *_iterativeCone5GenJets_*_*',
696  'drop *_ak4GenJets_*_*',
697  'drop *_ak7GenJets_*_*',
698  'drop *_ak8GenJets_*_*',
699  'drop *_ak4GenJetsNoNu_*_*',
700  'drop *_ak8GenJetsNoNu_*_*',
701  'drop *_genCandidatesForMET_*_*',
702  'drop *_genParticlesForMETAllVisible_*_*',
703  'drop *_genMetCalo_*_*',
704  'drop *_genMetCaloAndNonPrompt_*_*',
705  'drop *_genMetTrue_*_*',
706  'drop *_genMetIC5GenJs_*_*'
707  )
708 )
709 
711  r=[]
712  for item in l:
713  if 'keep ' in item:
714  r.append(item.replace('keep ','drop '))
715  elif 'drop ' in item:
716  r.append(item.replace('drop ','keep '))
717  return r
718 
719 RESIMEventContent = cms.PSet(
720  inputCommands=cms.untracked.vstring('drop *')
721  )
722 RESIMEventContent.inputCommands.extend(IOMCRAW.outputCommands)
723 RESIMEventContent.inputCommands.extend(GeneratorInterfaceRAW.outputCommands)
724 #RESIMEventContent.inputCommands.extend(SwapKeepAndDrop(SimG4CoreRAW.outputCommands))
725 #RESIMEventContent.inputCommands.extend(SwapKeepAndDrop(GeneratorInterfaceRAW.outputCommands))
726 
727 REDIGIEventContent = cms.PSet(
728  inputCommands=cms.untracked.vstring('drop *')
729  )
730 REDIGIEventContent.inputCommands.extend(SimG4CoreRAW.outputCommands)
731 REDIGIEventContent.inputCommands.extend(IOMCRAW.outputCommands)
732 REDIGIEventContent.inputCommands.extend(GeneratorInterfaceRAW.outputCommands)
733 REDIGIEventContent.inputCommands.append('drop *_randomEngineStateProducer_*_*')
734 
735 
736 ########### and mini AOD
737 
738 MINIAODEventContent= cms.PSet(
739  outputCommands = cms.untracked.vstring('drop *'),
740  eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024),
741  compressionAlgorithm=cms.untracked.string("LZMA"),
742  compressionLevel=cms.untracked.int32(4)
743 )
744 
745 MINIAODSIMEventContent= cms.PSet(
746  outputCommands = cms.untracked.vstring('drop *'),
747  eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024),
748  compressionAlgorithm=cms.untracked.string("LZMA"),
749  compressionLevel=cms.untracked.int32(4)
750 )
751 
752 from PhysicsTools.PatAlgos.slimming.slimming_cff import MicroEventContent,MicroEventContentMC
753 
754 MINIAODEventContent.outputCommands.extend(MicroEventContent.outputCommands)
755 MINIAODSIMEventContent.outputCommands.extend(MicroEventContentMC.outputCommands)
756 
757 #
758 #
759 # RAWSIM Data Tier definition
760 #
761 #
762 RAWAODSIMEventContent = cms.PSet(
763  outputCommands = cms.untracked.vstring('drop *'),
764  eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024),
765  compressionAlgorithm=cms.untracked.string("LZMA"),
766  compressionLevel=cms.untracked.int32(4)
767 )
768 
769 RAWAODSIMEventContent.outputCommands.extend(AODSIMEventContent.outputCommands)
770 RAWAODSIMEventContent.outputCommands.extend(L1TriggerRAW.outputCommands)
771 RAWAODSIMEventContent.outputCommands.extend(HLTriggerRAW.outputCommands)
772 
773 
774