1 import FWCore.ParameterSet.Config
as cms
3 MicroEventContent = cms.PSet(
4 outputCommands = cms.untracked.vstring(
5 'keep *_slimmedPhotons_*_*',
6 'keep *_slimmedOOTPhotons_*_*',
7 'keep *_slimmedElectrons_*_*',
8 'keep *_slimmedMuons_*_*',
9 'keep recoTrackExtras_slimmedMuonTrackExtras_*_*',
10 'keep TrackingRecHitsOwned_slimmedMuonTrackExtras_*_*',
11 'keep SiPixelClusteredmNewDetSetVector_slimmedMuonTrackExtras_*_*',
12 'keep SiStripClusteredmNewDetSetVector_slimmedMuonTrackExtras_*_*',
13 'keep *_slimmedTaus_*_*',
14 'keep *_slimmedTausBoosted_*_*',
15 'keep *_slimmedCaloJets_*_*',
16 'keep *_slimmedJPTJets_*_*',
17 'keep *_slimmedJets_*_*',
19 'keep recoBaseTagInfosOwned_slimmedJets_*_*',
20 'keep *_slimmedJetsAK8_*_*',
22 'drop recoBaseTagInfosOwned_slimmedJetsAK8_*_*',
23 'keep *_slimmedJetsPuppi_*_*',
24 'keep *_slimmedMETs_*_*',
25 'keep *_slimmedMETsNoHF_*_*',
26 'keep *_slimmedMETsPuppi_*_*',
27 'keep *_slimmedSecondaryVertices_*_*',
28 'keep *_slimmedLambdaVertices_*_*',
29 'keep *_slimmedKshortVertices_*_*',
30 'keep *_slimmedJetsAK8PFPuppiSoftDropPacked_SubJets_*',
32 'keep recoPhotonCores_reducedEgamma_*_*',
33 'keep recoGsfElectronCores_reducedEgamma_*_*',
34 'keep recoConversions_reducedEgamma_*_*',
35 'keep recoSuperClusters_reducedEgamma_*_*',
36 'keep recoCaloClusters_reducedEgamma_*_*',
37 'keep EcalRecHitsSorted_reducedEgamma_*_*',
38 'keep recoGsfTracks_reducedEgamma_*_*',
39 'keep HBHERecHitsSorted_reducedEgamma_*_*',
40 'keep *_slimmedHcalRecHits_*_*',
41 'drop *_*_caloTowers_*',
42 'drop *_*_pfCandidates_*',
44 'keep *_offlineBeamSpot_*_*',
45 'keep *_offlineSlimmedPrimaryVertices_*_*',
46 'keep *_offlineSlimmedPrimaryVerticesWithBS_*_*',
47 'keep patPackedCandidates_packedPFCandidates_*_*',
48 'keep *_isolatedTracks_*_*',
50 'keep *_oniaPhotonCandidates_*_*',
52 'keep *_bunchSpacingProducer_*_*',
54 'keep double_fixedGridRhoAll__*',
55 'keep double_fixedGridRhoFastjetAll__*',
56 'keep double_fixedGridRhoFastjetAllTmp__*',
57 'keep double_fixedGridRhoFastjetAllCalo__*',
58 'keep double_fixedGridRhoFastjetCentral_*_*',
59 'keep double_fixedGridRhoFastjetCentralCalo__*',
60 'keep double_fixedGridRhoFastjetCentralChargedPileUp__*',
61 'keep double_fixedGridRhoFastjetCentralNeutral__*',
63 'keep *_slimmedPatTrigger_*_*',
64 'keep patPackedTriggerPrescales_patTrigger__*',
65 'keep patPackedTriggerPrescales_patTrigger_l1max_*',
66 'keep patPackedTriggerPrescales_patTrigger_l1min_*',
68 'keep *_l1extraParticles_*_*',
69 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
71 'keep GlobalExtBlkBXVector_simGtExtUnprefireable_*_*',
72 'keep *_gtStage2Digis__*',
73 'keep *_gmtStage2Digis_Muon_*',
74 'keep *_caloStage2Digis_Jet_*',
75 'keep *_caloStage2Digis_Tau_*',
76 'keep *_caloStage2Digis_EGamma_*',
77 'keep *_caloStage2Digis_EtSum_*',
79 'keep *_TriggerResults_*_HLT',
80 'keep *_TriggerResults_*_*',
81 'keep patPackedCandidates_lostTracks_*_*',
82 'keep HcalNoiseSummary_hcalnoise__*',
83 'keep recoCSCHaloData_CSCHaloData_*_*',
84 'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
86 'keep LumiScalerss_scalersRawToDigi_*_*',
88 'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*',
89 'keep recoForwardProtons_ctppsProtons_*_*',
91 'keep recoTracks_displacedStandAloneMuons__*',
92 'keep recoTracks_displacedGlobalMuons__*',
93 'keep recoTracks_displacedTracks__*',
95 'keep *_prefiringweight_*_*',
97 'keep *_slimmedLowPtElectrons_*_*',
98 'keep *_gsfTracksOpenConversions_*_*',
100 'keep *_slimmedDisplacedMuons_*_*',
101 'keep recoTrackExtras_slimmedDisplacedMuonTrackExtras_*_*',
102 'keep TrackingRecHitsOwned_slimmedDisplacedMuonTrackExtras_*_*',
103 'keep SiPixelClusteredmNewDetSetVector_slimmedDisplacedMuonTrackExtras_*_*',
104 'keep SiStripClusteredmNewDetSetVector_slimmedDisplacedMuonTrackExtras_*_*',
108 MicroEventContentGEN = cms.PSet(
109 outputCommands = cms.untracked.vstring(
110 'keep patPackedGenParticles_packedGenParticles_*_*',
111 'keep recoGenParticles_prunedGenParticles_*_*',
112 'keep *_packedPFCandidateToGenAssociation_*_*',
113 'keep *_lostTracksToGenAssociation_*_*',
114 'keep LHEEventProduct_*_*_*',
115 'keep GenFilterInfo_*_*_*',
116 'keep GenLumiInfoHeader_generator_*_*',
117 'keep GenLumiInfoProduct_*_*_*',
118 'keep GenEventInfoProduct_generator_*_*',
119 'keep recoGenParticles_genPUProtons_*_*',
120 'keep *_slimmedGenJetsFlavourInfos_*_*',
121 'keep *_slimmedGenJets__*',
122 'keep *_slimmedGenJetsAK8__*',
123 'keep *_slimmedGenJetsAK8SoftDropSubJets__*',
124 'keep *_genMetTrue_*_*',
126 'keep LHERunInfoProduct_*_*_*',
127 'keep GenRunInfoProduct_*_*_*',
128 'keep *_genParticles_xyz0_*',
129 'keep *_genParticles_t0_*',
134 _run2_HCAL_2018_extraCommands = [
"keep *_packedPFCandidates_hcalDepthEnergyFractions_*"]
135 from Configuration.Eras.Modifier_run2_HCAL_2018_cff
import run2_HCAL_2018
136 run2_HCAL_2018.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _run2_HCAL_2018_extraCommands)
138 _run3_common_extraCommands = [
"drop *_packedPFCandidates_hcalDepthEnergyFractions_*"]
139 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
140 run3_common.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _run3_common_extraCommands)
143 _pp_on_AA_extraCommands = [
144 'keep patPackedCandidates_hiPixelTracks_*_*',
145 'keep patPackedCandidates_packedPFCandidatesRemoved_*_*',
146 'keep *_packedCandidateMuonID_*_*',
147 'keep *_slimmedJets_pfCandidates_*',
148 'keep floatedmValueMap_packedPFCandidateTrackChi2_*_*',
149 'keep floatedmValueMap_lostTrackChi2_*_*',
150 'keep recoCentrality_hiCentrality_*_*',
151 'keep int_centralityBin_*_*',
152 'keep recoHFFilterInfo_hiHFfilters_*_*',
153 'keep recoClusterCompatibility_hiClusterCompatibility_*_*',
154 'keep *_offlineSlimmedPrimaryVerticesRecovery_*_*',
155 'keep *_hiEvtPlane_*_*',
156 'keep *_hiEvtPlaneFlat_*_*',
157 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
160 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
161 pp_on_AA.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _pp_on_AA_extraCommands)
163 MicroEventContentMC = cms.PSet(
164 outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
166 MicroEventContentMC.outputCommands += MicroEventContentGEN.outputCommands
167 MicroEventContentMC.outputCommands += [
168 'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
170 'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*' 172 _pp_on_AA_MC_extraCommands = [
'keep *_packedGenParticlesSignal_*_*',
'keep edmGenHIEvent_heavyIon_*_*']
173 pp_on_AA.toModify(MicroEventContentMC, outputCommands = MicroEventContentMC.outputCommands + _pp_on_AA_MC_extraCommands)
175 from Configuration.Eras.Modifier_strips_vfp30_2016_cff
import strips_vfp30_2016
176 strips_vfp30_2016.toModify(MicroEventContentMC, outputCommands = MicroEventContentMC.outputCommands + [
177 'keep *_simAPVsaturation_SimulatedAPVDynamicGain_*' 180 MiniAODOverrideBranchesSplitLevel = cms.untracked.VPSet( [
181 cms.untracked.PSet(branch = cms.untracked.string(
"patPackedCandidates_packedPFCandidates__*"),splitLevel=cms.untracked.int32(99)),
182 cms.untracked.PSet(branch = cms.untracked.string(
"recoGenParticles_prunedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
183 cms.untracked.PSet(branch = cms.untracked.string(
"patTriggerObjectStandAlones_slimmedPatTrigger__*"),splitLevel=cms.untracked.int32(99)),
184 cms.untracked.PSet(branch = cms.untracked.string(
"patPackedGenParticles_packedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
185 cms.untracked.PSet(branch = cms.untracked.string(
"patJets_slimmedJets__*"),splitLevel=cms.untracked.int32(99)),
186 cms.untracked.PSet(branch = cms.untracked.string(
"recoVertexs_offlineSlimmedPrimaryVertices__*"),splitLevel=cms.untracked.int32(99)),
187 cms.untracked.PSet(branch = cms.untracked.string(
"recoVertexs_offlineSlimmedPrimaryVerticesWithBS__*"),splitLevel=cms.untracked.int32(99)),
188 cms.untracked.PSet(branch = cms.untracked.string(
"recoCaloClusters_reducedEgamma_reducedESClusters_*"),splitLevel=cms.untracked.int32(99)),
189 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*"),splitLevel=cms.untracked.int32(99)),
190 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*"),splitLevel=cms.untracked.int32(99)),
191 cms.untracked.PSet(branch = cms.untracked.string(
"recoGenJets_slimmedGenJets__*"),splitLevel=cms.untracked.int32(99)),
192 cms.untracked.PSet(branch = cms.untracked.string(
"patJets_slimmedJetsPuppi__*"),splitLevel=cms.untracked.int32(99)),
193 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*"),splitLevel=cms.untracked.int32(99)),
196 _phase2_hgc_extraCommands = [
"keep *_slimmedElectronsHGC_*_*",
"keep *_slimmedPhotonsHGC_*_*"]
197 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
198 phase2_hgcal.toModify(MicroEventContentMC, outputCommands = MicroEventContentMC.outputCommands + _phase2_hgc_extraCommands)
200 _phase2_timing_extraCommands = [
"keep *_offlineSlimmedPrimaryVertices4D_*_*"]
201 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
202 phase2_timing.toModify(MicroEventContentMC, outputCommands = MicroEventContentMC.outputCommands + _phase2_timing_extraCommands)