/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoParticleFlow/Configuration/python/RecoParticleFlow_EventContent_cff.py
79 строк
4 KB
Felice Pantaleo
Make TICL event content independent of the legacy ticl_v5 modifier
21 апр 2026, 17:44
21 апр 2026, 17:44
17880eb
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # AOD content RecoParticleFlowAOD = cms.PSet( outputCommands = cms.untracked.vstring( 'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*', 'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*', 'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*', 'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*', 'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*', 'keep recoCaloClusters_particleFlowEGamma_*_*', 'keep recoSuperClusters_particleFlowEGamma_*_*', 'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*', 'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*', 'keep recoConversions_particleFlowEGamma_*_*', 'keep recoPFCandidates_particleFlow_*_*', 'keep recoPFCandidates_particleFlowTmp_AddedMuonsAndHadrons_*', 'keep recoPFCandidates_particleFlowTmp_CleanedCosmicsMuons_*', 'keep recoPFCandidates_particleFlowTmp_CleanedFakeMuons_*', 'keep recoPFCandidates_particleFlowTmp_CleanedHF_*', 'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughMuons_*', 'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughNeutralHadrons_*', 'keep recoPFCandidates_particleFlowTmp_CleanedTrackerAndGlobalMuons_*', 'keep *_particleFlow_electrons_*', 'keep *_particleFlow_photons_*', 'keep *_particleFlow_muons_*', 'keep recoCaloClusters_pfElectronTranslator_*_*', 'keep recoPreshowerClusters_pfElectronTranslator_*_*', 'keep recoSuperClusters_pfElectronTranslator_*_*', 'keep recoCaloClusters_pfPhotonTranslator_*_*', 'keep recoPreshowerClusters_pfPhotonTranslator_*_*', 'keep recoSuperClusters_pfPhotonTranslator_*_*', 'keep recoPhotons_pfPhotonTranslator_*_*', 'keep recoPhotonCores_pfPhotonTranslator_*_*', 'keep recoConversions_pfPhotonTranslator_*_*', 'keep *_particleFlowPtrs_*_*', 'keep *_particleFlowTmpPtrs_*_*', 'keep *_chargedHadronPFTrackIsolation_*_*') ) # mods for HGCAL and timing # Some SC content also defined in RecoEcal/Configuration/python/RecoEcal_EventContent_cff.py from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing phase2_hgcal.toModify( RecoParticleFlowAOD, outputCommands = RecoParticleFlowAOD.outputCommands + ['keep recoPFRecHits_particleFlowRecHitHGC_Cleaned_*']) phase2_timing.toModify( RecoParticleFlowAOD, outputCommands = RecoParticleFlowAOD.outputCommands + ['keep *_ecalBarrelClusterFastTimer_*_*']) # RECO content RecoParticleFlowRECO = cms.PSet( outputCommands = cms.untracked.vstring( 'keep recoPFClusters_particleFlowClusterECAL_*_*', 'keep recoPFClusters_particleFlowClusterHCAL_*_*', 'keep recoPFClusters_particleFlowClusterHO_*_*', 'keep recoPFClusters_particleFlowClusterHF_*_*', 'keep recoPFClusters_particleFlowClusterPS_*_*', 'keep recoPFBlocks_particleFlowBlock_*_*', 'keep recoPFCandidates_particleFlowEGamma_*_*', 'keep recoPFCandidates_particleFlowTmp_electrons_*', 'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*', 'keep *_pfElectronTranslator_*_*', 'keep *_pfPhotonTranslator_*_*', 'keep *_trackerDrivenElectronSeeds_preid_*') ) RecoParticleFlowRECO.outputCommands.extend(RecoParticleFlowAOD.outputCommands) phase2_hgcal.toModify( RecoParticleFlowRECO, outputCommands = RecoParticleFlowRECO.outputCommands + ['keep *_particleFlowSuperClusterHGCal_*_*']) # Full Event content RecoParticleFlowFEVT = cms.PSet( outputCommands = cms.untracked.vstring() ) RecoParticleFlowFEVT.outputCommands.extend(RecoParticleFlowRECO.outputCommands) phase2_hgcal.toModify( RecoParticleFlowFEVT, outputCommands = RecoParticleFlowFEVT.outputCommands + ['keep recoPFRecHits_particleFlowClusterECAL__*', 'keep recoPFRecHits_particleFlowRecHitHGC__*'])