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  # low energy conversions for BPH
37  'keep *_oniaPhotonCandidates_*_*',
38 
39  'keep *_bunchSpacingProducer_*_*',
40 
41  'keep double_fixedGridRhoAll__*',
42  'keep double_fixedGridRhoFastjetAll__*',
43  'keep double_fixedGridRhoFastjetAllCalo__*',
44  'keep double_fixedGridRhoFastjetCentral_*_*',
45  'keep double_fixedGridRhoFastjetCentralCalo__*',
46  'keep double_fixedGridRhoFastjetCentralChargedPileUp__*',
47  'keep double_fixedGridRhoFastjetCentralNeutral__*',
48 
49  'keep *_selectedPatTrigger_*_*',
50  'keep patPackedTriggerPrescales_patTrigger__*',
51  'keep patPackedTriggerPrescales_patTrigger_l1max_*',
52  'keep patPackedTriggerPrescales_patTrigger_l1min_*',
53  # old L1 trigger
54  'keep *_l1extraParticles_*_*',
55  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
56  # stage 2 L1 trigger
57  'keep *_gtStage2Digis__*',
58  'keep *_gmtStage2Digis_Muon_*',
59  'keep *_caloStage2Digis_Jet_*',
60  'keep *_caloStage2Digis_Tau_*',
61  'keep *_caloStage2Digis_EGamma_*',
62  'keep *_caloStage2Digis_EtSum_*',
63  # HLT
64  'keep *_TriggerResults_*_HLT',
65  'keep *_TriggerResults_*_*', # for MET filters (a catch all for the moment, but ideally it should be only the current process)
66  'keep patPackedCandidates_lostTracks_*_*',
67  'keep HcalNoiseSummary_hcalnoise__*',
68  'keep recoCSCHaloData_CSCHaloData_*_*',
69  'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
70  # Lumi
71  'keep LumiScalerss_scalersRawToDigi_*_*',
72  # CTPPS
73  'keep CTPPSLocalTrackLites_ctppsLocalTrackLiteProducer_*_*'
74  )
75 )
76 MicroEventContentMC = cms.PSet(
77  outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
78 )
79 MicroEventContentMC.outputCommands += [
80  #'keep *_slimmedGenJets*_*_*',
81  'keep *_slimmedGenJets_*_*',
82  'keep *_slimmedGenJetsAK8_*_*',
83  'keep patPackedGenParticles_packedGenParticles_*_*',
84  'keep recoGenParticles_prunedGenParticles_*_*',
85  'keep LHEEventProduct_*_*_*',
86  'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
87  'keep GenFilterInfo_*_*_*',
88  'keep GenLumiInfoHeader_generator_*_*',
89  'keep GenLumiInfoProduct_*_*_*',
90  'keep GenEventInfoProduct_generator_*_*',
91  # RUN
92  'keep LHERunInfoProduct_*_*_*',
93  'keep GenRunInfoProduct_*_*_*',
94  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*',
95 ]