Back to home page

Project CMSSW displayed by LXR

 
 

    


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     # charged hadrons + electrons + muons
0021     pfAllChargedParticles,
0022     # same, but from pile up
0023     pfPileUpAllChargedParticles,
0024     pfAllNeutralHadronsAndPhotons
0025 #    ,
0026 #    pfAllElectrons,
0027 #    pfAllMuons
0028     )
0029 pfSortByTypeSequence = cms.Sequence(pfSortByTypeTask)