CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoParticleFlow/PFProducer/python/electronPFIsolationValues_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 
00005 elPFIsoValueCharged03PFId = cms.EDProducer("CandIsolatorFromDeposits",
00006     deposits = cms.VPSet(
00007             cms.PSet(
00008             src = cms.InputTag("elPFIsoDepositCharged"),
00009             deltaR = cms.double(0.3),
00010             weight = cms.string('1'),
00011             vetos = cms.vstring('EcalEndcaps:ConeVeto(0.015)'),
00012             skipDefaultVeto = cms.bool(True),
00013             mode = cms.string('sum')
00014             )
00015      )
00016 )
00017 
00018 elPFIsoValueChargedAll03PFId = cms.EDProducer("CandIsolatorFromDeposits",
00019     deposits = cms.VPSet(
00020             cms.PSet(
00021             src = cms.InputTag("elPFIsoDepositChargedAll"),
00022             deltaR = cms.double(0.3),
00023             weight = cms.string('1'),
00024             vetos = cms.vstring('EcalEndcaps:ConeVeto(0.015)'),
00025             skipDefaultVeto = cms.bool(True),
00026             mode = cms.string('sum')
00027      )
00028    )
00029 )
00030 
00031 elPFIsoValueGamma03PFId = cms.EDProducer("CandIsolatorFromDeposits",
00032     deposits = cms.VPSet(
00033             cms.PSet(
00034             src = cms.InputTag("elPFIsoDepositGamma"),
00035             deltaR = cms.double(0.3),
00036             weight = cms.string('1'),
00037             vetos = cms.vstring('EcalEndcaps:ConeVeto(0.08)'),
00038             skipDefaultVeto = cms.bool(True),
00039             mode = cms.string('sum')
00040       )
00041    )
00042 )
00043 
00044 elPFIsoValueNeutral03PFId = cms.EDProducer("CandIsolatorFromDeposits",
00045     deposits = cms.VPSet(
00046             cms.PSet(
00047             src = cms.InputTag("elPFIsoDepositNeutral"),
00048             deltaR = cms.double(0.3),
00049             weight = cms.string('1'),
00050             vetos = cms.vstring(),
00051             skipDefaultVeto = cms.bool(True),
00052             mode = cms.string('sum')
00053     )
00054  )
00055 )
00056 
00057 elPFIsoValuePU03PFId = cms.EDProducer("CandIsolatorFromDeposits",
00058     deposits = cms.VPSet(
00059             cms.PSet(
00060             src = cms.InputTag("elPFIsoDepositPU"),
00061             deltaR = cms.double(0.3),
00062             weight = cms.string('1'),
00063             vetos = cms.vstring('EcalEndcaps:ConeVeto(0.015)'),
00064             skipDefaultVeto = cms.bool(True),
00065             mode = cms.string('sum')
00066       )
00067    )
00068 )
00069 
00070 
00071 
00072 elPFIsoValueCharged04PFId = elPFIsoValueCharged03PFId.clone()
00073 elPFIsoValueCharged04PFId.deposits[0].deltaR = cms.double(0.4)
00074 
00075 
00076 elPFIsoValueChargedAll04PFId = elPFIsoValueChargedAll03PFId.clone()
00077 elPFIsoValueChargedAll04PFId.deposits[0].deltaR = cms.double(0.4)
00078 
00079 elPFIsoValueGamma04PFId = elPFIsoValueGamma03PFId.clone()
00080 elPFIsoValueGamma04PFId.deposits[0].deltaR = cms.double(0.4)
00081 
00082 
00083 elPFIsoValueNeutral04PFId = elPFIsoValueNeutral03PFId.clone()
00084 elPFIsoValueNeutral04PFId.deposits[0].deltaR = cms.double(0.4)
00085 
00086 elPFIsoValuePU04PFId = elPFIsoValuePU03PFId.clone()
00087 elPFIsoValuePU04PFId.deposits[0].deltaR = cms.double(0.4)
00088 
00089 ##########Now the PFNoId
00090 elPFIsoValueCharged03NoPFId     =  elPFIsoValueCharged03PFId.clone()           
00091 elPFIsoValueChargedAll03NoPFId  =  elPFIsoValueChargedAll03PFId.clone()
00092 elPFIsoValueGamma03NoPFId       =  elPFIsoValueGamma03PFId.clone()         
00093 elPFIsoValueNeutral03NoPFId     =  elPFIsoValueNeutral03PFId.clone()       
00094 elPFIsoValuePU03NoPFId          =  elPFIsoValuePU03PFId.clone()            
00095 # Customization - No longer needed with new recommendation  
00096 #elPFIsoValueCharged03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
00097 #elPFIsoValueChargedAll03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
00098 #elPFIsoValuePU03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)') 
00099 #elPFIsoValueGamma03NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:RectangularEtaPhiVeto(-0.02,0.02,-0.5,0.5)','EcalEndcaps:ConeVeto(0.08)')
00100 
00101 
00102 elPFIsoValueCharged04NoPFId     =  elPFIsoValueCharged04PFId.clone()       
00103 elPFIsoValueChargedAll04NoPFId  =  elPFIsoValueChargedAll04PFId.clone()    
00104 elPFIsoValueGamma04NoPFId       =  elPFIsoValueGamma04PFId.clone()         
00105 elPFIsoValueNeutral04NoPFId     =  elPFIsoValueNeutral04PFId.clone()       
00106 elPFIsoValuePU04NoPFId          =  elPFIsoValuePU04PFId.clone()            
00107 #elPFIsoValueCharged04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
00108 #elPFIsoValueChargedAll04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)')
00109 #elPFIsoValuePU04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:ConeVeto(0.015)','EcalEndcaps:ConeVeto(0.015)') 
00110 #elPFIsoValueGamma04NoPFId.deposits[0].vetos = cms.vstring('EcalBarrel:RectangularEtaPhiVeto(-0.02,0.02,-0.5,0.5)','EcalEndcaps:ConeVeto(0.08)')
00111 
00112 electronPFIsolationValuesSequence = (
00113     elPFIsoValueCharged03PFId+
00114     elPFIsoValueChargedAll03PFId+
00115     elPFIsoValueGamma03PFId+
00116     elPFIsoValueNeutral03PFId+
00117     elPFIsoValuePU03PFId+
00118     ############################## 
00119     elPFIsoValueCharged04PFId+
00120     elPFIsoValueChargedAll04PFId+
00121     elPFIsoValueGamma04PFId+
00122     elPFIsoValueNeutral04PFId+
00123     elPFIsoValuePU04PFId+
00124     ############################## 
00125     elPFIsoValueCharged03NoPFId+
00126     elPFIsoValueChargedAll03NoPFId+
00127     elPFIsoValueGamma03NoPFId+
00128     elPFIsoValueNeutral03NoPFId+
00129     elPFIsoValuePU03NoPFId+
00130     ############################## 
00131     elPFIsoValueCharged04NoPFId+
00132     elPFIsoValueChargedAll04NoPFId+
00133     elPFIsoValueGamma04NoPFId+
00134     elPFIsoValueNeutral04NoPFId+
00135     elPFIsoValuePU04NoPFId)