File indexing completed on 2024-04-06 12:28:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from RecoTracker.TkSeedingLayers.seedingLayersEDProducer_cfi import *
0004
0005 PixelLayerTriplets = seedingLayersEDProducer.clone(
0006 layerList = ['BPix1+BPix2+BPix3',
0007 'BPix1+BPix2+FPix1_pos',
0008 'BPix1+BPix2+FPix1_neg',
0009 'BPix1+FPix1_pos+FPix2_pos',
0010 'BPix1+FPix1_neg+FPix2_neg'],
0011 BPix = dict(
0012 TTRHBuilder = cms.string('WithTrackAngle'),
0013 HitProducer = cms.string('siPixelRecHits'),
0014 ),
0015 FPix = dict(
0016 TTRHBuilder = cms.string('WithTrackAngle'),
0017 HitProducer = cms.string('siPixelRecHits'),
0018 )
0019 )
0020 _layersForPhase1 = ['BPix1+BPix2+BPix3',
0021 'BPix2+BPix3+BPix4',
0022 'BPix1+BPix3+BPix4',
0023 'BPix1+BPix2+BPix4',
0024 'BPix2+BPix3+FPix1_pos',
0025 'BPix2+BPix3+FPix1_neg',
0026 'BPix1+BPix2+FPix1_pos',
0027 'BPix1+BPix2+FPix1_neg',
0028 'BPix2+FPix1_pos+FPix2_pos',
0029 'BPix2+FPix1_neg+FPix2_neg',
0030 'BPix1+FPix1_pos+FPix2_pos',
0031 'BPix1+FPix1_neg+FPix2_neg',
0032 'FPix1_pos+FPix2_pos+FPix3_pos',
0033 'FPix1_neg+FPix2_neg+FPix3_neg']
0034
0035 from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
0036 trackingPhase1.toModify(PixelLayerTriplets, layerList=_layersForPhase1)
0037
0038 _layersForPhase2 = [ 'BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
0039 'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
0040 'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
0041 'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
0042 'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
0043 'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
0044 'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
0045 'FPix2_pos+FPix3_pos+FPix4_pos', 'FPix2_neg+FPix3_neg+FPix4_neg',
0046 'FPix3_pos+FPix4_pos+FPix5_pos', 'FPix3_neg+FPix4_neg+FPix5_neg',
0047 'FPix4_pos+FPix5_pos+FPix6_pos', 'FPix4_neg+FPix5_neg+FPix6_neg',
0048 'FPix5_pos+FPix6_pos+FPix7_pos', 'FPix5_neg+FPix6_neg+FPix7_neg',
0049 'FPix6_pos+FPix7_pos+FPix8_pos', 'FPix6_neg+FPix7_neg+FPix8_neg',
0050 'FPix6_pos+FPix7_pos+FPix9_pos', 'FPix6_neg+FPix7_neg+FPix9_neg']
0051
0052 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
0053 trackingPhase2PU140.toModify(PixelLayerTriplets, layerList=_layersForPhase2)