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 particleFlowClusterECAL.energyCorrector.verticesLabel = cms.InputTag(
'hiPixelAdaptiveVertex')
42 mvaElectrons.vertexTag = cms.InputTag(
"hiSelectedVertex")
44 particleFlowBlock.elementImporters = cms.VPSet(
45 cms.PSet( importerName = cms.string(
"GSFTrackImporter"),
46 source = cms.InputTag(
"pfTrackElec"),
47 gsfsAreSecondary = cms.bool(
False),
48 superClustersArePF = cms.bool(
True) ),
49 cms.PSet( importerName = cms.string(
"SuperClusterImporter"),
50 source_eb = cms.InputTag(
"particleFlowSuperClusterECAL:particleFlowSuperClusterECALBarrel"),
51 source_ee = cms.InputTag(
"particleFlowSuperClusterECAL:particleFlowSuperClusterECALEndcapWithPreshower"),
52 source_towers = cms.InputTag(
"towerMaker"),
53 maximumHoverE = cms.double(0.5),
54 minSuperClusterPt = cms.double(10.0),
55 minPTforBypass = cms.double(100.0),
56 superClustersArePF = cms.bool(
True) ),
58 cms.PSet( importerName = cms.string(
"GeneralTracksImporter"),
59 source = cms.InputTag(
"pfTrack"),
60 muonSrc = cms.InputTag(
"hiMuons1stStep"),
61 useIterativeTracking = cms.bool(
False),
62 DPtOverPtCuts_byTrackAlgo = cms.vdouble(-1.0,-1.0,-1.0,
64 NHitCuts_byTrackAlgo = cms.vuint32(3,3,3,3,3)
68 cms.PSet( importerName = cms.string(
"ECALClusterImporter"),
69 source = cms.InputTag(
"particleFlowClusterECAL"),
70 BCtoPFCMap = cms.InputTag(
'particleFlowSuperClusterECAL:PFClusterAssociationEBEE') ),
71 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
72 source = cms.InputTag(
"particleFlowClusterHCAL") ),
73 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
74 source = cms.InputTag(
"particleFlowClusterHO") ),
75 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
76 source = cms.InputTag(
"particleFlowClusterHF") ),
77 cms.PSet( importerName = cms.string(
"GenericClusterImporter"),
78 source = cms.InputTag(
"particleFlowClusterPS") )
81 particleFlowTmp.postMuonCleaning = cms.bool(
False)
82 particleFlowTmp.vertexCollection = cms.InputTag(
"hiSelectedVertex")
83 particleFlowTmp.muons = cms.InputTag(
"hiMuons1stStep")
84 particleFlowTmp.usePFConversions = cms.bool(
False)
86 pfNoPileUpIso.enable =
False 87 pfPileUpIso.Enable =
False 88 pfNoPileUp.enable =
False 89 pfPileUp.Enable =
False 90 particleFlow.Muons = cms.InputTag(
"muons",
"hiMuons1stStep2muonsMap")
94 hiParticleFlowLocalRecoTask = cms.Task(particleFlowClusterTask)
95 hiParticleFlowLocalReco = cms.Sequence(hiParticleFlowLocalRecoTask)
97 particleFlowTmpTask = cms.Task(particleFlowTmp)
98 particleFlowTmpSeq = cms.Sequence(particleFlowTmpTask)
101 hiParticleFlowRecoTask = cms.Task( pfGsfElectronMVASelectionTask
103 , particleFlowEGammaFullTask
104 , photonIsolationHIProducerGED
105 , particleFlowTmpTask
106 , fixedGridRhoFastjetAllTmp
107 , particleFlowTmpPtrs
108 , particleFlowEGammaFinalTask
109 , pfParticleSelectionTask
111 hiParticleFlowReco = cms.Sequence(hiParticleFlowRecoTask)
113 particleFlowLinksTask = cms.Task( particleFlow,particleFlowPtrs,chargedHadronPFTrackIsolation,particleBasedIsolationTask)
114 particleFlowLinks = cms.Sequence(particleFlowLinksTask)