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_*_*',
14 'keep *_slimmedJetsAK8_*_*',
15 'keep *_slimmedJetsPuppi_*_*',
16 'keep *_slimmedMETs_*_*',
17 'keep *_slimmedMETsNoHF_*_*',
18 'keep *_slimmedMETsPuppi_*_*',
19 'keep *_slimmedSecondaryVertices_*_*',
20 'keep *_slimmedLambdaVertices_*_*',
21 'keep *_slimmedKshortVertices_*_*',
22 'keep *_slimmedJetsAK8PFPuppiSoftDropPacked_SubJets_*',
24 'keep recoPhotonCores_reducedEgamma_*_*',
25 'keep recoGsfElectronCores_reducedEgamma_*_*',
26 'keep recoConversions_reducedEgamma_*_*',
27 'keep recoSuperClusters_reducedEgamma_*_*',
28 'keep recoCaloClusters_reducedEgamma_*_*',
29 'keep EcalRecHitsSorted_reducedEgamma_*_*',
30 'keep recoGsfTracks_reducedEgamma_*_*',
32 'drop *_*_caloTowers_*',
33 'drop *_*_pfCandidates_*',
36 'keep *_offlineBeamSpot_*_*',
37 'keep *_offlineSlimmedPrimaryVertices_*_*',
38 'keep patPackedCandidates_packedPFCandidates_*_*',
39 'keep *_isolatedTracks_*_*',
41 'keep *_oniaPhotonCandidates_*_*',
43 'keep *_bunchSpacingProducer_*_*',
45 'keep double_fixedGridRhoAll__*',
46 'keep double_fixedGridRhoFastjetAll__*',
47 'keep double_fixedGridRhoFastjetAllCalo__*',
48 'keep double_fixedGridRhoFastjetCentral_*_*',
49 'keep double_fixedGridRhoFastjetCentralCalo__*',
50 'keep double_fixedGridRhoFastjetCentralChargedPileUp__*',
51 'keep double_fixedGridRhoFastjetCentralNeutral__*',
53 'keep *_slimmedPatTrigger_*_*',
54 'keep patPackedTriggerPrescales_patTrigger__*',
55 'keep patPackedTriggerPrescales_patTrigger_l1max_*',
56 'keep patPackedTriggerPrescales_patTrigger_l1min_*',
58 'keep *_l1extraParticles_*_*',
59 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
61 'keep *_gtStage2Digis__*',
62 'keep *_gmtStage2Digis_Muon_*',
63 'keep *_caloStage2Digis_Jet_*',
64 'keep *_caloStage2Digis_Tau_*',
65 'keep *_caloStage2Digis_EGamma_*',
66 'keep *_caloStage2Digis_EtSum_*',
68 'keep *_TriggerResults_*_HLT',
69 'keep *_TriggerResults_*_*',
70 'keep patPackedCandidates_lostTracks_*_*',
71 'keep HcalNoiseSummary_hcalnoise__*',
72 'keep recoCSCHaloData_CSCHaloData_*_*',
73 'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
75 'keep LumiScalerss_scalersRawToDigi_*_*',
77 'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*' 81 MicroEventContentGEN = cms.PSet(
82 outputCommands = cms.untracked.vstring(
83 'keep patPackedGenParticles_packedGenParticles_*_*',
84 'keep recoGenParticles_prunedGenParticles_*_*',
85 'keep LHEEventProduct_*_*_*',
86 'keep GenFilterInfo_*_*_*',
87 'keep GenLumiInfoHeader_generator_*_*',
88 'keep GenLumiInfoProduct_*_*_*',
89 'keep GenEventInfoProduct_generator_*_*',
90 'keep *_slimmedGenJetsFlavourInfos_*_*',
91 'keep *_slimmedGenJets__*',
92 'keep *_slimmedGenJetsAK8__*',
93 'keep *_genMetTrue_*_*',
95 'keep LHERunInfoProduct_*_*_*',
96 'keep GenRunInfoProduct_*_*_*',
97 'keep *_genParticles_xyz0_*',
98 'keep *_genParticles_t0_*',
102 MicroEventContentMC = cms.PSet(
103 outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
105 MicroEventContentMC.outputCommands += MicroEventContentGEN.outputCommands
106 MicroEventContentMC.outputCommands += [
107 'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
109 'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*' 112 MiniAODOverrideBranchesSplitLevel = cms.untracked.VPSet( [
113 cms.untracked.PSet(branch = cms.untracked.string(
"patPackedCandidates_packedPFCandidates__*"),splitLevel=cms.untracked.int32(99)),
114 cms.untracked.PSet(branch = cms.untracked.string(
"recoGenParticles_prunedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
115 cms.untracked.PSet(branch = cms.untracked.string(
"patTriggerObjectStandAlones_slimmedPatTrigger__*"),splitLevel=cms.untracked.int32(99)),
116 cms.untracked.PSet(branch = cms.untracked.string(
"patPackedGenParticles_packedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
117 cms.untracked.PSet(branch = cms.untracked.string(
"patJets_slimmedJets__*"),splitLevel=cms.untracked.int32(99)),
118 cms.untracked.PSet(branch = cms.untracked.string(
"recoVertexs_offlineSlimmedPrimaryVertices__*"),splitLevel=cms.untracked.int32(99)),
119 cms.untracked.PSet(branch = cms.untracked.string(
"recoCaloClusters_reducedEgamma_reducedESClusters_*"),splitLevel=cms.untracked.int32(99)),
120 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*"),splitLevel=cms.untracked.int32(99)),
121 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*"),splitLevel=cms.untracked.int32(99)),
122 cms.untracked.PSet(branch = cms.untracked.string(
"recoGenJets_slimmedGenJets__*"),splitLevel=cms.untracked.int32(99)),
123 cms.untracked.PSet(branch = cms.untracked.string(
"patJets_slimmedJetsPuppi__*"),splitLevel=cms.untracked.int32(99)),
124 cms.untracked.PSet(branch = cms.untracked.string(
"EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*"),splitLevel=cms.untracked.int32(99)),
128 _phase2_hgc_extraCommands = [
"keep *_slimmedElectronsFromMultiCl_*_*",
"keep *_slimmedPhotonsFromMultiCl_*_*"]
129 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
130 phase2_hgcal.toModify(MicroEventContentMC, outputCommands = MicroEventContentMC.outputCommands + _phase2_hgc_extraCommands)