-
Notifications
You must be signed in to change notification settings - Fork 4.3k
/
Copy pathtest_TopMuEG_SKIM.py
585 lines (567 loc) · 28.5 KB
/
test_TopMuEG_SKIM.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
# Auto generated configuration file
# using:
# Revision: 1.19
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
# with command line options: skims -s SKIM:TopMuEG --mc --dasquery=file dataset=/RelValTTbar_14TeV/CMSSW_13_2_0_pre1-PU_131X_mcRun3_2022_realistic_v3-v1/GEN-SIM-RECO -n 100 --conditions auto:phase1_2022_realistic --eventcontent=FEVTDEBUGHLT --datatier=RAW-RECO --python_filename=test_TopMuEG_SKIM.py --processName=SKIMTopMuEG --no_exec --era=Run3
import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Era_Run3_cff import Run3
process = cms.Process('SKIMTopMuEG',Run3)
# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.Skims_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(100),
output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
)
# Input source
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'/store/relval/CMSSW_13_0_0/RelValTTbar_14TeV/GEN-SIM-RECO/130X_mcRun3_2022_realistic_v2-v1/00000/120127ad-f806-4494-8d98-f69ef0b2a85a.root',
'/store/relval/CMSSW_13_0_0/RelValTTbar_14TeV/GEN-SIM-RECO/130X_mcRun3_2022_realistic_v2-v1/00000/3be6dcf5-9b42-4bd4-b437-23c9753134e0.root',
'/store/relval/CMSSW_13_0_0/RelValTTbar_14TeV/GEN-SIM-RECO/130X_mcRun3_2022_realistic_v2-v1/00000/545d64b5-2ee2-4cac-b3de-9123e4890b9f.root',
),
secondaryFileNames = cms.untracked.vstring()
)
process.options = cms.untracked.PSet(
IgnoreCompletely = cms.untracked.vstring(),
Rethrow = cms.untracked.vstring(),
TryToContinue = cms.untracked.vstring(),
accelerators = cms.untracked.vstring('*'),
allowUnscheduled = cms.obsolete.untracked.bool,
canDeleteEarly = cms.untracked.vstring(),
deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
dumpOptions = cms.untracked.bool(False),
emptyRunLumiMode = cms.obsolete.untracked.string,
eventSetup = cms.untracked.PSet(
forceNumberOfConcurrentIOVs = cms.untracked.PSet(
allowAnyLabel_=cms.required.untracked.uint32
),
numberOfConcurrentIOVs = cms.untracked.uint32(0)
),
fileMode = cms.untracked.string('FULLMERGE'),
forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
holdsReferencesToDeleteEarly = cms.untracked.VPSet(),
makeTriggerResults = cms.obsolete.untracked.bool,
modulesToIgnoreForDeleteEarly = cms.untracked.vstring(),
numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
numberOfConcurrentRuns = cms.untracked.uint32(1),
numberOfStreams = cms.untracked.uint32(0),
numberOfThreads = cms.untracked.uint32(1),
printDependencies = cms.untracked.bool(False),
sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
throwIfIllegalParameter = cms.untracked.bool(True),
wantSummary = cms.untracked.bool(False)
)
# Production Info
process.configurationMetadata = cms.untracked.PSet(
annotation = cms.untracked.string('skims nevts:100'),
name = cms.untracked.string('Applications'),
version = cms.untracked.string('$Revision: 1.19 $')
)
# Output definition
process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
dataset = cms.untracked.PSet(
dataTier = cms.untracked.string('RAW-RECO'),
filterName = cms.untracked.string('')
),
fileName = cms.untracked.string('skims_SKIM.root'),
outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
splitLevel = cms.untracked.int32(0)
)
# Additional output definition
process.SKIMStreamTopMuEG = cms.OutputModule("PoolOutputModule",
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('TopMuEGPath')
),
dataset = cms.untracked.PSet(
dataTier = cms.untracked.string('RAW-RECO'),
filterName = cms.untracked.string('TopMuEG')
),
eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
fileName = cms.untracked.string('TopMuEG.root'),
outputCommands = cms.untracked.vstring( (
'drop *',
'drop *',
'keep FEDRawDataCollection_rawDataCollector_*_*',
'keep FEDRawDataCollection_source_*_*',
'keep FEDRawDataCollection_rawDataCollector_*_*',
'keep FEDRawDataCollection_source_*_*',
'drop *_hlt*_*_*',
'keep FEDRawDataCollection_rawDataCollector_*_*',
'keep FEDRawDataCollection_source_*_*',
'keep GlobalObjectMapRecord_hltGtStage2ObjectMap_*_*',
'keep edmTriggerResults_*_*_*',
'keep triggerTriggerEvent_*_*_*',
'keep *_hltFEDSelectorL1_*_*',
'keep *_hltScoutingEgammaPacker_*_*',
'keep *_hltScoutingMuonPacker_*_*',
'keep *_hltScoutingPFPacker_*_*',
'keep *_hltScoutingPrimaryVertexPacker_*_*',
'keep *_hltScoutingTrackPacker_*_*',
'keep edmTriggerResults_*_*_*',
'keep DetIds_siStripDigis_*_*',
'keep DetIdedmEDCollection_siPixelDigis_*_*',
'keep PixelFEDChanneledmNewDetSetVector_siPixelDigis_*_*',
'keep *_siPixelClusters_*_*',
'keep *_siStripClusters_*_*',
'keep ClusterSummary_clusterSummaryProducer_*_*',
'keep *_dt1DRecHits_*_*',
'keep *_dt1DCosmicRecHits_*_*',
'keep *_csc2DRecHits_*_*',
'keep *_dt4DSegments_*_*',
'keep *_dt4DCosmicSegments_*_*',
'keep *_cscSegments_*_*',
'keep *_rpcRecHits_*_*',
'keep *_dt1DRecHits_*_*',
'keep *_csc2DRecHits_*_*',
'keep *_gemRecHits_*_*',
'keep *_gemSegments_*_*',
'keep *_hbhereco_*_*',
'keep *_hbheprereco_*_*',
'keep *_hfprereco_*_*',
'keep *_hfreco_*_*',
'keep *_horeco_*_*',
'keep HBHERecHitsSorted_hbherecoMB_*_*',
'keep HORecHitsSorted_horecoMB_*_*',
'keep HFRecHitsSorted_hfrecoMB_*_*',
'keep ZDCDataFramesSorted_hcalDigis_*_*',
'keep ZDCDataFramesSorted_castorDigis_*_*',
'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
'keep ZDCRecHitsSorted_zdcreco_*_*',
'keep *_castorreco_*_*',
'keep *_reducedHcalRecHits_*_*',
'keep HcalUnpackerReport_castorDigis_*_*',
'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
'keep HcalUnpackerReport_hcalDigis_*_*',
'keep *_ecalPreshowerRecHit_*_*',
'keep *_ecalRecHit_*_*',
'keep *_ecalCompactTrigPrim_*_*',
'keep *_ecalTPSkim_*_*',
'keep EBSrFlagsSorted_ecalDigis__*',
'keep EESrFlagsSorted_ecalDigis__*',
'keep *_hybridSuperClusters_*_*',
'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
'keep *_multi5x5SuperClusters_*_*',
'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
'keep *_particleFlowSuperClusterECAL_*_*',
'keep *_particleFlowSuperClusterOOTECAL_*_*',
'drop recoClusterShapes_*_*_*',
'drop recoBasicClustersToOnerecoClusterShapesAssociation_*_*_*',
'drop recoBasicClusters_multi5x5BasicClusters_multi5x5BarrelBasicClusters_*',
'drop recoSuperClusters_multi5x5SuperClusters_multi5x5BarrelSuperClusters_*',
'keep *_selectDigi_*_*',
'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
'keep EcalRecHitsSorted_reducedEcalRecHitsES_*_*',
'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
'keep recoCaloClusters_hybridSuperClusters_*_*',
'keep recoSuperClusters_hybridSuperClusters_uncleanOnlyHybridSuperClusters_*',
'keep recoCaloClusters_multi5x5SuperClusters_multi5x5EndcapBasicClusters_*',
'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
'keep recoPreshowerClusters_multi5x5SuperClustersWithPreshower_*_*',
'keep recoPreshowerClusterShapes_multi5x5PreshowerClusterShape_*_*',
'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
'keep recoSuperClusters_particleFlowSuperClusterOOTECAL_*_*',
'keep recoCaloClusters_particleFlowSuperClusterOOTECAL_*_*',
'keep *_CkfElectronCandidates_*_*',
'keep *_GsfGlobalElectronTest_*_*',
'keep *_electronMergedSeeds_*_*',
'keep recoGsfTrackExtras_electronGsfTracks_*_*',
'keep recoTrackExtras_electronGsfTracks_*_*',
'keep TrackingRecHitsOwned_electronGsfTracks_*_*',
'keep recoTracks_GsfGlobalElectronTest_*_*',
'keep recoGsfTracks_electronGsfTracks_*_*',
'keep recoTrackExtras_generalTracks_*_*',
'keep TrackingRecHitsOwned_generalTracks_*_*',
'keep TrackingRecHitsOwned_extraFromSeeds_*_*',
'keep uints_extraFromSeeds_*_*',
'keep recoTrackExtras_beamhaloTracks_*_*',
'keep TrackingRecHitsOwned_beamhaloTracks_*_*',
'keep recoTrackExtras_conversionStepTracks_*_*',
'keep TrackingRecHitsOwned_conversionStepTracks_*_*',
'keep *_ctfPixelLess_*_*',
'keep *_dedxTruncated40_*_*',
'keep recoTracks_generalTracks_*_*',
'keep recoTracks_conversionStepTracks_*_*',
'keep recoTracks_beamhaloTracks_*_*',
'keep recoTracks_ctfPixelLess_*_*',
'keep *_dedxHarmonic2_*_*',
'keep *_dedxPixelHarmonic2_*_*',
'keep *_dedxHitInfo_*_*',
'keep *_trackExtrapolator_*_*',
'keep *_generalTracks_MVAValues_*',
'keep *_generalTracks_MVAVals_*',
'keep *_ak4CaloJets_*_*',
'keep *_ak4PFJets_*_*',
'keep *_ak4TrackJets_*_*',
'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
'keep *_towerMaker_*_*',
'keep *_ak4JetTracksAssociatorAtCaloFace_*_*',
'keep *_ak5CastorJets_*_*',
'keep *_ak7CastorJets_*_*',
'keep recoCaloJets_ak4CaloJets_*_*',
'keep *_ak4CaloJets_rho_*',
'keep *_ak4CaloJets_sigma_*',
'keep *_ak4PFJetsCHS_*_*',
'keep floatedmValueMap_puppi_*_*',
'keep *_ak4PFJetsPuppi_*_*',
'keep *_ak8PFJetsPuppi_*_*',
'keep *_ak8PFJetsPuppiSoftDrop_*_*',
'keep recoPFJets_ak4PFJets_*_*',
'keep *_ak4PFJets_rho_*',
'keep *_ak4PFJets_sigma_*',
'keep *_JetPlusTrackZSPCorJetAntiKt4_*_*',
'keep *_caloTowers_*_*',
'keep *_CastorTowerReco_*_*',
'keep *_ak4JetTracksAssociatorAtVertex_*_*',
'keep *_ak4JetTracksAssociatorAtVertexPF_*_*',
'keep *_ak4JetTracksAssociatorExplicit_*_*',
'keep *_ak4JetExtender_*_*',
'keep *_ak4JetID_*_*',
'keep recoBasicJets_ak5CastorJets_*_*',
'keep *_ak5CastorJets_rho_*',
'keep *_ak5CastorJets_sigma_*',
'keep *_ak5CastorJetID_*_*',
'keep recoBasicJets_ak7CastorJets_*_*',
'keep *_ak7CastorJets_rho_*',
'keep *_ak7CastorJets_sigma_*',
'keep *_ak7CastorJetID_*_*',
'keep *_fixedGridRhoAll_*_*',
'keep *_fixedGridRhoFastjetAll_*_*',
'keep *_fixedGridRhoFastjetAllTmp_*_*',
'keep *_fixedGridRhoFastjetCentral_*_*',
'keep *_fixedGridRhoFastjetAllCalo_*_*',
'keep *_fixedGridRhoFastjetCentralCalo_*_*',
'keep *_fixedGridRhoFastjetCentralChargedPileUp_*_*',
'keep *_fixedGridRhoFastjetCentralNeutral_*_*',
'keep *_ak8PFJetsPuppiSoftDropMass_*_*',
'keep recoHcalNoiseRBXs_hcalnoise_*_*',
'keep recoEcalHaloData_EcalHaloData_*_*',
'keep recoHcalHaloData_HcalHaloData_*_*',
'keep recoCaloMETs_caloMet_*_*',
'keep recoCaloMETs_caloMetBE_*_*',
'keep recoCaloMETs_caloMetBEFO_*_*',
'keep recoCaloMETs_caloMetM_*_*',
'keep recoPFMETs_pfMet_*_*',
'keep recoPFMETs_pfChMet_*_*',
'keep floatedmValueMap_puppiNoLep_*_*',
'keep recoPFMETs_pfMetPuppi_*_*',
'keep recoMuonMETCorrectionDataedmValueMap_muonMETValueMapProducer_*_*',
'keep HcalNoiseSummary_hcalnoise_*_*',
'keep recoGlobalHaloData_GlobalHaloData_*_*',
'keep recoCSCHaloData_CSCHaloData_*_*',
'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
'keep *_MuonSeed_*_*',
'keep *_ancientMuonSeed_*_*',
'keep *_displacedMuonSeeds_*_*',
'keep TrackingRecHitsOwned_globalMuons_*_*',
'keep TrackingRecHitsOwned_tevMuons_*_*',
'keep *_CosmicMuonSeed_*_*',
'keep recoTrackExtras_cosmicMuons_*_*',
'keep TrackingRecHitsOwned_cosmicMuons_*_*',
'keep recoTrackExtras_cosmicMuons1Leg_*_*',
'keep TrackingRecHitsOwned_cosmicMuons1Leg_*_*',
'keep recoTracks_cosmicsVetoTracks_*_*',
'keep recoMuons_muons_*_*',
'keep booledmValueMap_muons_*_*',
'keep doubleedmValueMap_muons_muPFMean*_*',
'keep doubleedmValueMap_muons_muPFSum*_*',
'keep *_muons_muonShowerInformation_*',
'keep recoMuonTimeExtraedmValueMap_muons_*_*',
'keep recoMuonCosmicCompatibilityedmValueMap_muons_*_*',
'keep uintedmValueMap_muons_*_*',
'keep *_particleFlow_muons_*',
'keep recoMuons_displacedMuons_*_*',
'keep booledmValueMap_displacedMuons_*_*',
'keep doubleedmValueMap_displacedMuons_dispMuPFMean*_*',
'keep doubleedmValueMap_displacedMuons_dispMuPFSum*_*',
'keep recoMuonTimeExtraedmValueMap_displacedMuons_*_*',
'keep uintedmValueMap_displacedMuons_*_*',
'keep *_particleFlow_displacedMuons_*',
'keep recoTracks_standAloneMuons_*_*',
'keep recoTrackExtras_standAloneMuons_*_*',
'keep TrackingRecHitsOwned_standAloneMuons_*_*',
'keep recoTracks_globalMuons_*_*',
'keep recoTrackExtras_globalMuons_*_*',
'keep recoTracks_tevMuons_*_*',
'keep recoTrackExtras_tevMuons_*_*',
'keep recoTracks_generalTracks_*_*',
'keep recoTracks_displacedTracks_*_*',
'keep recoTracksToOnerecoTracksAssociation_tevMuons_*_*',
'keep recoTracks_displacedGlobalMuons_*_*',
'keep recoTrackExtras_displacedGlobalMuons_*_*',
'keep TrackingRecHitsOwned_displacedGlobalMuons_*_*',
'keep recoTracks_cosmicMuons_*_*',
'keep recoMuons_muonsFromCosmics_*_*',
'keep recoTracks_cosmicMuons1Leg_*_*',
'keep recoMuons_muonsFromCosmics1Leg_*_*',
'keep recoTracks_refittedStandAloneMuons_*_*',
'keep recoTrackExtras_refittedStandAloneMuons_*_*',
'keep TrackingRecHitsOwned_refittedStandAloneMuons_*_*',
'keep recoTracks_displacedStandAloneMuons__*',
'keep recoTrackExtras_displacedStandAloneMuons_*_*',
'keep TrackingRecHitsOwned_displacedStandAloneMuons_*_*',
'keep *_muonReducedTrackExtras_*_*',
'keep *_displacedMuonReducedTrackExtras_*_*',
'keep *_muIsoDepositTk_*_*',
'keep *_muIsoDepositCalByAssociatorTowers_*_*',
'keep *_muIsoDepositCalByAssociatorHits_*_*',
'keep *_muIsoDepositJets_*_*',
'keep *_muIsoDepositTkDisplaced_*_*',
'keep *_muIsoDepositCalByAssociatorTowersDisplaced_*_*',
'keep *_muIsoDepositCalByAssociatorHitsDisplaced_*_*',
'keep *_muIsoDepositJetsDisplaced_*_*',
'keep *_muGlobalIsoDepositCtfTk_*_*',
'keep *_muGlobalIsoDepositCalByAssociatorTowers_*_*',
'keep *_muGlobalIsoDepositCalByAssociatorHits_*_*',
'keep *_muGlobalIsoDepositJets_*_*',
'keep *_softPFMuonsTagInfos_*_*',
'keep *_softPFElectronsTagInfos_*_*',
'keep *_pfImpactParameterTagInfos_*_*',
'keep *_pfSecondaryVertexTagInfos_*_*',
'keep *_pfInclusiveSecondaryVertexFinderTagInfos_*_*',
'keep *_pfGhostTrackVertexTagInfos_*_*',
'keep *_pfInclusiveSecondaryVertexFinderCvsLTagInfos_*_*',
'keep *_softPFElectronBJetTags_*_*',
'keep *_softPFMuonBJetTags_*_*',
'keep *_pfTrackCountingHighEffBJetTags_*_*',
'keep *_pfJetProbabilityBJetTags_*_*',
'keep *_pfJetBProbabilityBJetTags_*_*',
'keep *_pfSimpleSecondaryVertexHighEffBJetTags_*_*',
'keep *_pfSimpleInclusiveSecondaryVertexHighEffBJetTags_*_*',
'keep *_pfCombinedSecondaryVertexV2BJetTags_*_*',
'keep *_pfCombinedInclusiveSecondaryVertexV2BJetTags_*_*',
'keep *_pfGhostTrackBJetTags_*_*',
'keep *_pfCombinedMVAV2BJetTags_*_*',
'keep *_inclusiveCandidateSecondaryVertices_*_*',
'keep *_inclusiveCandidateSecondaryVerticesCvsL_*_*',
'keep *_pfCombinedCvsLJetTags_*_*',
'keep *_pfCombinedCvsBJetTags_*_*',
'keep *_pfChargeBJetTags_*_*',
'keep *_pfDeepCSVJetTags_*_*',
'keep *_pfDeepCMVAJetTags_*_*',
'keep *_pixelClusterTagInfos_*_*',
'keep recoRecoTauPiZeros_hpsPFTauProducer_pizeros_*',
'keep recoPFTaus_hpsPFTauProducer_*_*',
'keep *_hpsPFTauBasicDiscriminators_*_*',
'keep *_hpsPFTauBasicDiscriminatorsdR03_*_*',
'keep *_hpsPFTauDiscriminationByDeadECALElectronRejection_*_*',
'keep *_hpsPFTauDiscriminationByDecayModeFinding_*_*',
'keep *_hpsPFTauDiscriminationByDecayModeFindingNewDMs_*_*',
'keep *_hpsPFTauDiscriminationByDecayModeFindingOldDMs_*_*',
'keep *_hpsPFTauDiscriminationByMuonRejection3_*_*',
'keep *_hpsPFTauTransverseImpactParameters_*_*',
'keep *_offlinePrimaryVertices__*',
'keep *_offlinePrimaryVerticesWithBS_*_*',
'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
'keep *_nuclearInteractionMaker_*_*',
'keep *_generalV0Candidates_*_*',
'keep *_inclusiveSecondaryVertices_*_*',
'keep *_gedPhotonCore_*_*',
'keep *_gedPhotons_*_*',
'keep recoPhotons_mustachePhotons_*_*',
'keep recoPhotonCores_mustachePhotonCore_*_*',
'keep recoTrackExtras_ckfOutInTracksFromConversions_*_*',
'keep recoTrackExtras_ckfInOutTracksFromConversions_*_*',
'keep TrackingRecHitsOwned_ckfOutInTracksFromConversions_*_*',
'keep TrackingRecHitsOwned_ckfInOutTracksFromConversions_*_*',
'keep recoTrackExtras_uncleanedOnlyCkfOutInTracksFromConversions_*_*',
'keep recoTrackExtras_uncleanedOnlyCkfInOutTracksFromConversions_*_*',
'keep TrackingRecHitsOwned_uncleanedOnlyCkfOutInTracksFromConversions_*_*',
'keep TrackingRecHitsOwned_uncleanedOnlyCkfInOutTracksFromConversions_*_*',
'keep recoGsfElectronCores_gsfElectronCores_*_*',
'keep recoGsfElectronCores_gedGsfElectronCores_*_*',
'keep recoGsfElectrons_gsfElectrons_*_*',
'keep recoGsfElectrons_gedGsfElectrons_*_*',
'keep recoGsfElectronCores_uncleanedOnlyGsfElectronCores_*_*',
'keep recoGsfElectrons_uncleanedOnlyGsfElectrons_*_*',
'keep floatedmValueMap_eidRobustLoose_*_*',
'keep floatedmValueMap_eidRobustTight_*_*',
'keep floatedmValueMap_eidRobustHighEnergy_*_*',
'keep floatedmValueMap_eidLoose_*_*',
'keep floatedmValueMap_eidTight_*_*',
'keep *_egmGedGsfElectronPFIsolation_*_*',
'keep recoPhotonCores_gedPhotonCore_*_*',
'keep recoPhotons_gedPhotons_*_*',
'keep *_particleBasedIsolation_*_*',
'keep recoPhotonCores_photonCore_*_*',
'keep recoPhotons_photons_*_*',
'keep recoPhotonCores_ootPhotonCore_*_*',
'keep recoPhotons_ootPhotons_*_*',
'keep recoConversions_conversions_*_*',
'drop recoConversions_conversions_uncleanedConversions_*',
'keep recoConversions_mustacheConversions_*_*',
'keep *_gsfTracksOpenConversions_*_*',
'keep recoConversions_allConversions_*_*',
'keep recoConversions_allConversionsOldEG_*_*',
'keep recoTracks_ckfOutInTracksFromConversions_*_*',
'keep recoTracks_ckfInOutTracksFromConversions_*_*',
'keep recoConversions_uncleanedOnlyAllConversions_*_*',
'keep recoTracks_uncleanedOnlyCkfOutInTracksFromConversions_*_*',
'keep recoTracks_uncleanedOnlyCkfInOutTracksFromConversions_*_*',
'keep *_PhotonIDProd_*_*',
'keep *_PhotonIDProdGED_*_*',
'keep *_hfRecoEcalCandidate_*_*',
'keep *_hfEMClusters_*_*',
'keep *_gedGsfElectronCores_*_*',
'keep *_gedGsfElectrons_*_*',
'keep recoCaloClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoGsfElectrons_lowPtGsfElectrons_*_*',
'keep recoGsfElectronCores_lowPtGsfElectronCores_*_*',
'keep recoGsfTracks_lowPtGsfEleGsfTracks_*_*',
'keep *_lowPtGsfToTrackLinks_*_*',
'keep recoSuperClusters_lowPtGsfElectronSuperClusters_*_*',
'keep floatedmValueMap_lowPtGsfElectronSeedValueMaps_*_*',
'keep floatedmValueMap_rekeyLowPtGsfElectronSeedValueMaps_*_*',
'keep floatedmValueMap_lowPtGsfElectronID_*_*',
'keep *_pixelTracks_*_*',
'keep *_pixelVertices_*_*',
'keep recoPFClusters_particleFlowClusterECAL_*_*',
'keep recoPFClusters_particleFlowClusterHCAL_*_*',
'keep recoPFClusters_particleFlowClusterHO_*_*',
'keep recoPFClusters_particleFlowClusterHF_*_*',
'keep recoPFClusters_particleFlowClusterPS_*_*',
'keep recoPFBlocks_particleFlowBlock_*_*',
'keep recoPFCandidates_particleFlowEGamma_*_*',
'keep recoPFCandidates_particleFlowTmp_electrons_*',
'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*',
'keep *_pfElectronTranslator_*_*',
'keep *_pfPhotonTranslator_*_*',
'keep *_trackerDrivenElectronSeeds_preid_*',
'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
'keep recoCaloClusters_particleFlowEGamma_*_*',
'keep recoSuperClusters_particleFlowEGamma_*_*',
'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
'keep recoConversions_particleFlowEGamma_*_*',
'keep recoPFCandidates_particleFlow_*_*',
'keep recoPFCandidates_particleFlowTmp_AddedMuonsAndHadrons_*',
'keep recoPFCandidates_particleFlowTmp_CleanedCosmicsMuons_*',
'keep recoPFCandidates_particleFlowTmp_CleanedFakeMuons_*',
'keep recoPFCandidates_particleFlowTmp_CleanedHF_*',
'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughMuons_*',
'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughNeutralHadrons_*',
'keep recoPFCandidates_particleFlowTmp_CleanedTrackerAndGlobalMuons_*',
'keep *_particleFlow_electrons_*',
'keep *_particleFlow_photons_*',
'keep *_particleFlow_muons_*',
'keep recoCaloClusters_pfElectronTranslator_*_*',
'keep recoPreshowerClusters_pfElectronTranslator_*_*',
'keep recoSuperClusters_pfElectronTranslator_*_*',
'keep recoCaloClusters_pfPhotonTranslator_*_*',
'keep recoPreshowerClusters_pfPhotonTranslator_*_*',
'keep recoSuperClusters_pfPhotonTranslator_*_*',
'keep recoPhotons_pfPhotonTranslator_*_*',
'keep recoPhotonCores_pfPhotonTranslator_*_*',
'keep recoConversions_pfPhotonTranslator_*_*',
'keep *_particleFlowPtrs_*_*',
'keep *_particleFlowTmpPtrs_*_*',
'keep *_chargedHadronPFTrackIsolation_*_*',
'keep *_offlineBeamSpot_*_*',
'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
'keep *_l1GtRecord_*_*',
'keep *_l1GtTriggerMenuLite_*_*',
'keep *_conditionsInEdm_*_*',
'keep *_l1extraParticles_*_*',
'keep *_l1L1GtObjectMap_*_*',
'keep L1MuGMTReadoutCollection_gtDigis_*_*',
'keep L1GctEmCand*_gctDigis_*_*',
'keep L1GctJetCand*_gctDigis_*_*',
'keep L1GctEtHad*_gctDigis_*_*',
'keep L1GctEtMiss*_gctDigis_*_*',
'keep L1GctEtTotal*_gctDigis_*_*',
'keep L1GctHtMiss*_gctDigis_*_*',
'keep L1GctJetCounts*_gctDigis_*_*',
'keep L1GctHFRingEtSums*_gctDigis_*_*',
'keep L1GctHFBitCounts*_gctDigis_*_*',
'keep LumiDetails_lumiProducer_*_*',
'keep LumiSummary_lumiProducer_*_*',
'keep *_gtStage2Digis_*_*',
'keep *_gmtStage2Digis_*_*',
'keep *_caloStage2Digis_*_*',
'drop *_hlt*_*_*',
'keep GlobalObjectMapRecord_hltGtStage2ObjectMap_*_*',
'keep edmTriggerResults_*_*_*',
'keep triggerTriggerEvent_*_*_*',
'keep *_hltFEDSelectorL1_*_*',
'keep *_hltScoutingEgammaPacker_*_*',
'keep *_hltScoutingMuonPacker_*_*',
'keep *_hltScoutingPFPacker_*_*',
'keep *_hltScoutingPrimaryVertexPacker_*_*',
'keep *_hltScoutingTrackPacker_*_*',
'keep edmTriggerResults_*_*_*',
'keep DcsStatuss_hltScalersRawToDigi_*_*',
'keep L1AcceptBunchCrossings_scalersRawToDigi_*_*',
'keep L1TriggerScalerss_scalersRawToDigi_*_*',
'keep Level1TriggerScalerss_scalersRawToDigi_*_*',
'keep LumiScalerss_scalersRawToDigi_*_*',
'keep BeamSpotOnlines_scalersRawToDigi_*_*',
'keep DcsStatuss_scalersRawToDigi_*_*',
'keep CTPPSRecord_onlineMetaDataDigis_*_*',
'keep DCSRecord_onlineMetaDataDigis_*_*',
'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*',
'keep recoBeamSpot_onlineMetaDataDigis_*_*',
'keep *_tcdsDigis_*_*',
'keep *_logErrorHarvester_*_*',
'keep TotemTriggerCounters_totemTriggerRawToDigi_*_*',
'keep TotemFEDInfos_totemRPRawToDigi_*_*',
'keep TotemRPDigiedmDetSetVector_totemRPRawToDigi_*_*',
'keep TotemVFATStatusedmDetSetVector_totemRPRawToDigi_*_*',
'keep TotemRPClusteredmDetSetVector_totemRPClusterProducer_*_*',
'keep TotemRPRecHitedmDetSetVector_totemRPRecHitProducer_*_*',
'keep TotemRPUVPatternedmDetSetVector_totemRPUVPatternFinder_*_*',
'keep TotemRPLocalTrackedmDetSetVector_totemRPLocalTrackFitter_*_*',
'keep TotemFEDInfos_totemT2Digis_*_*',
'keep TotemT2DigiedmNewDetSetVector_totemT2Digis_*_*',
'keep TotemVFATStatusedmDetSetVector_totemT2Digis_*_*',
'keep TotemFEDInfos_ctppsDiamondRawToDigi_*_*',
'keep CTPPSDiamondDigiedmDetSetVector_ctppsDiamondRawToDigi_*_*',
'keep TotemVFATStatusedmDetSetVector_ctppsDiamondRawToDigi_*_*',
'keep CTPPSDiamondRecHitedmDetSetVector_ctppsDiamondRecHits_*_*',
'keep CTPPSDiamondLocalTrackedmDetSetVector_ctppsDiamondLocalTracks_*_*',
'keep TotemTimingLocalTrackedmDetSetVector_diamondSampicLocalTracks_*_*',
'keep TotemTimingDigiedmDetSetVector_totemTimingRawToDigi_*_*',
'keep TotemTimingRecHitedmDetSetVector_totemTimingRecHits_*_*',
'keep TotemTimingLocalTrackedmDetSetVector_totemTimingLocalTracks_*_*',
'keep CTPPSPixelDigiedmDetSetVector_ctppsPixelDigis_*_*',
'keep CTPPSPixelDataErroredmDetSetVector_ctppsPixelDigis_*_*',
'keep CTPPSPixelClusteredmDetSetVector_ctppsPixelClusters_*_*',
'keep CTPPSPixelRecHitedmDetSetVector_ctppsPixelRecHits_*_*',
'keep CTPPSPixelLocalTrackedmDetSetVector_ctppsPixelLocalTracks_*_*',
'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*',
'keep recoForwardProtons_ctppsProtons_*_*',
'keep *_muonGEMDigis_*_*',
'drop *_MEtoEDMConverter_*_*',
'drop *_*_*_SKIM'
) )
)
# Other statements
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
# Path and EndPath definitions
process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
process.SKIMStreamTopMuEGOutPath = cms.EndPath(process.SKIMStreamTopMuEG)
# Schedule definition
process.schedule = cms.Schedule(process.TopMuEGPath,process.FEVTDEBUGHLToutput_step,process.SKIMStreamTopMuEGOutPath)
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)
# Customisation from command line
#Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
process = customiseLogErrorHarvesterUsingOutputCommands(process)
# Add early deletion of temporary data products to reduce peak memory need
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
process = customiseEarlyDelete(process)
# End adding early deletion