Skip to content

Commit

Permalink
Customize offline pixelTracks to the online config (cms-sw#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel authored and fwyzard committed Sep 13, 2018
1 parent 68a8252 commit b753c82
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
4 changes: 3 additions & 1 deletion EventFilter/SiPixelRawToDigi/python/SiPixelRawToDigi_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
siPixelDigis.Regions = cms.PSet( )
siPixelDigis.CablingMapLabel = cms.string("")

# adjustment to online
siPixelDigis.UserErrorList = []

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(siPixelDigis, UsePhase1=True)

Expand All @@ -27,4 +30,3 @@

from Configuration.ProcessModifiers.gpu_cff import gpu
gpu.toReplaceWith(siPixelDigis, _siPixelDigis_gpu)

Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@

)

# Adjustment to online
siPixelClusters.ChannelThreshold = 1000
siPixelClusters.maxNumberOfClusters = 40000


# Need these until phase2 pixel templates are used
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toModify(siPixelClusters, # FIXME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@

# The following is copied from SiPixelRawToDigi_cfi
phase1Pixel.toModify(siPixelClustersHeterogeneous, UsePhase1=True)

# Adjustment to online
# digi
siPixelClustersHeterogeneous.UserErrorList = []
# clusters
siPixelClustersHeterogeneous.ChannelThreshold = 1000
# there is no equivalent of maxNumberOfClusters
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
# TrackingRegion
pixelTracksTrackingRegions = _globalTrackingRegion.clone()
trackingLowPU.toReplaceWith(pixelTracksTrackingRegions, _globalTrackingRegionFromBeamSpot.clone())

# adjustment to online
pixelTracksTrackingRegions = _globalTrackingRegionFromBeamSpot.clone(RegionPSet = dict(
originRadius = 0.02,
ptMin = 0.8,
))

# Pixel Quadruplets Tracking
pixelTracksSeedLayers = initialStepSeedLayers.clone(
Expand All @@ -52,6 +56,8 @@
)
from Configuration.ProcessModifiers.gpu_cff import gpu
gpu.toModify(pixelTracksHitQuadruplets, trackingRegions = "pixelTracksTrackingRegions")
# adjustment to online
pixelTracksHitQuadruplets.CAThetaCut = 0.002

# for trackingLowPU
pixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone(
Expand Down

0 comments on commit b753c82

Please sign in to comment.