CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CommonTools/ParticleFlow/python/PF2PAT_EventContent_cff.py

Go to the documentation of this file.
00001 
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 ModifiedPF2PATEventContent = cms.PSet(
00005     outputCommands = cms.untracked.vstring(
00006     # Gen information
00007     'keep *_generalTracks_*_*',    
00008     'keep *_electronGsfTracks_*_*',    
00009     'keep *_genParticles_*_*',
00010     'keep *_genMetTrue_*_*',
00011     'keep recoGenJets_*_*_*',
00012     'keep recoGsfElectronCores_gsfElectronCores_*_*', 
00013     # isolated electrons and muons
00014     'keep patMuons_*_*_*',
00015     'keep patElectrons_*_*_*',
00016     'keep patJets_*_*_*',
00017     'keep patTaus_*_*_*',
00018     'keep recoPFCandidates_particleFlow_*_*',   
00019     'keep recoVertexs_offlinePrimaryVertices_*_*',
00020 
00021     # Trigger
00022     'keep *_TriggerResults_*_*',
00023     'keep *_hltTriggerSummaryAOD_*_*',
00024     'keep *_pfElectronTranslator_*_*',
00025           )
00026 )
00027 
00028 PF2PATEventContent = cms.PSet(
00029     outputCommands = cms.untracked.vstring(
00030     # Gen information
00031     'drop recoGenJets_*_*_HLT',
00032     'keep *_genParticles_*_*',
00033     'keep *_genMetTrue_*_*',
00034     'keep recoGenJets_*_*_*',
00035     # isolated electrons and muons
00036     'keep *_pfIsolatedElectrons_*_*',
00037     'keep *_pfIsolatedMuons_*_*',
00038     'keep *_pfNoJet_*_*',
00039     'keep recoIsoDepositedmValueMap_*_*_*',
00040     # jets
00041     'keep recoPFJets_pfNoTau_*_*',
00042     # taus 
00043     'keep *_pfTaus_*_*',
00044     'keep recoPFTauDiscriminator_*_*_*',
00045     'keep *_offlinePrimaryVertice_*_*',
00046     # MET
00047     'keep *_pfMET_*_*',
00048     # Trigger
00049     'keep *_TriggerResults_*_*',
00050     'keep *_hltTriggerSummaryAOD_*_*'
00051     )
00052 )
00053 
00054 PATEventContent = cms.PSet(
00055     outputCommands = cms.untracked.vstring(
00056     # Gen information
00057 #    'keep *_genParticles_*_*',
00058     'keep *_genMetTrue_*_*',
00059     'keep recoGenJets_iterativeCone5GenJets_*_*',
00060     'keep patElectrons_selectedLayer1Electrons_*_*',
00061     'keep patMuons_selectedLayer1Muons_*_*',
00062     'keep patJets_selectedLayer1Jets_*_*',
00063     'keep patMETs_*_*_*',
00064     'keep patTaus_selectedLayer1Taus_*_*',
00065 # iso deposits are embedded in the pat objects, and do not need to be kept
00066 #    'keep recoIsoDepositedmValueMap_iso*_*_*',
00067     'keep *_TriggerResults_*_*',
00068     'keep *_hltTriggerSummaryAOD_*_*'
00069     )
00070 )
00071 
00072 PF2PATStudiesEventContent = cms.PSet(
00073     outputCommands = cms.untracked.vstring(
00074     'keep recoPFJets_*_*_*',
00075     'keep *_decaysFromZs_*_*',
00076     'keep recoPFCandidates_*_*_PF2PAT',
00077     'keep recoPFCandidates_*_*_PAT',    
00078     'keep recoPFCandidates_particleFlow_*_*',
00079     'keep recoTracks_*_*_*',
00080     'keep *_offlinePrimaryVertices_*_*',
00081     'keep recoMuons_*_*_*',
00082     'keep recoGsfTracks_*_*_*',
00083     'keep *_pf*_*_*'
00084     )
00085 )
00086 
00087 prunedAODForPF2PATEventContent = cms.PSet(
00088     outputCommands = cms.untracked.vstring(
00089         'drop recoCaloTau*_*_*_*',
00090         'drop recoPFTau*_*_*_*',
00091         'drop recoCaloJet*_*_*_*',
00092         'drop recoPFJet*_*_*_*',
00093         'drop recoJPTJets_*_*_*',
00094         'drop recoTrackJets_*_*_*',
00095         'drop recoJetIDedmValueMap_*_*_*',
00096         'drop recoConversions_*_*_*', 
00097         'drop recoJetedmRefToBaseProdTofloatsAssociationVector_*_*_*',
00098         'drop recoPreshowerClusters_*_*_*',
00099         'drop recoMETs_*_*_*',
00100         'drop recoPFMETs_*_*_*',
00101         'drop recoCaloMETs_*_*_*',
00102 # caloMET can always be useful for understanding fake MET 
00103         'keep recoCaloMETs_corMetGlobalMuons_*_*',
00104         'drop *_genMetCalo_*_*',
00105         'drop *_genMetCaloAndNonPrompt_*_*',
00106         'drop *_tevMuons_*_*',
00107         'drop *_generalV0Candidates_*_*',
00108         'drop *_*TracksFromConversions_*_*',
00109         'drop recoPhoton*_*_*_*',
00110         'drop *_muIsoDeposit*_*_*',
00111         'drop recoMuonMETCorrectionDataedmValueMap_*_*_*',
00112         'drop *_*JetTracksAssociator*_*_*',
00113         'drop *_*JetExtender_*_*',
00114         'drop recoSoftLeptonTagInfos_*_*_*',
00115         'drop *_impactParameterTagInfos_*_*',
00116         'drop *_towerMaker_*_*',
00117         'drop *_sisCone*_*_*',
00118         'drop *_PhotonIDProd_*_*',
00119         'drop recoHFEMClusterShapes_*_*_*', 
00120         'drop recoCaloClustersToOnereco*_*_*_*',
00121         'drop EcalRecHitsSorted_*_*_*',
00122 # the next 2 are needed for fake MET event cleaning (RA2 filters)
00123         'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
00124         'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
00125         # 'keep EcalTriggerPrimitiveDigisSorted_ecalTPSkim_*_*',
00126         'drop recoCaloClusters_*_*_*',
00127 # needed somewhere in PAT. and could be useful in the future. 
00128 #        'drop *_softPFElectrons_*_*',
00129         'drop *_particleFlow_electrons_*',
00130         'drop recoPreshowerClusterShapes_*_*_*',
00131 # needed in PAT by allLayer1Electrons - dunno why:
00132 #        'drop *_gsfElectronCores_*_*',
00133         'drop *_hfRecoEcalCandidate_*_*',
00134         'drop recoSuperClusters_*_*_*',
00135         'keep *_pfElectronTranslator_*_*',
00136         'keep recoSuperClusters_corrected*_*_*',
00137          'keep *_TriggerResults_*_*',
00138         'keep *_hltTriggerSummaryAOD_*_*',
00139         'keep *_lumiProducer_*_*'
00140         )
00141 )