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