CMS 3D CMS Logo

HLTmultiTrackValidator_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 hltTrackValidator = hltMultiTrackValidator.clone(
7  label = [
8  "hltPixelTracks",
9  "hltIter0PFlowTrackSelectionHighPurity",
10  "hltIter1PFlowTrackSelectionHighPurity",
11  "hltIter1Merged",
12  "hltIter2PFlowTrackSelectionHighPurity",
13  "hltIter2Merged",
14  "hltMergedTracks"
15  ]
16 )
17 
18 hltMultiTrackValidationTask = cms.Task(
19  hltTPClusterProducer
20  , trackingParticleNumberOfLayersProducer
21  , hltTrackAssociatorByHits
22 )
23 hltMultiTrackValidation = cms.Sequence(
24  hltTrackValidator,
25  hltMultiTrackValidationTask
26 )
27 
28 def _modifyForRun3(trackvalidator):
29  trackvalidator.label = ["hltPixelTracks", "hltMergedTracks", "hltDoubletRecoveryPFlowTrackSelectionHighPurity"] #, "hltIter0PFlowTrackSelectionHighPurity"]
30 
31 from Configuration.Eras.Modifier_run3_common_cff import run3_common
32 run3_common.toModify(hltTrackValidator, _modifyForRun3)
33 
34 def _modifyForPhase2(trackvalidator):
35  trackvalidator.label = ["generalTracks::HLT","hltPhase2PixelTracks"]
36 
37 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
38 phase2_tracker.toModify(hltTrackValidator, _modifyForPhase2)