Skip to content

Commit

Permalink
Switch phase1 back to generic CPE
Browse files Browse the repository at this point in the history
Done because with the final pixel geometry, template CPE has a (small)
bias. Switching back to generic CPE until we have a fix.

This commit essentially reverts ef463c1.
  • Loading branch information
makortel committed Nov 19, 2016
1 parent 69a9ed5 commit 4d99df7
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 1 deletion.
Expand Up @@ -47,6 +47,10 @@
displacedTracks
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(duplicateDisplacedTrackCandidates, ttrhBuilderName = "WithTrackAngle") # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
4 changes: 4 additions & 0 deletions RecoMuon/GlobalTrackingTools/python/GlobalMuonRefitter_cff.py
Expand Up @@ -45,6 +45,10 @@
RefitFlag = cms.bool( True )
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(GlobalMuonRefitter, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
Expand Up @@ -69,6 +69,14 @@
),
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(GlobalTrajectoryBuilderCommon, # FIXME
TrackerRecHitBuilder = 'WithTrackAngle',
TrackTransformer = dict(TrackerRecHitBuilder = 'WithTrackAngle'),
GlbRefitterParameters = dict(TrackerRecHitBuilder = 'WithTrackAngle'),
)

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
4 changes: 4 additions & 0 deletions RecoMuon/MuonIdentification/python/TrackerKinkFinder_cfi.py
Expand Up @@ -18,6 +18,10 @@
)
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(TrackerKinkFinderParametersBlock, TrackerKinkFinderParameters = dict(TrackerRecHitBuilder = 'WithTrackAngle')) # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
5 changes: 5 additions & 0 deletions RecoMuon/TrackingTools/python/MuonTrackLoader_cff.py
Expand Up @@ -84,6 +84,11 @@
)
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
for _loader in [MuonTrackLoaderForSTA, MuonTrackLoaderForGLB, MuonTrackLoaderForL2, MuonTrackLoaderForL3, MuonTrackLoaderForCosmic]:
phase1Pixel.toModify(_loader, TrackLoaderParameters = dict(TTRHBuilder = 'WithTrackAngle')) # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
Expand Up @@ -49,6 +49,10 @@
Min_dr = cms.double(0.2)
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(trackerDrivenElectronSeeds, TTRHBuilder = 'WithTrackAngle') # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
Expand Up @@ -22,6 +22,11 @@
duplicateTrackClassifier.mva.minLayers = [0,0,0]
duplicateTrackClassifier.mva.min3DLayers = [0,0,0]
duplicateTrackClassifier.mva.maxLostLayers = [99,99,99]

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(duplicateTrackCandidates, ttrhBuilderName = "WithTrackAngle") # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
Expand Up @@ -21,6 +21,10 @@
Propagator = cms.string('SmartPropagatorAnyRKOpposite'),
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(inOutSeedsFromTrackerMuons, TrackerRecHitBuilder = 'WithTrackAngle') # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
4 changes: 4 additions & 0 deletions RecoTracker/TrackProducer/python/TrackProducer_cfi.py
Expand Up @@ -27,6 +27,10 @@
MeasurementTrackerEvent = cms.InputTag('MeasurementTrackerEvent'),
)

# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(TrackProducer, TTRHBuilder = 'WithTrackAngle') # FIXME

# This customization will be removed once we get the templates for
# phase2 pixel
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand Down
4 changes: 3 additions & 1 deletion RecoTracker/TrackProducer/python/TrackRefitter_cfi.py
Expand Up @@ -39,4 +39,6 @@
#NavigationSchool = cms.string('')
)


# Switch back to GenericCPE until bias in template CPE gets fixed
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toModify(TrackRefitter, TTRHBuilder = 'WithTrackAngle') # FIXME

0 comments on commit 4d99df7

Please sign in to comment.