CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
slimming_cff.py
Go to the documentation of this file.
2 
19 
20 MicroEventContent = cms.PSet(
21  outputCommands = cms.untracked.vstring(
22  'drop *',
23  'keep *_slimmedPhotons*_*_*',
24  'keep *_slimmedElectrons_*_*',
25  'keep *_slimmedMuons*_*_*',
26  'keep *_slimmedTaus*_*_*',
27  'keep *_slimmedJets_*_*',
28  'keep *_slimmedJetsAK8_*_*',
29  'keep *_slimmedJetsPuppi_*_*',
30  'keep *_slimmedMETs*_*_*',
31  'keep *_slimmedSecondaryVertices*_*_*',
32  'keep *_cmsTopTaggerMap_*_*',
33  #'keep *_slimmedJetsAK8PFCHSSoftDropSubjets_*_*',
34  #'keep *_slimmedJetsCMSTopTagCHSSubjets_*_*',
35  'keep *_slimmedJetsAK8PFCHSSoftDropPacked_SubJets_*',
36  'keep *_slimmedJetsCMSTopTagCHSPacked_SubJets_*',
37  #'keep *_packedPatJetsAK8_*_*',
38  ## add extra METs
39 
40  'keep recoPhotonCores_reducedEgamma_*_*',
41  'keep recoGsfElectronCores_reducedEgamma_*_*',
42  'keep recoConversions_reducedEgamma_*_*',
43  'keep recoSuperClusters_reducedEgamma_*_*',
44  'keep recoCaloClusters_reducedEgamma_*_*',
45  'keep EcalRecHitsSorted_reducedEgamma_*_*',
46 
47 
48  'drop *_*_caloTowers_*',
49  'drop *_*_pfCandidates_*',
50  'drop *_*_genJets_*',
51 
52  'keep *_offlineBeamSpot_*_*',
53  'keep *_offlineSlimmedPrimaryVertices_*_*',
54  'keep patPackedCandidates_packedPFCandidates_*_*',
55 
56  'keep double_fixedGridRho*__*',
57 
58  'keep *_selectedPatTrigger_*_*',
59  'keep patPackedTriggerPrescales_patTrigger__*',
60  'keep *_l1extraParticles_*_*',
61  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
62  'keep *_TriggerResults_*_HLT',
63  'keep *_TriggerResults_*_PAT', # for MET filters
64  'keep patPackedCandidates_lostTracks_*_*',
65  'keep HcalNoiseSummary_hcalnoise__*',
66  'keep *_caTopTagInfosPAT_*_*'
67  )
68 )
69 MicroEventContentMC = cms.PSet(
70  outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
71 )
72 MicroEventContentMC.outputCommands += [
73  'keep *_slimmedGenJets*_*_*',
74  'keep patPackedGenParticles_packedGenParticles_*_*',
75  'keep recoGenParticles_prunedGenParticles_*_*',
76  'keep LHEEventProduct_*_*_*',
77  'keep PileupSummaryInfos_*_*_*',
78  'keep GenFilterInfo_*_*_*',
79  'keep GenEventInfoProduct_generator_*_*',
80  # RUN
81  'keep LHERunInfoProduct_*_*_*',
82  'keep GenRunInfoProduct_*_*_*',
83  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*',
84 ]