CMS 3D CMS Logo

PF2PAT_EventContent_cff.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 ModifiedPF2PATEventContent = cms.PSet(
5  outputCommands = cms.untracked.vstring(
6  # Gen information
7  'keep *_generalTracks_*_*',
8  'keep *_electronGsfTracks_*_*',
9  'keep *_genParticles_*_*',
10  'keep *_genMetTrue_*_*',
11  'keep recoGenJets_*_*_*',
12  'keep recoGsfElectronCores_gsfElectronCores_*_*',
13  # isolated electrons and muons
14  'keep patMuons_*_*_*',
15  'keep patElectrons_*_*_*',
16  'keep patJets_*_*_*',
17  'keep patTaus_*_*_*',
18  'keep recoPFCandidates_particleFlow_*_*',
19  'keep recoVertexs_offlinePrimaryVertices_*_*',
20 
21  # Trigger
22  'keep *_TriggerResults_*_*',
23  'keep *_hltTriggerSummaryAOD_*_*',
24  'keep *_pfElectronTranslator_*_*',
25  )
26 )
27 
28 PF2PATEventContent = cms.PSet(
29  outputCommands = cms.untracked.vstring(
30  # Gen information
31  'drop recoGenJets_*_*_HLT',
32  'keep *_genParticles_*_*',
33  'keep *_genMetTrue_*_*',
34  'keep recoGenJets_*_*_*',
35  # isolated electrons and muons
36  'keep *_pfIsolatedElectrons_*_*',
37  'keep *_pfIsolatedMuons_*_*',
38  'keep *_pfNoJet_*_*',
39  'keep recoIsoDepositedmValueMap_*_*_*',
40  # jets
41  'keep recoPFJets_pfNoTau_*_*',
42  # taus
43  'keep *_pfTaus_*_*',
44  'keep recoPFTauDiscriminator_*_*_*',
45  'keep *_*fflinePrimaryVertice_*_*',
46  # MET
47  'keep *_pfMET_*_*',
48  # Trigger
49  'keep *_TriggerResults_*_*',
50  'keep *_hltTriggerSummaryAOD_*_*'
51  )
52 )
53 
54 PATEventContent = cms.PSet(
55  outputCommands = cms.untracked.vstring(
56  # Gen information
57 # 'keep *_genParticles_*_*',
58  'keep *_genMetTrue_*_*',
59  'keep recoGenJets_iterativeCone5GenJets_*_*',
60  'keep patElectrons_selectedLayer1Electrons_*_*',
61  'keep patMuons_selectedLayer1Muons_*_*',
62  'keep patJets_selectedLayer1Jets_*_*',
63  'keep patMETs_*_*_*',
64  'keep patTaus_selectedLayer1Taus_*_*',
65 # iso deposits are embedded in the pat objects, and do not need to be kept
66 # 'keep recoIsoDepositedmValueMap_iso*_*_*',
67  'keep *_TriggerResults_*_*',
68  'keep *_hltTriggerSummaryAOD_*_*'
69  )
70 )
71 
72 PF2PATStudiesEventContent = cms.PSet(
73  outputCommands = cms.untracked.vstring(
74  'keep recoPFJets_*_*_*',
75  'keep *_decaysFromZs_*_*',
76  'keep recoPFCandidates_*_*_PF2PAT',
77  'keep recoPFCandidates_*_*_PAT',
78  'keep recoPFCandidates_particleFlow_*_*',
79  'keep recoTracks_*_*_*',
80  'keep *_offlinePrimaryVertices_*_*',
81  'keep recoMuons_*_*_*',
82  'keep recoGsfTracks_*_*_*',
83  'keep *_pf*_*_*'
84  )
85 )
86 
87 prunedAODForPF2PATEventContent = cms.PSet(
88  outputCommands = cms.untracked.vstring(
89  'drop recoCaloTau*_*_*_*',
90  'drop recoPFTau*_*_*_*',
91  'drop recoCaloJet*_*_*_*',
92  'drop recoPFJet*_*_*_*',
93  'drop recoJPTJets_*_*_*',
94  'drop recoTrackJets_*_*_*',
95  'drop recoJetIDedmValueMap_*_*_*',
96  'drop recoConversions_*_*_*',
97  'drop recoJetedmRefToBaseProdTofloatsAssociationVector_*_*_*',
98  'drop recoPreshowerClusters_*_*_*',
99  'drop recoMETs_*_*_*',
100  'drop recoPFMETs_*_*_*',
101  'drop recoCaloMETs_*_*_*',
102 # caloMET can always be useful for understanding fake MET
103  'keep recoCaloMETs_corMetGlobalMuons_*_*',
104  'drop *_genMetCalo_*_*',
105  'drop *_genMetCaloAndNonPrompt_*_*',
106  'drop *_tevMuons_*_*',
107  'drop *_generalV0Candidates_*_*',
108  'drop *_*TracksFromConversions_*_*',
109  'drop recoPhoton*_*_*_*',
110  'drop *_muIsoDeposit*_*_*',
111  'drop recoMuonMETCorrectionDataedmValueMap_*_*_*',
112  'drop *_*JetTracksAssociator*_*_*',
113  'drop *_*JetExtender_*_*',
114  'drop recoSoftLeptonTagInfos_*_*_*',
115  'drop *_impactParameterTagInfos_*_*',
116  'drop *_towerMaker_*_*',
117  'drop *_sisCone*_*_*',
118  'drop *_PhotonIDProd_*_*',
119  'drop recoHFEMClusterShapes_*_*_*',
120  'drop recoCaloClustersToOnereco*_*_*_*',
121  'drop EcalRecHitsSorted_*_*_*',
122 # the next 2 are needed for fake MET event cleaning (RA2 filters)
123  'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
124  'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
125  # 'keep EcalTriggerPrimitiveDigisSorted_ecalTPSkim_*_*',
126  'drop recoCaloClusters_*_*_*',
127 # needed somewhere in PAT. and could be useful in the future.
128 # 'drop *_softPFElectrons_*_*',
129  'drop *_particleFlow_electrons_*',
130  'drop recoPreshowerClusterShapes_*_*_*',
131 # needed in PAT by allLayer1Electrons - dunno why:
132 # 'drop *_gsfElectronCores_*_*',
133  'drop *_hfRecoEcalCandidate_*_*',
134  'drop recoSuperClusters_*_*_*',
135  'keep *_pfElectronTranslator_*_*',
136  'keep recoSuperClusters_corrected*_*_*',
137  'keep *_TriggerResults_*_*',
138  'keep *_hltTriggerSummaryAOD_*_*',
139  'keep *_lumiProducer_*_*'
140  )
141 )
142 
143