CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
electronProducer_cff.py
Go to the documentation of this file.
2 
6 
9 
10 sourceElectrons = patElectrons.electronSource
11 
12 elPFIsoDepositCharged.src = sourceElectrons
13 elPFIsoDepositChargedAll.src = sourceElectrons
14 elPFIsoDepositNeutral.src = sourceElectrons
15 elPFIsoDepositGamma.src = sourceElectrons
16 elPFIsoDepositPU.src = sourceElectrons
17 
18 patElectrons.isoDeposits = cms.PSet(
19  pfChargedHadrons = cms.InputTag("elPFIsoDepositCharged" ),
20  pfChargedAll = cms.InputTag("elPFIsoDepositChargedAll" ),
21  pfPUChargedHadrons = cms.InputTag("elPFIsoDepositPU" ),
22  pfNeutralHadrons = cms.InputTag("elPFIsoDepositNeutral" ),
23  pfPhotons = cms.InputTag("elPFIsoDepositGamma" ),
24  )
25 
26 patElectrons.isolationValues = cms.PSet(
27  pfChargedHadrons = cms.InputTag("elPFIsoValueCharged04PFId"),
28  pfChargedAll = cms.InputTag("elPFIsoValueChargedAll04PFId"),
29  pfPUChargedHadrons = cms.InputTag("elPFIsoValuePU04PFId" ),
30  pfNeutralHadrons = cms.InputTag("elPFIsoValueNeutral04PFId" ),
31  pfPhotons = cms.InputTag("elPFIsoValueGamma04PFId" ),
32  )
33 
34 patElectrons.isolationValuesNoPFId = cms.PSet(
35  pfChargedHadrons = cms.InputTag("elPFIsoValueCharged04NoPFId"),
36  pfChargedAll = cms.InputTag("elPFIsoValueChargedAll04NoPFId"),
37  pfPUChargedHadrons = cms.InputTag("elPFIsoValuePU04NoPFId" ),
38  pfNeutralHadrons = cms.InputTag("elPFIsoValueNeutral04NoPFId" ),
39  pfPhotons = cms.InputTag("elPFIsoValueGamma04NoPFId" )
40  )
41 
42 ## for scheduled mode
43 makePatElectrons = cms.Sequence(
44  pfParticleSelectionForIsoSequence *
45  pfElectronIsolationSequence *
46  electronMatch *
47  patElectrons
48  )