CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
photonPFIsolationDeposits_cff.py
Go to the documentation of this file.
2 
4 
5 #Now prepare the iso deposits
6 phPFIsoDepositCharged=isoDepositReplace('pfSelectedPhotons','pfAllChargedHadrons')
7 phPFIsoDepositChargedAll=isoDepositReplace('pfSelectedPhotons','pfAllChargedParticles')
8 phPFIsoDepositNeutral=isoDepositReplace('pfSelectedPhotons','pfAllNeutralHadrons')
9 #phPFIsoDepositGamma=isoDepositReplace('pfSelectedPhotons','pfAllPhotons')
10 phPFIsoDepositPU=isoDepositReplace('pfSelectedPhotons','pfPileUpAllChargedParticles')
11 phPFIsoDepositGamma= cms.EDProducer("CandIsoDepositProducer",
12  src = cms.InputTag("pfSelectedPhotons"),
13  MultipleDepositsFlag = cms.bool(False),
14  trackType = cms.string('candidate'),
15  ExtractorPSet = cms.PSet(
16  Diff_z = cms.double(99999.99),
17  ComponentName = cms.string('PFCandWithSuperClusterExtractor'),
18  DR_Max = cms.double(1.0),
19  Diff_r = cms.double(99999.99),
20  inputCandView = cms.InputTag("pfAllPhotons"),
21  DR_Veto = cms.double(1e-05),
22  SCMatch_Veto = cms.bool(True),
23  MissHitSCMatch_Veto = cms.bool(False),
24  DepositLabel = cms.untracked.string('')
25  )
26  )
27 
28 photonPFIsolationDepositsSequence = cms.Sequence(
29  phPFIsoDepositCharged+
30  phPFIsoDepositChargedAll+
31  phPFIsoDepositGamma+
32  phPFIsoDepositNeutral+
33  phPFIsoDepositPU
34  )
def isoDepositReplace
Definition: tools_cfi.py:6