CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 *_slimmedJets_*_*',
11  'keep *_slimmedJetsAK8_*_*',
12  'keep *_slimmedJetsPuppi_*_*',
13  #'keep *_slimmedMETs*_*_*',
14  'keep *_slimmedMETs_*_*',
15  'keep *_slimmedMETsPuppi_*_*',
16  'keep *_slimmedSecondaryVertices_*_*',
17  'keep *_cmsTopTaggerMap_*_*',
18  #'keep *_slimmedJetsAK8PFCHSSoftDropSubjets_*_*',
19  #'keep *_slimmedJetsCMSTopTagCHSSubjets_*_*',
20  'keep *_slimmedJetsAK8PFCHSSoftDropPacked_SubJets_*',
21  'keep *_slimmedJetsCMSTopTagCHSPacked_SubJets_*',
22  #'keep *_packedPatJetsAK8_*_*',
23  ## add extra METs
24 
25  'keep recoPhotonCores_reducedEgamma_*_*',
26  'keep recoGsfElectronCores_reducedEgamma_*_*',
27  'keep recoConversions_reducedEgamma_*_*',
28  'keep recoSuperClusters_reducedEgamma_*_*',
29  'keep recoCaloClusters_reducedEgamma_*_*',
30  'keep EcalRecHitsSorted_reducedEgamma_*_*',
31 
32  'drop *_*_caloTowers_*',
33  'drop *_*_pfCandidates_*',
34  'drop *_*_genJets_*',
35 
36  'keep *_offlineBeamSpot_*_*',
37  'keep *_offlineSlimmedPrimaryVertices_*_*',
38  'keep patPackedCandidates_packedPFCandidates_*_*',
39 
40  'keep *_bunchSpacingProducer_*_*',
41 
42  #'keep double_fixedGridRho*__*',
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 *_selectedPatTrigger_*_*',
52  'keep patPackedTriggerPrescales_patTrigger__*',
53  'keep patPackedTriggerPrescales_patTrigger_l1max_*',
54  'keep patPackedTriggerPrescales_patTrigger_l1min_*',
55  'keep *_l1extraParticles_*_*',
56  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
57  'keep *_TriggerResults_*_HLT',
58  'keep *_TriggerResults_*_*', # for MET filters (a catch all for the moment, but ideally it should be only the current process)
59  'keep patPackedCandidates_lostTracks_*_*',
60  'keep HcalNoiseSummary_hcalnoise__*',
61  'keep recoCSCHaloData_CSCHaloData_*_*',
62  'keep recoBeamHaloSummary_BeamHaloSummary_*_*',
63  'keep *_caTopTagInfosPAT_*_*'
64  )
65 )
66 MicroEventContentMC = cms.PSet(
67  outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
68 )
69 MicroEventContentMC.outputCommands += [
70  'keep *_slimmedGenJets*_*_*',
71  'keep patPackedGenParticles_packedGenParticles_*_*',
72  'keep recoGenParticles_prunedGenParticles_*_*',
73  'keep LHEEventProduct_*_*_*',
74  'keep PileupSummaryInfos_slimmedAddPileupInfo_*_*',
75  'keep GenFilterInfo_*_*_*',
76  'keep GenLumiInfoProduct_*_*_*',
77  'keep GenEventInfoProduct_generator_*_*',
78  # RUN
79  'keep LHERunInfoProduct_*_*_*',
80  'keep GenRunInfoProduct_*_*_*',
81  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*',
82 ]