Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:32

0001 #
0002 # With this customization the ClusterMCsplitStrips module will be substituted
0003 # for the standard clusterizer.  If a cluster is matched to more than one simTrack
0004 # it will be split into the corresponding true clusters.
0005 #
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 def splitMCmerged(process):
0010 
0011   process.siStripClustersUnsplit = process.siStripClusters.clone()
0012   stripClusIndex = process.striptrackerlocalreco.index(process.siStripClusters)                                                                   
0013   process.striptrackerlocalreco.remove(process.siStripClusters)
0014   del process.siStripClusters
0015   process.load('RecoLocalTracker.SubCollectionProducers.test.ClusterMCsplitStrips_cfi')
0016   process.siStripClustersMCsplit = cms.Sequence(process.siStripClustersUnsplit*process.siStripClusters)
0017   process.striptrackerlocalreco.insert(stripClusIndex,process.siStripClustersMCsplit)
0018  
0019 # Override the chargePerCM cut in stripCPE
0020   process.StripCPEfromTrackAngleESProducer.parameters.maxChgOneMIP = cms.double(-6000.)
0021 
0022   return(process)