CMS 3D CMS Logo

pfElectronIsolation_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from RecoEgamma.EgammaIsolationAlgos.eleIsoDeposits_cff import *
00003 from RecoEgamma.EgammaIsolationAlgos.egammaSuperClusterMerger_cfi import *
00004 from RecoEgamma.EgammaIsolationAlgos.egammaBasicClusterMerger_cfi import *
00005 
00006 
00007 pfeleIsoDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00008     src = cms.InputTag("pfElectronsPtGt5"),
00009     MultipleDepositsFlag = cms.bool(False),
00010     trackType = cms.string('candidate'),
00011     ExtractorPSet = cms.PSet(
00012         Diff_z = cms.double(0.2),
00013         ComponentName = cms.string('CandViewExtractor'),
00014         DR_Max = cms.double(1.0),
00015         Diff_r = cms.double(0.1),
00016         inputCandView = cms.InputTag("particleFlow"),
00017         DR_Veto = cms.double(1e-05),
00018         DepositLabel = cms.untracked.string('')
00019     )
00020                                              
00021 )
00022 
00023 
00024 
00025 
00026 pfEleIsoDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00027     deposits = cms.VPSet(cms.PSet(
00028         src = cms.InputTag("pfeleIsoDepositPFCandidates"),
00029         deltaR = cms.double(0.5),
00030         weight = cms.string('1'),
00031         vetos = cms.vstring('0.01', 
00032             'Threshold(2.0)'),
00033         skipDefaultVeto = cms.bool(True),
00034         mode = cms.string('sum')
00035     ))
00036 )
00037 
00038 pfeleIsoChDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00039     src = cms.InputTag("pfElectronsPtGt5"),
00040     MultipleDepositsFlag = cms.bool(False),
00041     trackType = cms.string('candidate'),
00042     ExtractorPSet = cms.PSet(
00043         Diff_z = cms.double(0.2),
00044         ComponentName = cms.string('CandViewExtractor'),
00045         DR_Max = cms.double(1.0),
00046         Diff_r = cms.double(0.1),
00047         inputCandView = cms.InputTag("pfAllChargedHadrons"),
00048         DR_Veto = cms.double(1e-05),
00049         DepositLabel = cms.untracked.string('')
00050     )
00051 
00052 )
00053 
00054 pfeleIsoNeDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00055     src = cms.InputTag("pfElectronsPtGt5"),
00056     MultipleDepositsFlag = cms.bool(False),
00057     trackType = cms.string('candidate'),
00058     ExtractorPSet = cms.PSet(
00059         Diff_z = cms.double(0.2),
00060         ComponentName = cms.string('CandViewExtractor'),
00061         DR_Max = cms.double(1.0),
00062         Diff_r = cms.double(0.1),
00063         inputCandView = cms.InputTag("pfAllNeutralHadrons"),
00064         DR_Veto = cms.double(1e-05),
00065         DepositLabel = cms.untracked.string('')
00066     )
00067 
00068 )
00069 
00070 pfeleIsoGaDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00071     src = cms.InputTag("pfElectronsPtGt5"),
00072     MultipleDepositsFlag = cms.bool(False),
00073     trackType = cms.string('candidate'),
00074     ExtractorPSet = cms.PSet(
00075         Diff_z = cms.double(0.2),
00076         ComponentName = cms.string('CandViewExtractor'),
00077         DR_Max = cms.double(1.0),
00078         Diff_r = cms.double(0.1),
00079         inputCandView = cms.InputTag("pfAllPhotons"),
00080         DR_Veto = cms.double(1e-05),
00081         DepositLabel = cms.untracked.string('')
00082     )
00083 
00084 )
00085 
00086 
00087 
00088 
00089 pfEleIsoChDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00090     deposits = cms.VPSet(cms.PSet(
00091         src = cms.InputTag("pfeleIsoChDepositPFCandidates"),
00092         deltaR = cms.double(0.5),
00093         weight = cms.string('1'),
00094         vetos = cms.vstring('0.01',
00095             'Threshold(2.0)'),
00096         skipDefaultVeto = cms.bool(True),
00097         mode = cms.string('sum')
00098     ))
00099 )
00100 
00101 pfEleIsoNeDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00102     deposits = cms.VPSet(cms.PSet(
00103         src = cms.InputTag("pfeleIsoNeDepositPFCandidates"),
00104         deltaR = cms.double(0.5),
00105         weight = cms.string('1'),
00106         vetos = cms.vstring('0.01',
00107             'Threshold(2.0)'),
00108         skipDefaultVeto = cms.bool(True),
00109         mode = cms.string('sum')
00110     ))
00111 )
00112 
00113 pfEleIsoGaDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00114     deposits = cms.VPSet(cms.PSet(
00115         src = cms.InputTag("pfeleIsoGaDepositPFCandidates"),
00116         deltaR = cms.double(0.5),
00117         weight = cms.string('1'),
00118         vetos = cms.vstring('0.01',
00119             'Threshold(2.0)'),
00120         skipDefaultVeto = cms.bool(True),
00121         mode = cms.string('sum')
00122     ))
00123 )
00124 
00125 
00126 
00127 
00128 
00129 
00130 
00131 pfElectrons  = cms.EDFilter("IsolatedPFCandidateSelector",
00132     src = cms.InputTag("pfElectronsPtGt5"),
00133     IsoDeposit = cms.InputTag("pfEleIsoDeposit"),
00134     IsolationCut = cms.double(2.5),       
00135     ) 
00136 
00137 
00138 
00139 pfElectronIsol = cms.Sequence(    
00140   pfeleIsoDepositPFCandidates
00141   *pfEleIsoDeposit
00142   *pfeleIsoChDepositPFCandidates
00143   *pfEleIsoChDeposit
00144   *pfeleIsoNeDepositPFCandidates
00145   *pfEleIsoNeDeposit
00146   *pfeleIsoGaDepositPFCandidates
00147   *pfEleIsoGaDeposit
00148   *pfElectrons
00149   )

Generated on Tue Jun 9 17:41:49 2009 for CMSSW by  doxygen 1.5.4