File indexing completed on 2024-04-06 12:01:06
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from CommonTools.ParticleFlow.ParticleSelectors.pfAllNeutralHadrons_cfi import *
0004 from CommonTools.ParticleFlow.ParticleSelectors.pfAllChargedHadrons_cfi import *
0005 from CommonTools.ParticleFlow.ParticleSelectors.pfAllPhotons_cfi import *
0006 from CommonTools.ParticleFlow.ParticleSelectors.pfAllMuons_cfi import *
0007 from CommonTools.ParticleFlow.ParticleSelectors.pfAllElectrons_cfi import *
0008
0009 from CommonTools.ParticleFlow.ParticleSelectors.pfAllChargedParticles_cfi import *
0010
0011 from CommonTools.ParticleFlow.ParticleSelectors.pfAllNeutralHadronsAndPhotons_cfi import *
0012
0013 pfPileUpAllChargedParticles = pfAllChargedParticles.clone( src = 'pfPileUpIso' )
0014
0015
0016 pfSortByTypeTask = cms.Task(
0017 pfAllNeutralHadrons,
0018 pfAllChargedHadrons,
0019 pfAllPhotons,
0020
0021 pfAllChargedParticles,
0022
0023 pfPileUpAllChargedParticles,
0024 pfAllNeutralHadronsAndPhotons
0025
0026
0027
0028 )
0029 pfSortByTypeSequence = cms.Sequence(pfSortByTypeTask)