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 
18 
19 MicroEventContent = cms.PSet(
20  outputCommands = cms.untracked.vstring(
21  'drop *',
22  'keep *_slimmedPhotons*_*_*',
23  'keep *_slimmedElectrons_*_*',
24  'keep *_slimmedMuons*_*_*',
25  'keep *_slimmedTaus*_*_*',
26  'keep *_slimmedJets*_*_*',
27  'keep *_slimmedMETs*_*_*',
28  'keep *_slimmedSecondaryVertices*_*_*',
29  ## add extra METs
30 
31  'keep recoPhotonCores_reducedEgamma_*_*',
32  'keep recoGsfElectronCores_reducedEgamma_*_*',
33  'keep recoConversions_reducedEgamma_*_*',
34  'keep recoSuperClusters_reducedEgamma_*_*',
35  'keep recoCaloClusters_reducedEgamma_*_*',
36  'keep EcalRecHitsSorted_reducedEgamma_*_*',
37 
38 
39  'drop *_*_caloTowers_*',
40  'drop *_*_pfCandidates_*',
41  'drop *_*_genJets_*',
42 
43  'keep *_offlineBeamSpot_*_*',
44  'keep *_offlineSlimmedPrimaryVertices_*_*',
45  'keep patPackedCandidates_packedPFCandidates_*_*',
46 
47  'keep double_fixedGridRho*__*',
48 
49  'keep *_selectedPatTrigger_*_PAT',
50  'keep patPackedTriggerPrescales_patTrigger__PAT',
51  'keep *_l1extraParticles_*_HLT',
52  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_HLT',
53  'keep *_TriggerResults_*_HLT',
54  'keep *_TriggerResults_*_PAT', # for MET filters
55  'keep patPackedCandidates_lostTracks_*_PAT',
56  'keep HcalNoiseSummary_hcalnoise__*'
57  )
58 )
59 MicroEventContentMC = cms.PSet(
60  outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
61 )
62 MicroEventContentMC.outputCommands += [
63  'keep *_slimmedGenJets_*_*',
64  'keep *_packedGenParticles_*_*',
65  'keep recoGenParticles_prunedGenParticles_*_*',
66  'keep LHEEventProduct_*_*_*',
67  'keep PileupSummaryInfos_*_*_*',
68  'keep GenFilterInfo_*_*_*',
69  'keep GenEventInfoProduct_generator_*_*',
70  # RUN
71  'keep LHERunInfoProduct_*_*_*',
72  'keep GenRunInfoProduct_*_*_*',
73  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*',
74 ]