1 import FWCore.ParameterSet.Config
as cms
9 particleFlowEGamma.vertexCollection = cms.InputTag(
"hiSelectedVertex")
10 gedGsfElectronCores.ctfTracks = cms.InputTag(
"hiGeneralTracks")
11 gedGsfElectronsTmp.ctfTracksTag = cms.InputTag(
"hiGeneralTracks")
12 gedGsfElectronsTmp.vtxTag = cms.InputTag(
"hiSelectedVertex")
13 gedGsfElectronsTmp.preselection.minSCEtBarrel = cms.double(15.0)
14 gedGsfElectronsTmp.preselection.minSCEtEndcaps = cms.double(15.0)
15 gedGsfElectronsTmp.fillConvVtxFitProb = cms.bool(
False)
17 gedPhotonsTmp.primaryVertexProducer = cms.InputTag(
"hiSelectedVertex")
18 gedPhotonsTmp.isolationSumsCalculatorSet.trackProducer = cms.InputTag(
"hiGeneralTracks")
19 gedPhotons.primaryVertexProducer = cms.InputTag(
"hiSelectedVertex")
20 gedPhotons.isolationSumsCalculatorSet.trackProducer = cms.InputTag(
"hiGeneralTracks")
21 photonIDValueMaps.vertices = cms.InputTag(
"hiSelectedVertex")
22 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi
import photonIsolationHIProducer
23 photonIsolationHIProducerGED = photonIsolationHIProducer.clone(photonProducer=cms.InputTag(
"gedPhotonsTmp"))
26 gedGsfElectronsTmp.preselection.maxHOverEBarrelCone = cms.double(0.25)
27 gedGsfElectronsTmp.preselection.maxHOverEEndcapsCone = cms.double(0.25)
28 gedGsfElectronsTmp.preselection.maxHOverEBarrelTower = cms.double(0.0)
29 gedGsfElectronsTmp.preselection.maxHOverEEndcapsTower = cms.double(0.0)
30 gedGsfElectronsTmp.preselection.maxEOverPBarrel = cms.double(2.)
31 gedGsfElectronsTmp.preselection.maxEOverPEndcaps = cms.double(2.)
33 ootPhotonsTmp.primaryVertexProducer = cms.InputTag(
"hiSelectedVertex")
34 ootPhotonsTmp.isolationSumsCalculatorSet.trackProducer = cms.InputTag(
"hiGeneralTracks")
35 ootPhotons.primaryVertexProducer = cms.InputTag(
"hiSelectedVertex")
36 ootPhotons.isolationSumsCalculatorSet.trackProducer = cms.InputTag(
"hiGeneralTracks")
40 mvaElectrons.vertexTag = cms.InputTag(
"hiSelectedVertex")
42 particleFlowBlock.elementImporters = cms.VPSet(
43 cms.PSet( importerName = cms.string(
"GSFTrackImporter"),
44 source = cms.InputTag(
"pfTrackElec"),
45 gsfsAreSecondary = cms.bool(
False),
46 superClustersArePF = cms.bool(
True) ),
47 cms.PSet( importerName = cms.string(
"SuperClusterImporter"),
48 source_eb = cms.InputTag(
"particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel"),
49 source_ee = cms.InputTag(
"particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower"),
50 source_towers = cms.InputTag(
"towerMaker"),
51 maximumHoverE = cms.double(0.5),
52 minSuperClusterPt = cms.double(10.0),
53 minPTforBypass = cms.double(100.0),
54 superClustersArePF = cms.bool(
True) ),
56 cms.PSet( importerName = cms.string(
"GeneralTracksImporter"),
57 source = cms.InputTag(
"pfTrack"),
58 muonSrc = cms.InputTag(
"hiMuons1stStep"),
59 useIterativeTracking = cms.bool(
False),
60 DPtOverPtCuts_byTrackAlgo = cms.vdouble(-1.0,-1.0,-1.0,
62 NHitCuts_byTrackAlgo = cms.vuint32(3,3,3,3,3)
66 cms.PSet( importerName = cms.string(
"ECALClusterImporter"),
67 source = cms.InputTag(
"particleFlowClusterECAL"),
68 BCtoPFCMap = cms.InputTag(
'particleFlowSuperClusterECAL:PFClusterAssociationEBEE') ),
69 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
70 source = cms.InputTag(
"particleFlowClusterHCAL") ),
71 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
72 source = cms.InputTag(
"particleFlowClusterHO") ),
73 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
74 source = cms.InputTag(
"particleFlowClusterHF") ),
75 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
76 source = cms.InputTag(
"particleFlowClusterPS") )
79 particleFlowTmp.postMuonCleaning = cms.bool(
False)
80 particleFlowTmp.vertexCollection = cms.InputTag(
"hiSelectedVertex")
81 particleFlowTmp.muons = cms.InputTag(
"hiMuons1stStep")
82 particleFlowTmp.usePFConversions = cms.bool(
False)
84 pfNoPileUpIso.enable =
False
85 pfPileUpIso.Enable =
False
86 pfNoPileUp.enable =
False
87 pfPileUp.Enable =
False
88 particleFlow.Muons = cms.InputTag(
"muons",
"hiMuons1stStep2muonsMap")
92 hiParticleFlowLocalRecoTask = cms.Task(particleFlowClusterTask)
93 hiParticleFlowLocalReco = cms.Sequence(hiParticleFlowLocalRecoTask)
95 particleFlowTmpTask = cms.Task(particleFlowTmp)
96 particleFlowTmpSeq = cms.Sequence(particleFlowTmpTask)
99 hiParticleFlowRecoTask = cms.Task( pfGsfElectronMVASelectionTask
101 , particleFlowEGammaFullTask
102 , photonIsolationHIProducerGED
103 , particleFlowTmpTask
104 , fixedGridRhoFastjetAllTmp
105 , particleFlowTmpPtrs
106 , particleFlowEGammaFinalTask
107 , pfParticleSelectionTask
109 hiParticleFlowReco = cms.Sequence(hiParticleFlowRecoTask)
111 particleFlowLinksTask = cms.Task( particleFlow,particleFlowPtrs,chargedHadronPFTrackIsolation,particleBasedIsolationTask)
112 particleFlowLinks = cms.Sequence(particleFlowLinksTask)