Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:00

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 ModifiedPF2PATEventContent = cms.PSet(
0005     outputCommands = cms.untracked.vstring(
0006     # Gen information
0007     'keep *_generalTracks_*_*',    
0008     'keep *_electronGsfTracks_*_*',    
0009     'keep *_genParticles_*_*',
0010     'keep *_genMetTrue_*_*',
0011     'keep recoGenJets_*_*_*',
0012     'keep recoGsfElectronCores_gsfElectronCores_*_*', 
0013     # isolated electrons and muons
0014     'keep patMuons_*_*_*',
0015     'keep patElectrons_*_*_*',
0016     'keep patJets_*_*_*',
0017     'keep patTaus_*_*_*',
0018     'keep recoPFCandidates_particleFlow_*_*',   
0019     'keep recoVertexs_offlinePrimaryVertices_*_*',
0020 
0021     # Trigger
0022     'keep *_TriggerResults_*_*',
0023     'keep *_hltTriggerSummaryAOD_*_*',
0024     'keep *_pfElectronTranslator_*_*',
0025           )
0026 )
0027 
0028 PF2PATEventContent = cms.PSet(
0029     outputCommands = cms.untracked.vstring(
0030     # Gen information
0031     'drop recoGenJets_*_*_HLT',
0032     'keep *_genParticles_*_*',
0033     'keep *_genMetTrue_*_*',
0034     'keep recoGenJets_*_*_*',
0035     # isolated electrons and muons
0036     'keep *_pfIsolatedElectrons_*_*',
0037     'keep *_pfIsolatedMuons_*_*',
0038     'keep *_pfNoJet_*_*',
0039     'keep recoIsoDepositedmValueMap_*_*_*',
0040     # jets
0041     'keep recoPFJets_pfNoTau_*_*',
0042     # taus 
0043     'keep *_pfTaus_*_*',
0044     'keep recoPFTauDiscriminator_*_*_*',
0045     'keep *_*fflinePrimaryVertice_*_*',
0046     # MET
0047     'keep *_pfMET_*_*',
0048     # Trigger
0049     'keep *_TriggerResults_*_*',
0050     'keep *_hltTriggerSummaryAOD_*_*'
0051     )
0052 )
0053 
0054 PATEventContent = cms.PSet(
0055     outputCommands = cms.untracked.vstring(
0056     # Gen information
0057 #    'keep *_genParticles_*_*',
0058     'keep *_genMetTrue_*_*',
0059     'keep recoGenJets_iterativeCone5GenJets_*_*',
0060     'keep patElectrons_selectedLayer1Electrons_*_*',
0061     'keep patMuons_selectedLayer1Muons_*_*',
0062     'keep patJets_selectedLayer1Jets_*_*',
0063     'keep patMETs_*_*_*',
0064     'keep patTaus_selectedLayer1Taus_*_*',
0065 # iso deposits are embedded in the pat objects, and do not need to be kept
0066 #    'keep recoIsoDepositedmValueMap_iso*_*_*',
0067     'keep *_TriggerResults_*_*',
0068     'keep *_hltTriggerSummaryAOD_*_*'
0069     )
0070 )
0071 
0072 PF2PATStudiesEventContent = cms.PSet(
0073     outputCommands = cms.untracked.vstring(
0074     'keep recoPFJets_*_*_*',
0075     'keep *_decaysFromZs_*_*',
0076     'keep recoPFCandidates_*_*_PF2PAT',
0077     'keep recoPFCandidates_*_*_PAT',    
0078     'keep recoPFCandidates_particleFlow_*_*',
0079     'keep recoTracks_*_*_*',
0080     'keep *_offlinePrimaryVertices_*_*',
0081     'keep recoMuons_*_*_*',
0082     'keep recoGsfTracks_*_*_*',
0083     'keep *_pf*_*_*'
0084     )
0085 )
0086 
0087 prunedAODForPF2PATEventContent = cms.PSet(
0088     outputCommands = cms.untracked.vstring(
0089         'drop recoCaloTau*_*_*_*',
0090         'drop recoPFTau*_*_*_*',
0091         'drop recoCaloJet*_*_*_*',
0092         'drop recoPFJet*_*_*_*',
0093         'drop recoJPTJets_*_*_*',
0094         'drop recoTrackJets_*_*_*',
0095         'drop recoJetIDedmValueMap_*_*_*',
0096         'drop recoConversions_*_*_*', 
0097         'drop recoJetedmRefToBaseProdTofloatsAssociationVector_*_*_*',
0098         'drop recoPreshowerClusters_*_*_*',
0099         'drop recoMETs_*_*_*',
0100         'drop recoPFMETs_*_*_*',
0101         'drop recoCaloMETs_*_*_*',
0102 # caloMET can always be useful for understanding fake MET 
0103         'keep recoCaloMETs_corMetGlobalMuons_*_*',
0104         'drop *_genMetCalo_*_*',
0105         'drop *_genMetCaloAndNonPrompt_*_*',
0106         'drop *_tevMuons_*_*',
0107         'drop *_generalV0Candidates_*_*',
0108         'drop *_*TracksFromConversions_*_*',
0109         'drop recoPhoton*_*_*_*',
0110         'drop *_muIsoDeposit*_*_*',
0111         'drop recoMuonMETCorrectionDataedmValueMap_*_*_*',
0112         'drop *_*JetTracksAssociator*_*_*',
0113         'drop *_*JetExtender_*_*',
0114         'drop recoSoftLeptonTagInfos_*_*_*',
0115         'drop *_impactParameterTagInfos_*_*',
0116         'drop *_towerMaker_*_*',
0117         'drop *_sisCone*_*_*',
0118         'drop *_PhotonIDProd_*_*',
0119         'drop recoHFEMClusterShapes_*_*_*', 
0120         'drop recoCaloClustersToOnereco*_*_*_*',
0121         'drop EcalRecHitsSorted_*_*_*',
0122 # the next 2 are needed for fake MET event cleaning (RA2 filters)
0123         'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
0124         'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
0125         # 'keep EcalTriggerPrimitiveDigisSorted_ecalTPSkim_*_*',
0126         'drop recoCaloClusters_*_*_*',
0127 # needed somewhere in PAT. and could be useful in the future. 
0128 #        'drop *_softPFElectrons_*_*',
0129         'drop *_particleFlow_electrons_*',
0130         'drop recoPreshowerClusterShapes_*_*_*',
0131 # needed in PAT by allLayer1Electrons - dunno why:
0132 #        'drop *_gsfElectronCores_*_*',
0133         'drop *_hfRecoEcalCandidate_*_*',
0134         'drop recoSuperClusters_*_*_*',
0135         'keep *_pfElectronTranslator_*_*',
0136         'keep recoSuperClusters_corrected*_*_*',
0137          'keep *_TriggerResults_*_*',
0138         'keep *_hltTriggerSummaryAOD_*_*',
0139         'keep *_lumiProducer_*_*'
0140         )
0141 )
0142 
0143