CMS 3D CMS Logo

MicroEventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 MicroEventContent = cms.PSet(
4  outputCommands = cms.untracked.vstring(
5  'drop *',
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_*',
23 
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_*_*',
31 
32  'drop *_*_caloTowers_*',
33  'drop *_*_pfCandidates_*',
34  'drop *_*_genJets_*',
35 
36  'keep *_offlineBeamSpot_*_*',
37  'keep *_offlineSlimmedPrimaryVertices_*_*',
38  'keep patPackedCandidates_packedPFCandidates_*_*',
39  'keep *_isolatedTracks_*_*',
40  # low energy conversions for BPH
41  'keep *_oniaPhotonCandidates_*_*',
42 
43  'keep *_bunchSpacingProducer_*_*',
44 
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__*',
52 
53  'keep *_slimmedPatTrigger_*_*',
54  'keep patPackedTriggerPrescales_patTrigger__*',
55  'keep patPackedTriggerPrescales_patTrigger_l1max_*',
56  'keep patPackedTriggerPrescales_patTrigger_l1min_*',
57  # old L1 trigger
58  'keep *_l1extraParticles_*_*',
59  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
60  # stage 2 L1 trigger
61  'keep *_gtStage2Digis__*',
62  'keep *_gmtStage2Digis_Muon_*',
63  'keep *_caloStage2Digis_Jet_*',
64  'keep *_caloStage2Digis_Tau_*',
65  'keep *_caloStage2Digis_EGamma_*',
66  'keep *_caloStage2Digis_EtSum_*',
67  # HLT
68  'keep *_TriggerResults_*_HLT',
69  'keep *_TriggerResults_*_*', # for MET filters (a catch all for the moment, but ideally it should be only the current process)
70  'keep patPackedCandidates_lostTracks_*_*',
71  'keep HcalNoiseSummary_hcalnoise__*',
72  'keep recoCSCHaloData_CSCHaloData_*_*',
73  'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
74  # Lumi
75  'keep LumiScalerss_scalersRawToDigi_*_*',
76  # CTPPS
77  'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*'
78  )
79 )
80 
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 recoGenParticles_genPUProtons_*_*',
91  'keep *_slimmedGenJetsFlavourInfos_*_*',
92  'keep *_slimmedGenJets__*',
93  'keep *_slimmedGenJetsAK8__*',
94  'keep *_slimmedGenJetsAK8SoftDropSubJets__*',
95  'keep *_genMetTrue_*_*',
96  # RUN
97  'keep LHERunInfoProduct_*_*_*',
98  'keep GenRunInfoProduct_*_*_*',
99  'keep *_genParticles_xyz0_*',
100  'keep *_genParticles_t0_*',
101  )
102 )
103 
104 MicroEventContentMC = cms.PSet(
105  outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
106 )
107 MicroEventContentMC.outputCommands += MicroEventContentGEN.outputCommands
108 MicroEventContentMC.outputCommands += [
109  'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
110  # RUN
111  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*'
112  ]
113 
114 
115 MiniAODOverrideBranchesSplitLevel = cms.untracked.VPSet( [
116 cms.untracked.PSet(branch = cms.untracked.string("patPackedCandidates_packedPFCandidates__*"),splitLevel=cms.untracked.int32(99)),
117 cms.untracked.PSet(branch = cms.untracked.string("recoGenParticles_prunedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
118 cms.untracked.PSet(branch = cms.untracked.string("patTriggerObjectStandAlones_slimmedPatTrigger__*"),splitLevel=cms.untracked.int32(99)),
119 cms.untracked.PSet(branch = cms.untracked.string("patPackedGenParticles_packedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
120 cms.untracked.PSet(branch = cms.untracked.string("patJets_slimmedJets__*"),splitLevel=cms.untracked.int32(99)),
121 cms.untracked.PSet(branch = cms.untracked.string("recoVertexs_offlineSlimmedPrimaryVertices__*"),splitLevel=cms.untracked.int32(99)),
122 cms.untracked.PSet(branch = cms.untracked.string("recoCaloClusters_reducedEgamma_reducedESClusters_*"),splitLevel=cms.untracked.int32(99)),
123 cms.untracked.PSet(branch = cms.untracked.string("EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*"),splitLevel=cms.untracked.int32(99)),
124 cms.untracked.PSet(branch = cms.untracked.string("EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*"),splitLevel=cms.untracked.int32(99)),
125 cms.untracked.PSet(branch = cms.untracked.string("recoGenJets_slimmedGenJets__*"),splitLevel=cms.untracked.int32(99)),
126 cms.untracked.PSet(branch = cms.untracked.string("patJets_slimmedJetsPuppi__*"),splitLevel=cms.untracked.int32(99)),
127 cms.untracked.PSet(branch = cms.untracked.string("EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*"),splitLevel=cms.untracked.int32(99)),
128 ])