Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-12 09:07:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # AOD content
0004 RecoParticleFlowAOD = cms.PSet(
0005     outputCommands = cms.untracked.vstring(
0006     'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
0007     'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
0008     'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
0009     'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
0010     'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
0011     'keep recoCaloClusters_particleFlowEGamma_*_*',
0012     'keep recoSuperClusters_particleFlowEGamma_*_*',
0013     'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
0014     'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
0015     'keep recoConversions_particleFlowEGamma_*_*',
0016     'keep recoPFCandidates_particleFlow_*_*',
0017     'keep recoPFCandidates_particleFlowTmp_AddedMuonsAndHadrons_*',
0018     'keep recoPFCandidates_particleFlowTmp_CleanedCosmicsMuons_*',
0019     'keep recoPFCandidates_particleFlowTmp_CleanedFakeMuons_*',
0020     'keep recoPFCandidates_particleFlowTmp_CleanedHF_*',
0021     'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughMuons_*',
0022     'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughNeutralHadrons_*',
0023     'keep recoPFCandidates_particleFlowTmp_CleanedTrackerAndGlobalMuons_*',
0024     'keep *_particleFlow_electrons_*',
0025     'keep *_particleFlow_photons_*',
0026     'keep *_particleFlow_muons_*',
0027     'keep recoCaloClusters_pfElectronTranslator_*_*',
0028     'keep recoPreshowerClusters_pfElectronTranslator_*_*',
0029     'keep recoSuperClusters_pfElectronTranslator_*_*',
0030     'keep recoCaloClusters_pfPhotonTranslator_*_*',
0031     'keep recoPreshowerClusters_pfPhotonTranslator_*_*',
0032     'keep recoSuperClusters_pfPhotonTranslator_*_*',
0033     'keep recoPhotons_pfPhotonTranslator_*_*',
0034     'keep recoPhotonCores_pfPhotonTranslator_*_*',
0035     'keep recoConversions_pfPhotonTranslator_*_*',
0036     'keep *_particleFlowPtrs_*_*',
0037     'keep *_particleFlowTmpPtrs_*_*',
0038     'keep *_chargedHadronPFTrackIsolation_*_*')
0039 )
0040 
0041 # mods for HGCAL and timing
0042 # Some SC content also defined in RecoEcal/Configuration/python/RecoEcal_EventContent_cff.py
0043 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0044 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
0045 phase2_hgcal.toModify( RecoParticleFlowAOD,  
0046     outputCommands = RecoParticleFlowAOD.outputCommands + ['keep recoPFRecHits_particleFlowRecHitHGC_Cleaned_*',
0047                                                            'keep recoSuperClusters_simPFProducer_*_*'])
0048 phase2_timing.toModify( RecoParticleFlowAOD,
0049     outputCommands = RecoParticleFlowAOD.outputCommands + ['keep *_ecalBarrelClusterFastTimer_*_*'])
0050 
0051 # RECO content
0052 RecoParticleFlowRECO = cms.PSet(
0053     outputCommands = cms.untracked.vstring(
0054     'keep recoPFClusters_particleFlowClusterECAL_*_*',
0055     'keep recoPFClusters_particleFlowClusterHCAL_*_*',
0056     'keep recoPFClusters_particleFlowClusterHO_*_*',
0057     'keep recoPFClusters_particleFlowClusterHF_*_*',
0058     'keep recoPFClusters_particleFlowClusterPS_*_*',
0059     'keep recoPFBlocks_particleFlowBlock_*_*',
0060     'keep recoPFCandidates_particleFlowEGamma_*_*',
0061     'keep recoPFCandidates_particleFlowTmp_electrons_*',
0062     'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*',
0063     'keep *_pfElectronTranslator_*_*',
0064     'keep *_pfPhotonTranslator_*_*',
0065     'keep *_trackerDrivenElectronSeeds_preid_*')
0066 )
0067 RecoParticleFlowRECO.outputCommands.extend(RecoParticleFlowAOD.outputCommands)
0068 
0069 phase2_hgcal.toModify( RecoParticleFlowRECO,
0070     outputCommands = RecoParticleFlowRECO.outputCommands + ['keep *_particleFlowSuperClusterHGCal_*_*',
0071                                                             'keep recoPFBlocks_simPFProducer_*_*'])
0072 
0073 # Full Event content
0074 RecoParticleFlowFEVT = cms.PSet(
0075     outputCommands = cms.untracked.vstring()                                                                 
0076 )
0077 RecoParticleFlowFEVT.outputCommands.extend(RecoParticleFlowRECO.outputCommands)
0078     
0079 phase2_hgcal.toModify( RecoParticleFlowFEVT, 
0080     outputCommands = RecoParticleFlowFEVT.outputCommands + ['keep recoPFRecHits_particleFlowClusterECAL__*',
0081                                                             'keep recoPFRecHits_particleFlowRecHitHGC__*',
0082                                                             'keep *_simPFProducer_*_*'])
0083