CMS 3D CMS Logo

electronPFIsolationValuesPFBRECO_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 elPFIsoValueCharged03PFIdPFBRECO = elPFIsoValueCharged03PFId.clone()
6 elPFIsoValueCharged03PFIdPFBRECO.deposits[0].src = 'elPFIsoDepositChargedPFBRECO'
7 
8 elPFIsoValueChargedAll03PFIdPFBRECO = elPFIsoValueChargedAll03PFId.clone()
9 elPFIsoValueChargedAll03PFIdPFBRECO.deposits[0].src = 'elPFIsoDepositChargedAllPFBRECO'
10 
11 elPFIsoValueGamma03PFIdPFBRECO = elPFIsoValueGamma03PFId.clone()
12 elPFIsoValueGamma03PFIdPFBRECO.deposits[0].src = 'elPFIsoDepositGammaPFBRECO'
13 
14 elPFIsoValueNeutral03PFIdPFBRECO = elPFIsoValueNeutral03PFId.clone()
15 elPFIsoValueNeutral03PFIdPFBRECO.deposits[0].src = 'elPFIsoDepositNeutralPFBRECO'
16 
17 elPFIsoValuePU03PFIdPFBRECO = elPFIsoValuePU03PFId.clone()
18 elPFIsoValuePU03PFIdPFBRECO.deposits[0].src = 'elPFIsoDepositPUPFBRECO'
19 
20 elPFIsoValueCharged04PFIdPFBRECO = elPFIsoValueCharged03PFIdPFBRECO.clone()
21 elPFIsoValueCharged04PFIdPFBRECO.deposits[0].deltaR = cms.double(0.4)
22 
23 elPFIsoValueChargedAll04PFIdPFBRECO = elPFIsoValueChargedAll03PFIdPFBRECO.clone()
24 elPFIsoValueChargedAll04PFIdPFBRECO.deposits[0].deltaR = cms.double(0.4)
25 
26 elPFIsoValueGamma04PFIdPFBRECO = elPFIsoValueGamma03PFIdPFBRECO.clone()
27 elPFIsoValueGamma04PFIdPFBRECO.deposits[0].deltaR = cms.double(0.4)
28 
29 elPFIsoValueNeutral04PFIdPFBRECO = elPFIsoValueNeutral03PFIdPFBRECO.clone()
30 elPFIsoValueNeutral04PFIdPFBRECO.deposits[0].deltaR = cms.double(0.4)
31 
32 elPFIsoValuePU04PFIdPFBRECO = elPFIsoValuePU03PFIdPFBRECO.clone()
33 elPFIsoValuePU04PFIdPFBRECO.deposits[0].deltaR = cms.double(0.4)
34 
35 ##########Now the PFNoId
36 elPFIsoValueCharged03NoPFIdPFBRECO = elPFIsoValueCharged03PFIdPFBRECO.clone()
37 elPFIsoValueChargedAll03NoPFIdPFBRECO = elPFIsoValueChargedAll03PFIdPFBRECO.clone()
38 elPFIsoValueGamma03NoPFIdPFBRECO = elPFIsoValueGamma03PFIdPFBRECO.clone()
39 elPFIsoValueNeutral03NoPFIdPFBRECO = elPFIsoValueNeutral03PFIdPFBRECO.clone()
40 elPFIsoValuePU03NoPFIdPFBRECO = elPFIsoValuePU03PFIdPFBRECO.clone()
41 # Customization - No longer needed with new recommendation
42 #elPFIsoValueCharged03NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
43 #elPFIsoValueChargedAll03NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
44 #elPFIsoValuePU03NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
45 #elPFIsoValueGamma03NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:RectangularEtaPhiVeto(-0.02,0.02,-0.5,0.5)','EcalEndcaps:ConeVeto(0.08)')
46 
47 
48 elPFIsoValueCharged04NoPFIdPFBRECO = elPFIsoValueCharged04PFIdPFBRECO.clone()
49 elPFIsoValueChargedAll04NoPFIdPFBRECO = elPFIsoValueChargedAll04PFIdPFBRECO.clone()
50 elPFIsoValueGamma04NoPFIdPFBRECO = elPFIsoValueGamma04PFIdPFBRECO.clone()
51 elPFIsoValueNeutral04NoPFIdPFBRECO = elPFIsoValueNeutral04PFIdPFBRECO.clone()
52 elPFIsoValuePU04NoPFIdPFBRECO = elPFIsoValuePU04PFIdPFBRECO.clone()
53 #elPFIsoValueCharged04NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
54 #elPFIsoValueChargedAll04NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
55 #elPFIsoValuePU04NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
56 #elPFIsoValueGamma04NoPFIdPFBRECO.deposits[0].vetos = cms.vstring('EcalBarrel:RectangularEtaPhiVeto(-0.02,0.02,-0.5,0.5)','EcalEndcaps:ConeVeto(0.08)')
57 
58 electronPFIsolationValuesPFBRECOSequence = (
59  elPFIsoValueCharged03PFIdPFBRECO+
60  elPFIsoValueChargedAll03PFIdPFBRECO+
61  elPFIsoValueGamma03PFIdPFBRECO+
62  elPFIsoValueNeutral03PFIdPFBRECO+
63  elPFIsoValuePU03PFIdPFBRECO+
64  ##############################
65  elPFIsoValueCharged04PFIdPFBRECO+
66  elPFIsoValueChargedAll04PFIdPFBRECO+
67  elPFIsoValueGamma04PFIdPFBRECO+
68  elPFIsoValueNeutral04PFIdPFBRECO+
69  elPFIsoValuePU04PFIdPFBRECO+
70  ##############################
71  elPFIsoValueCharged03NoPFIdPFBRECO+
72  elPFIsoValueChargedAll03NoPFIdPFBRECO+
73  elPFIsoValueGamma03NoPFIdPFBRECO+
74  elPFIsoValueNeutral03NoPFIdPFBRECO+
75  elPFIsoValuePU03NoPFIdPFBRECO+
76  ##############################
77  elPFIsoValueCharged04NoPFIdPFBRECO+
78  elPFIsoValueChargedAll04NoPFIdPFBRECO+
79  elPFIsoValueGamma04NoPFIdPFBRECO+
80  elPFIsoValueNeutral04NoPFIdPFBRECO+
81  elPFIsoValuePU04NoPFIdPFBRECO)