CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 *_offlinePrimaryVertice_*_*',
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 recoMuons_*_*_*',
80  'keep *_pf*_*_*'
81  )
82 )
83 
84 prunedAODForPF2PATEventContent = cms.PSet(
85  outputCommands = cms.untracked.vstring(
86  'drop recoCaloTau*_*_*_*',
87  'drop recoPFTau*_*_*_*',
88  'drop recoCaloJet*_*_*_*',
89  'drop recoPFJet*_*_*_*',
90  'drop recoConversions_*_*_*',
91  'drop recoJetedmRefToBaseProdTofloatsAssociationVector_*_*_*',
92  'drop recoPreshowerClusters_*_*_*',
93  'drop recoMETs_*_*_*',
94  'drop recoPFMETs_*_*_*',
95  'drop recoCaloMETs_*_*_*',
96  'drop *_genMetCalo_*_*',
97  'drop *_genMetCaloAndNonPrompt_*_*',
98  'drop *_tevMuons_*_*',
99  'drop *_generalV0Candidates_*_*',
100  'drop *_*TracksFromConversions_*_*',
101  'drop recoPhoton*_*_*_*',
102  'drop *_muIsoDeposit*_*_*',
103  'drop recoMuonMETCorrectionDataedmValueMap_*_*_*',
104  'drop *_*JetTracksAssociator*_*_*',
105  'drop *_*JetExtender_*_*',
106  'drop recoSoftLeptonTagInfos_*_*_*',
107  'drop *_impactParameterTagInfos_*_*',
108  'drop *_towerMaker_*_*',
109  'drop *_sisCone*_*_*',
110  'drop *_PhotonIDProd_*_*',
111  'drop recoHFEMClusterShapes_*_*_*',
112  'drop recoCaloClustersToOnereco*_*_*_*',
113  'drop EcalRecHitsSorted_*_*_*',
114  'drop recoCaloClusters_*_*_*',
115 # needed somewhere in PAT. and could be useful in the future.
116 # 'drop *_softPFElectrons_*_*',
117  'drop *_particleFlow_electrons_*',
118  'drop recoPreshowerClusterShapes_*_*_*',
119 # needed in PAT by allLayer1Electrons - dunno why:
120 # 'drop *_gsfElectronCores_*_*',
121  'drop *_hfRecoEcalCandidate_*_*',
122  'drop recoSuperClusters_*_*_*',
123  'keep *_pfElectronTranslator_*_*',
124  'keep recoSuperClusters_corrected*_*_*',
125  'keep *_TriggerResults_*_*',
126  'keep *_hltTriggerSummaryAOD_*_*'
127 
128  )
129 )