Skip to content

Commit 512b527

Browse files
committed
Remove outdated parameters for "offline" Alpaka PixelTracks
1 parent 4a9debb commit 512b527

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

RecoTracker/PixelTrackFitting/python/PixelTracks_cff.py

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -112,24 +112,8 @@
112112
maxNumberOfDoublets = str(512*1024), # could be lowered to 315k, keeping the same for a fair comparison with master
113113
maxNumberOfTuples = str(32 * 1024), # this couul be much lower (2.1k, these are quads)
114114
)
115+
115116
phase2_tracker.toReplaceWith(pixelTracksAlpaka,_pixelTracksAlpakaPhase2.clone())
116-
def _modifyForPhase2(producer):
117-
nPairs = int(len(producer.geometry.pairGraph) / 2)
118-
producer.maxNumberOfDoublets = str(5*512*1024)
119-
producer.maxNumberOfTuples = str(256 * 1024)
120-
producer.avgHitsPerTrack = 7.0
121-
producer.avgCellsPerHit = 6
122-
producer.avgCellsPerCell = 0.151
123-
producer.avgTracksPerCell = 0.040
124-
producer.cellZ0Cut = 7.5
125-
producer.minYsizeB1 = 25
126-
producer.minYsizeB2 = 15
127-
producer.maxDYsize12 = 12
128-
producer.maxDYsize = 10
129-
producer.maxDYPred = 20
130-
producer.geometry.ptCuts = [0.85] * nPairs
131-
132-
phase2_tracker.toModify(pixelTracksAlpaka, _modifyForPhase2)
133117

134118
def _modifyForPPonAAandNotPhase2(producer):
135119
nPairs = int(len(producer.geometry.pairGraph) / 2)
@@ -144,7 +128,6 @@ def _modifyForPPonAAandNotPhase2(producer):
144128

145129
(pp_on_AA & ~phase2_tracker).toModify(pixelTracksAlpaka, _modifyForPPonAAandNotPhase2)
146130

147-
148131
from Configuration.ProcessModifiers.phase2CAExtension_cff import phase2CAExtension
149132
phase2CAExtension.toReplaceWith(pixelTracksAlpaka,_pixelTracksAlpakaPhase2Extended.clone(
150133
pixelRecHitSrc = "siPixelRecHitsExtendedPreSplittingAlpaka",

0 commit comments

Comments
 (0)