Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def customise(process):
0004 
0005     # Customize process to run PF *without* electrons
0006 
0007     # add particle flow local reconstruction
0008     process.load("RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff")
0009     process.localReco += process.particleFlowCluster
0010 
0011     process.load("RecoParticleFlow.PFTracking.pfTrack_cfi")
0012     process.pfTrack.UseQuality = cms.bool(True)   
0013     process.pfTrack.TrackQuality = cms.string('highPurity')   
0014     process.pfTrack.TkColList = cms.VInputTag("hiGeneralTracks")  
0015     process.pfTrack.PrimaryVertexLabel = cms.InputTag("hiSelectedVertex")
0016     process.pfTrack.MuColl = cms.InputTag("hiMuons1stStep")
0017     process.pfTrack.GsfTracksInEvents = cms.bool(False)
0018     
0019     # run a trimmed down PF sequence with heavy-ion vertex, no conversions, nucl int, etc.
0020     process.load("RecoParticleFlow.Configuration.RecoParticleFlow_cff")
0021 
0022     process.particleFlowBlock.useConvBremPFRecTracks = cms.bool(False)
0023     process.particleFlowBlock.useIterTracking = cms.bool(False)
0024     process.particleFlowBlock.useNuclear = cms.bool(False)
0025     process.particleFlowBlock.useConversions = cms.bool(False)
0026 
0027     process.particleFlowTmp.vertexCollection = cms.InputTag("hiSelectedVertex")
0028     process.particleFlowTmp.muons = cms.InputTag("hiMuons1stStep")
0029     process.particleFlowTmp.usePFConversions = cms.bool(False)
0030 
0031     process.electronsCiCLoose.verticesCollection = cms.InputTag("hiSelectedVertex")
0032 
0033     # define new high-level RECO sequence and add to top-level sequence
0034     process.highLevelRecoPbPb = cms.Sequence(process.pfTrack
0035                                              * process.pfGsfElectronCiCSelectionSequence
0036                                              * process.particleFlowBlock
0037                                              * process.particleFlowTmp
0038                                              )
0039     
0040     process.reconstructionHeavyIons *= process.highLevelRecoPbPb
0041     
0042     return process