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