1 import FWCore.ParameterSet.Config
as cms
3 MicroEventContent = cms.PSet(
4 outputCommands = cms.untracked.vstring(
6 'keep *_slimmedPhotons_*_*',
7 'keep *_slimmedOOTPhotons_*_*',
8 'keep *_slimmedElectrons_*_*',
9 'keep *_slimmedMuons_*_*',
10 'keep *_slimmedTaus_*_*',
11 'keep *_slimmedTausBoosted_*_*',
12 'keep *_slimmedCaloJets_*_*',
13 'keep *_slimmedJets_*_*',
15 'drop recoBaseTagInfosOwned_slimmedJets_*_*',
16 'keep *_slimmedJetsAK8_*_*',
17 'keep *_slimmedJetsPuppi_*_*',
18 'keep *_slimmedMETs_*_*',
19 'keep *_slimmedMETsNoHF_*_*',
20 'keep *_slimmedMETsPuppi_*_*',
21 'keep *_slimmedSecondaryVertices_*_*',
22 'keep *_slimmedLambdaVertices_*_*',
23 'keep *_slimmedKshortVertices_*_*',
24 'keep *_slimmedJetsAK8PFPuppiSoftDropPacked_SubJets_*',
26 'keep recoPhotonCores_reducedEgamma_*_*',
27 'keep recoGsfElectronCores_reducedEgamma_*_*',
28 'keep recoConversions_reducedEgamma_*_*',
29 'keep recoSuperClusters_reducedEgamma_*_*',
30 'keep recoCaloClusters_reducedEgamma_*_*',
31 'keep EcalRecHitsSorted_reducedEgamma_*_*',
32 'keep recoGsfTracks_reducedEgamma_*_*',
34 'drop *_*_caloTowers_*',
35 'drop *_*_pfCandidates_*',
38 'keep *_offlineBeamSpot_*_*',
39 'keep *_offlineSlimmedPrimaryVertices_*_*',
40 'keep patPackedCandidates_packedPFCandidates_*_*',
41 'keep *_isolatedTracks_*_*',
43 'keep *_oniaPhotonCandidates_*_*',
45 'keep *_bunchSpacingProducer_*_*',
47 'keep double_fixedGridRhoAll__*',
48 'keep double_fixedGridRhoFastjetAll__*',
49 'keep double_fixedGridRhoFastjetAllCalo__*',
50 'keep double_fixedGridRhoFastjetCentral_*_*',
51 'keep double_fixedGridRhoFastjetCentralCalo__*',
52 'keep double_fixedGridRhoFastjetCentralChargedPileUp__*',
53 'keep double_fixedGridRhoFastjetCentralNeutral__*',
55 'keep *_slimmedPatTrigger_*_*',
56 'keep patPackedTriggerPrescales_patTrigger__*',
57 'keep patPackedTriggerPrescales_patTrigger_l1max_*',
58 'keep patPackedTriggerPrescales_patTrigger_l1min_*',
60 'keep *_l1extraParticles_*_*',
61 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
63 'keep *_gtStage2Digis__*',
64 'keep *_gmtStage2Digis_Muon_*',
65 'keep *_caloStage2Digis_Jet_*',
66 'keep *_caloStage2Digis_Tau_*',
67 'keep *_caloStage2Digis_EGamma_*',
68 'keep *_caloStage2Digis_EtSum_*',
70 'keep *_TriggerResults_*_HLT',
71 'keep *_TriggerResults_*_*',
72 'keep patPackedCandidates_lostTracks_*_*',
73 'keep HcalNoiseSummary_hcalnoise__*',
74 'keep recoCSCHaloData_CSCHaloData_*_*',
75 'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
77 'keep LumiScalerss_scalersRawToDigi_*_*',
79 'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*' 83 MicroEventContentGEN = cms.PSet(
84 outputCommands = cms.untracked.vstring(
85 'keep patPackedGenParticles_packedGenParticles_*_*',
86 'keep recoGenParticles_prunedGenParticles_*_*',
87 'keep LHEEventProduct_*_*_*',
88 'keep GenFilterInfo_*_*_*',
89 'keep GenLumiInfoHeader_generator_*_*',
90 'keep GenLumiInfoProduct_*_*_*',
91 'keep GenEventInfoProduct_generator_*_*',
92 'keep recoGenParticles_genPUProtons_*_*',
93 'keep *_slimmedGenJetsFlavourInfos_*_*',
94 'keep *_slimmedGenJets__*',
95 'keep *_slimmedGenJetsAK8__*',
96 'keep *_slimmedGenJetsAK8SoftDropSubJets__*',
97 'keep *_genMetTrue_*_*',
99 'keep LHERunInfoProduct_*_*_*',
100 'keep GenRunInfoProduct_*_*_*',
101 'keep *_genParticles_xyz0_*',
102 'keep *_genParticles_t0_*',
106 MicroEventContentMC = cms.PSet(
107 outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
109 MicroEventContentMC.outputCommands += MicroEventContentGEN.outputCommands
110 MicroEventContentMC.outputCommands += [
111 'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
113 'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*' 117 MiniAODOverrideBranchesSplitLevel = cms.untracked.VPSet( [
118 cms.untracked.PSet(branch = cms.untracked.string(
"patPackedCandidates_packedPFCandidates__*"),splitLevel=cms.untracked.int32(99)),
119 cms.untracked.PSet(branch = cms.untracked.string(
"recoGenParticles_prunedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
120 cms.untracked.PSet(branch = cms.untracked.string(
"patTriggerObjectStandAlones_slimmedPatTrigger__*"),splitLevel=cms.untracked.int32(99)),
121 cms.untracked.PSet(branch = cms.untracked.string(
"patPackedGenParticles_packedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
122 cms.untracked.PSet(branch = cms.untracked.string(
"patJets_slimmedJets__*"),splitLevel=cms.untracked.int32(99)),
123 cms.untracked.PSet(branch = cms.untracked.string(
"recoVertexs_offlineSlimmedPrimaryVertices__*"),splitLevel=cms.untracked.int32(99)),
124 cms.untracked.PSet(branch = cms.untracked.string(
"recoCaloClusters_reducedEgamma_reducedESClusters_*"),splitLevel=cms.untracked.int32(99)),
125 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*"),splitLevel=cms.untracked.int32(99)),
126 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*"),splitLevel=cms.untracked.int32(99)),
127 cms.untracked.PSet(branch = cms.untracked.string(
"recoGenJets_slimmedGenJets__*"),splitLevel=cms.untracked.int32(99)),
128 cms.untracked.PSet(branch = cms.untracked.string(
"patJets_slimmedJetsPuppi__*"),splitLevel=cms.untracked.int32(99)),
129 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*"),splitLevel=cms.untracked.int32(99)),
133 _phase2_hgc_extraCommands = [
"keep *_slimmedElectronsFromMultiCl_*_*",
"keep *_slimmedPhotonsFromMultiCl_*_*"]
134 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
135 phase2_hgcal.toModify(MicroEventContentMC, outputCommands = MicroEventContentMC.outputCommands + _phase2_hgc_extraCommands)