CMS 3D CMS Logo

electronEDIsolationValues_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 elEDIsoValueCharged03 = elPFIsoValueCharged03.clone()
6 elEDIsoValueCharged03.deposits[0].src ='elEDIsoDepositCharged'
7 
8 elEDIsoValueChargedAll03 = elPFIsoValueChargedAll03.clone()
9 elEDIsoValueChargedAll03.deposits[0].src='elEDIsoDepositChargedAll'
10 
11 elEDIsoValueGamma03 = elPFIsoValueGamma03.clone()
12 elEDIsoValueGamma03.deposits[0].src='elEDIsoDepositGamma'
13 
14 elEDIsoValueNeutral03 = elPFIsoValueNeutral03.clone()
15 elEDIsoValueNeutral03.deposits[0].src='elEDIsoDepositNeutral'
16 
17 elEDIsoValuePU03 = elPFIsoValuePU03.clone()
18 elEDIsoValuePU03.deposits[0].src = 'elEDIsoDepositPU'
19 
20 elEDIsoValueCharged04 = elPFIsoValueCharged04.clone()
21 elEDIsoValueCharged04.deposits[0].src ='elEDIsoDepositCharged'
22 
23 elEDIsoValueChargedAll04 = elPFIsoValueChargedAll04.clone()
24 elEDIsoValueChargedAll04.deposits[0].src='elEDIsoDepositChargedAll'
25 
26 elEDIsoValueGamma04 = elPFIsoValueGamma04.clone()
27 elEDIsoValueGamma04.deposits[0].src='elEDIsoDepositGamma'
28 
29 elEDIsoValueNeutral04 = elPFIsoValueNeutral04.clone()
30 elEDIsoValueNeutral04.deposits[0].src='elEDIsoDepositNeutral'
31 
32 elEDIsoValuePU04 = elPFIsoValuePU04.clone()
33 elEDIsoValuePU04.deposits[0].src = 'elEDIsoDepositPU'
34 
35 electronEDIsolationValuesTask = cms.Task(
36  elEDIsoValueCharged03,
37  elEDIsoValueChargedAll03,
38  elEDIsoValueGamma03,
39  elEDIsoValueNeutral03,
40  elEDIsoValuePU03,
41 ##############################
42  elEDIsoValueCharged04,
43  elEDIsoValueChargedAll04,
44  elEDIsoValueGamma04,
45  elEDIsoValueNeutral04,
46  elEDIsoValuePU04
47  )
48 electronEDIsolationValuesSequence = cms.Sequence(electronEDIsolationValuesTask)