Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from CommonTools.ParticleFlow.pfParticleSelection_cff import *
0004 from RecoParticleFlow.PFProducer.electronPFIsolationDeposits_cff import *
0005 from RecoParticleFlow.PFProducer.electronPFIsolationValues_cff import *
0006 
0007 pfSelectedElectrons = cms.EDFilter(
0008     "GenericPFCandidateSelector",
0009     src = cms.InputTag("particleFlow"),
0010     cut = cms.string("abs(pdgId())==11")
0011 )
0012 
0013 pfBasedElectronIsoTask = cms.Task(
0014     pfParticleSelectionTask,
0015     pfSelectedElectrons,
0016     electronPFIsolationDepositsTask,
0017     electronPFIsolationValuesTask
0018     )
0019 pfBasedElectronIsoSequence = cms.Sequence(pfBasedElectronIsoTask)
0020 
0021 #COLIN: is this file used in RECO? in PF2PAT? same for photons.