test
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  )
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_slimmedAddPileupInfo_*_*',
78  'keep GenFilterInfo_*_*_*',
79  'keep GenLumiInfoHeader_generator_*_*',
80  'keep GenLumiInfoProduct_*_*_*',
81  'keep GenEventInfoProduct_generator_*_*',
82  # RUN
83  'keep LHERunInfoProduct_*_*_*',
84  'keep GenRunInfoProduct_*_*_*',
85  'keep L1GtTriggerMenuLite_l1GtTriggerMenuLite__*',
86 ]