CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/Configuration/python/Reconstruction_hiPF_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # include  particle flow local reconstruction
00004 from RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff import *
00005 particleFlowClusterPS.thresh_Pt_Seed_Endcap = cms.double(99999.)
00006 
00007 from RecoParticleFlow.PFTracking.pfTrack_cfi import *
00008 pfTrack.UseQuality = cms.bool(True)
00009 pfTrack.TrackQuality = cms.string('highPurity')
00010 pfTrack.TkColList = cms.VInputTag("hiSelectedTracks")
00011 pfTrack.PrimaryVertexLabel = cms.InputTag("hiSelectedVertex")
00012 pfTrack.MuColl = cms.InputTag("muons")
00013 
00014 # run a trimmed down PF sequence with heavy-ion vertex, no conversions, nucl int, etc.
00015 from RecoParticleFlow.Configuration.RecoParticleFlow_cff import *
00016 particleFlowBlock.useConvBremPFRecTracks = cms.bool(False)
00017 particleFlowBlock.useIterTracking = cms.bool(False)
00018 particleFlowBlock.useNuclear = cms.bool(False)
00019 particleFlowBlock.useConversions = cms.bool(False)
00020 particleFlowBlock.RecMuons = 'muons'
00021 
00022 particleFlowTmp.postMuonCleaning = cms.bool(False)
00023 particleFlowTmp.vertexCollection = cms.InputTag("hiSelectedVertex")
00024 particleFlowTmp.usePFElectrons = cms.bool(True)
00025 particleFlowTmp.muons = cms.InputTag("muons")
00026 particleFlowTmp.usePFConversions = cms.bool(False)
00027 
00028 from RecoParticleFlow.PFTracking.pfTrackElec_cfi import *
00029 pfTrackElec.applyGsfTrackCleaning = cms.bool(True)
00030 pfTrackElec.PrimaryVertexLabel = cms.InputTag("hiSelectedVertex")
00031 
00032 mvaElectrons.vertexTag = cms.InputTag("hiSelectedVertex")
00033 
00034 # local reco must run before electrons (RecoHI/HiEgammaAlgos), due to PF integration
00035 HiParticleFlowLocalReco = cms.Sequence(particleFlowCluster
00036                                        * pfTrack
00037                                        * pfTrackElec
00038                                        )
00039 
00040 #PF Reco runs after electrons
00041 HiParticleFlowReco = cms.Sequence(pfGsfElectronMVASelectionSequence
00042                                   * particleFlowBlock
00043                                   * particleFlowTmp
00044                                   )