Skip to content

Commit

Permalink
Update the validation sequence for pixel-only tracking workflows (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
sroychow authored and fwyzard committed Oct 12, 2020
1 parent 937747c commit 1e6f27c
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions DQMOffline/RecoB/python/PixelVertexMonitor_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
pixelPVMonitor = _pvMonitor.clone(
TopFolderName = "OfflinePixelPV",
vertexLabel = "pixelVertices",
ndof = cms.int32( 1 )
)
5 changes: 5 additions & 0 deletions Validation/Configuration/python/globalValidation_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,13 @@

_phase_1_globalValidation = globalValidation.copy()
_phase_1_globalValidation += siPixelPhase1OfflineDQM_sourceV

_phase_1_globalValidationPixelTrackingOnly = globalValidationPixelTrackingOnly.copy()
_phase_1_globalValidationPixelTrackingOnly += siPixelPhase1ValidationPixelTrackingOnly_sourceV

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
(phase1Pixel & ~fastSim).toReplaceWith( globalValidation, _phase_1_globalValidation ) #module siPixelPhase1OfflineDQM_sourceV can't run in FastSim since siPixelClusters of type edmNew::DetSetVector are not produced
(phase1Pixel & ~fastSim).toReplaceWith( globalValidationPixelTrackingOnly, _phase_1_globalValidationPixelTrackingOnly ) #module siPixelPhase1OfflineDQM_sourceV can't run in FastSim since siPixelClusters of type edmNew::DetSetVector are not produced

_run3_globalValidation = globalValidation.copy()
_run3_globalValidation += gemSimValid
Expand Down
5 changes: 5 additions & 0 deletions Validation/Configuration/python/postValidation_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,13 @@

_phase1_postValidation = postValidation.copy()
_phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV

_phase1_postValidation_trackingOnly = postValidation_trackingOnly.copy()
_phase1_postValidation_trackingOnly += siPixelPhase1OfflineDQM_harvestingV

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith( postValidation, _phase1_postValidation )
phase1Pixel.toReplaceWith( postValidation_trackingOnly, _phase1_postValidation_trackingOnly)

_run3_postValidation = postValidation.copy()
_run3_postValidation += MuonGEMHitsPostProcessors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,38 @@
+ SiPixelPhase1TrackingParticleAnalyzerV
)

### Pixel Tracking-only configurations for the GPU workflow

# Pixel digis
pixelOnlyDigisAnalyzerV = SiPixelPhase1DigisAnalyzerV.clone()

# Pixel clusters
pixelOnlyTrackClustersAnalyzerV = SiPixelPhase1TrackClustersAnalyzerV.clone(
clusters = 'siPixelClustersPreSplitting',
tracks = 'pixelTracks'
)

# Pixel rechit analyzer
pixelOnlyRecHitsAnalyzerV = SiPixelPhase1RecHitsAnalyzerV.clone(
src = 'siPixelRecHitsPreSplitting',
pixelSimLinkSrc = 'simSiPixelDigis',
ROUList = ('TrackerHitsPixelBarrelLowTof',
'TrackerHitsPixelBarrelHighTof',
'TrackerHitsPixelEndcapLowTof',
'TrackerHitsPixelEndcapHighTof')
)

# Pixel hits
pixelOnlyHitsAnalyzerV = SiPixelPhase1HitsAnalyzerV.clone(
tracksTag = 'pixelTracks'
)

# Tracking particles
pixelOnlyTrackingParticleAnalyzerV = SiPixelPhase1TrackingParticleAnalyzerV.clone()

siPixelPhase1ValidationPixelTrackingOnly_sourceV = cms.Sequence(pixelOnlyDigisAnalyzerV
+ pixelOnlyTrackClustersAnalyzerV
+ pixelOnlyHitsAnalyzerV
+ pixelOnlyRecHitsAnalyzerV
+ pixelOnlyTrackingParticleAnalyzerV
)

0 comments on commit 1e6f27c

Please sign in to comment.