Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-25 02:13:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##
0004 ## Do not filter out the first 20 LS when
0005 ## running the PCL alignment in the RelVal case
0006 ##
0007 
0008 def doNotFilterLS(process):
0009     if hasattr(process,'LSNumberFilter'):
0010         process.LSNumberFilter.minLS = 1
0011     return process
0012 
0013 ##
0014 ## Required 10 instead of 500 hits per structure
0015 ## when running the HG PCL alignment in the RelVal case
0016 ##
0017 
0018 def lowerHitsPerStructure(process):
0019     if hasattr(process,'SiPixelAliPedeAlignmentProducerHG'):
0020         process.SiPixelAliPedeAlignmentProducerHG.algoConfig.pedeSteerer.options = cms.vstring(
0021             'entries 10',
0022             'chisqcut  30.0  4.5',
0023             'threads 1 1',
0024             'closeandreopen'
0025         )
0026     if hasattr(process,'SiPixelAliPedeAlignmentProducerHGCombined'):
0027         process.SiPixelAliPedeAlignmentProducerHGCombined.algoConfig.pedeSteerer.options = cms.vstring(
0028             'entries 10',
0029             'chisqcut  30.0  4.5',
0030             'threads 1 1',
0031             'closeandreopen',
0032             'skipemptycons'
0033         )
0034     return process