Skip to content

Commit

Permalink
4D vertex validation
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray committed Sep 11, 2017
1 parent efbe344 commit 163dda9
Showing 1 changed file with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
vertexRecoCollections = cms.VInputTag("offlinePrimaryVertices",
"offlinePrimaryVerticesWithBS",
"selectedOfflinePrimaryVertices",
"selectedOfflinePrimaryVerticesWithBS",
),
"selectedOfflinePrimaryVerticesWithBS"
),
)

vertexAnalysisTrackingOnly = vertexAnalysis.clone(
Expand Down Expand Up @@ -83,3 +83,22 @@
+ pixelVertexAnalysisTrackingOnly
)
trackingLowPU.toReplaceWith(vertexAnalysisSequenceTrackingOnly, _vertexAnalysisSequenceTrackingOnly_trackingLowPU)

from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
_vertexRecoCollectionsTiming = cms.VInputTag("offlinePrimaryVertices",
"offlinePrimaryVerticesWithBS",
"selectedOfflinePrimaryVertices",
"selectedOfflinePrimaryVerticesWithBS",
"offlinePrimaryVertices4D",
"selectedOfflinePrimaryVertices4D",
)
selectedOfflinePrimaryVertices4D = selectedOfflinePrimaryVertices.clone(src = cms.InputTag("offlinePrimaryVertices4D"))

_vertexAnalysisSelectionTiming = vertexAnalysisSelection.copy()
_vertexAnalysisSelectionTiming += selectedOfflinePrimaryVertices4D

phase2_timing_layer.toModify( vertexAnalysis,
vertexRecoCollections = _vertexRecoCollectionsTiming
)
phase2_timing_layer.toReplaceWith( vertexAnalysisSelection,
_vertexAnalysisSelectionTiming )

0 comments on commit 163dda9

Please sign in to comment.