CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
electronPFIsolationValuesPFBRECO_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 elPFIsoValueCharged03PFIdPFBRECO = elPFIsoValueCharged03PFId.clone(
6  deposits = {0: dict(src = 'elPFIsoDepositChargedPFBRECO')}
7 )
8 elPFIsoValueChargedAll03PFIdPFBRECO = elPFIsoValueChargedAll03PFId.clone(
9  deposits = {0: dict(src = 'elPFIsoDepositChargedAllPFBRECO')}
10 )
11 elPFIsoValueGamma03PFIdPFBRECO = elPFIsoValueGamma03PFId.clone(
12  deposits = {0: dict(src = 'elPFIsoDepositGammaPFBRECO')}
13 )
14 elPFIsoValueNeutral03PFIdPFBRECO = elPFIsoValueNeutral03PFId.clone(
15  deposits = {0: dict(src = 'elPFIsoDepositNeutralPFBRECO')}
16 )
17 elPFIsoValuePU03PFIdPFBRECO = elPFIsoValuePU03PFId.clone(
18  deposits = {0: dict(src = 'elPFIsoDepositPUPFBRECO')}
19 )
20 elPFIsoValueCharged04PFIdPFBRECO = elPFIsoValueCharged03PFIdPFBRECO.clone(
21  deposits = {0: dict(deltaR = 0.4)}
22 )
23 elPFIsoValueChargedAll04PFIdPFBRECO = elPFIsoValueChargedAll03PFIdPFBRECO.clone(
24  deposits = {0: dict(deltaR = 0.4)}
25 )
26 elPFIsoValueGamma04PFIdPFBRECO = elPFIsoValueGamma03PFIdPFBRECO.clone(
27  deposits = {0: dict(deltaR = 0.4)}
28 )
29 elPFIsoValueNeutral04PFIdPFBRECO = elPFIsoValueNeutral03PFIdPFBRECO.clone(
30  deposits = {0: dict(deltaR = 0.4)}
31 )
32 elPFIsoValuePU04PFIdPFBRECO = elPFIsoValuePU03PFIdPFBRECO.clone(
33  deposits = {0: dict(deltaR = 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 electronPFIsolationValuesPFBRECOTask = cms.Task(
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)
82 
83 electronPFIsolationValuesPFBRECOSequence = cms.Sequence(electronPFIsolationValuesPFBRECOTask)