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 *_slimmedJets_*_*',
13  'keep *_slimmedJetsAK8_*_*',
14  'keep *_slimmedJetsPuppi_*_*',
15  'keep *_slimmedMETs_*_*',
16  'keep *_slimmedMETsNoHF_*_*',
17  'keep *_slimmedMETsPuppi_*_*',
18  'keep *_slimmedSecondaryVertices_*_*',
19  'keep *_slimmedLambdaVertices_*_*',
20  'keep *_slimmedKshortVertices_*_*',
21  'keep *_slimmedJetsAK8PFPuppiSoftDropPacked_SubJets_*',
22 
23  'keep recoPhotonCores_reducedEgamma_*_*',
24  'keep recoGsfElectronCores_reducedEgamma_*_*',
25  'keep recoConversions_reducedEgamma_*_*',
26  'keep recoSuperClusters_reducedEgamma_*_*',
27  'keep recoCaloClusters_reducedEgamma_*_*',
28  'keep EcalRecHitsSorted_reducedEgamma_*_*',
29 
30  'drop *_*_caloTowers_*',
31  'drop *_*_pfCandidates_*',
32  'drop *_*_genJets_*',
33 
34  'keep *_offlineBeamSpot_*_*',
35  'keep *_offlineSlimmedPrimaryVertices_*_*',
36  'keep patPackedCandidates_packedPFCandidates_*_*',
37  'keep *_isolatedTracks_*_*',
38  # low energy conversions for BPH
39  'keep *_oniaPhotonCandidates_*_*',
40 
41  'keep *_bunchSpacingProducer_*_*',
42 
43  'keep double_fixedGridRhoAll__*',
44  'keep double_fixedGridRhoFastjetAll__*',
45  'keep double_fixedGridRhoFastjetAllCalo__*',
46  'keep double_fixedGridRhoFastjetCentral_*_*',
47  'keep double_fixedGridRhoFastjetCentralCalo__*',
48  'keep double_fixedGridRhoFastjetCentralChargedPileUp__*',
49  'keep double_fixedGridRhoFastjetCentralNeutral__*',
50 
51  'keep *_slimmedPatTrigger_*_*',
52  'keep patPackedTriggerPrescales_patTrigger__*',
53  'keep patPackedTriggerPrescales_patTrigger_l1max_*',
54  'keep patPackedTriggerPrescales_patTrigger_l1min_*',
55  # old L1 trigger
56  'keep *_l1extraParticles_*_*',
57  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
58  # stage 2 L1 trigger
59  'keep *_gtStage2Digis__*',
60  'keep *_gmtStage2Digis_Muon_*',
61  'keep *_caloStage2Digis_Jet_*',
62  'keep *_caloStage2Digis_Tau_*',
63  'keep *_caloStage2Digis_EGamma_*',
64  'keep *_caloStage2Digis_EtSum_*',
65  # HLT
66  'keep *_TriggerResults_*_HLT',
67  'keep *_TriggerResults_*_*', # for MET filters (a catch all for the moment, but ideally it should be only the current process)
68  'keep patPackedCandidates_lostTracks_*_*',
69  'keep HcalNoiseSummary_hcalnoise__*',
70  'keep recoCSCHaloData_CSCHaloData_*_*',
71  'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
72  # Lumi
73  'keep LumiScalerss_scalersRawToDigi_*_*',
74  # CTPPS
75  'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*'
76  )
77 )
78 MicroEventContentMC = cms.PSet(
79  outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
80 )
81 MicroEventContentMC.outputCommands += [
82  #'keep *_slimmedGenJets*_*_*',
83  'keep *_slimmedGenJets_*_*',
84  'keep *_slimmedGenJetsAK8_*_*',
85  'keep patPackedGenParticles_packedGenParticles_*_*',
86  'keep recoGenParticles_prunedGenParticles_*_*',
87  'keep LHEEventProduct_*_*_*',
88  'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
89  'keep GenFilterInfo_*_*_*',
90  'keep GenLumiInfoHeader_generator_*_*',
91  'keep GenLumiInfoProduct_*_*_*',
92  'keep GenEventInfoProduct_generator_*_*',
93  # RUN
94  'keep LHERunInfoProduct_*_*_*',
95  'keep GenRunInfoProduct_*_*_*',
96  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*',
97 ]
98 
99 MiniAODOverrideBranchesSplitLevel = cms.untracked.VPSet( [
100 cms.untracked.PSet(branch = cms.untracked.string("patPackedCandidates_packedPFCandidates__*"),splitLevel=cms.untracked.int32(99)),
101 cms.untracked.PSet(branch = cms.untracked.string("recoGenParticles_prunedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
102 cms.untracked.PSet(branch = cms.untracked.string("patTriggerObjectStandAlones_slimmedPatTrigger__*"),splitLevel=cms.untracked.int32(99)),
103 cms.untracked.PSet(branch = cms.untracked.string("patPackedGenParticles_packedGenParticles__*"),splitLevel=cms.untracked.int32(99)),
104 cms.untracked.PSet(branch = cms.untracked.string("patJets_slimmedJets__*"),splitLevel=cms.untracked.int32(99)),
105 cms.untracked.PSet(branch = cms.untracked.string("recoVertexs_offlineSlimmedPrimaryVertices__*"),splitLevel=cms.untracked.int32(99)),
106 cms.untracked.PSet(branch = cms.untracked.string("recoCaloClusters_reducedEgamma_reducedESClusters_*"),splitLevel=cms.untracked.int32(99)),
107 cms.untracked.PSet(branch = cms.untracked.string("EcalRecHitsSorted_reducedEgamma_reducedEBRecHits_*"),splitLevel=cms.untracked.int32(99)),
108 cms.untracked.PSet(branch = cms.untracked.string("EcalRecHitsSorted_reducedEgamma_reducedEERecHits_*"),splitLevel=cms.untracked.int32(99)),
109 cms.untracked.PSet(branch = cms.untracked.string("recoGenJets_slimmedGenJets__*"),splitLevel=cms.untracked.int32(99)),
110 cms.untracked.PSet(branch = cms.untracked.string("patJets_slimmedJetsPuppi__*"),splitLevel=cms.untracked.int32(99)),
111 cms.untracked.PSet(branch = cms.untracked.string("EcalRecHitsSorted_reducedEgamma_reducedESRecHits_*"),splitLevel=cms.untracked.int32(99)),
112 ])