Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10688 from makortel/trackingHLTValidationCleanup
Tracking HLT validation cleanup
- Loading branch information
Showing
8 changed files
with
92 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 15 additions & 59 deletions
74
Validation/RecoTrack/python/HLTmultiTrackValidator_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,23 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Validation.RecoTrack.HLTmultiTrackValidator_cfi import * | ||
hltPixelTracksV = hltMultiTrackValidator.clone() | ||
hltPixelTracksV.label = cms.VInputTag(cms.InputTag("hltPixelTracks")) | ||
hltPixelTracksV.trackCollectionForDrCalculation = cms.InputTag("hltPixelTracks") | ||
|
||
hltIter0V = hltMultiTrackValidator.clone() | ||
hltIter0V.label = cms.VInputTag( cms.InputTag("hltIter0PFlowTrackSelectionHighPurity") ) | ||
hltIter0V.trackCollectionForDrCalculation = cms.InputTag("hltIter0PFlowTrackSelectionHighPurity") | ||
|
||
hltIter1V = hltMultiTrackValidator.clone() | ||
hltIter1V.label = cms.VInputTag( cms.InputTag("hltIter1PFlowTrackSelectionHighPurity") ) | ||
hltIter1V.trackCollectionForDrCalculation = cms.InputTag("hltIter1PFlowTrackSelectionHighPurity") | ||
|
||
hltIter1MergedV = hltMultiTrackValidator.clone() | ||
hltIter1MergedV.label = cms.VInputTag( cms.InputTag("hltIter1Merged") ) | ||
hltIter1MergedV.trackCollectionForDrCalculation = cms.InputTag("hltIter1Merged") | ||
|
||
hltIter2V = hltMultiTrackValidator.clone() | ||
hltIter2V.label = cms.VInputTag( cms.InputTag("hltIter2PFlowTrackSelectionHighPurity") ) | ||
hltIter2V.trackCollectionForDrCalculation = cms.InputTag("hltIter2PFlowTrackSelectionHighPurity") | ||
|
||
hltIter2MergedV = hltMultiTrackValidator.clone() | ||
hltIter2MergedV.label = cms.VInputTag( cms.InputTag("hltIter2Merged") ) | ||
hltIter2MergedV.trackCollectionForDrCalculation = cms.InputTag("hltIter2Merged") | ||
|
||
hltIter3V = hltMultiTrackValidator.clone() | ||
hltIter3V.label = cms.VInputTag( cms.InputTag("hltIter3PFlowTrackSelectionHighPurity") ) | ||
hltIter3V.trackCollectionForDrCalculation = cms.InputTag("hltIter3PFlowTrackSelectionHighPurity") | ||
|
||
hltIter3MergedV = hltMultiTrackValidator.clone() | ||
hltIter3MergedV.label = cms.VInputTag( cms.InputTag("hltIter3Merged") ) | ||
hltIter3MergedV.trackCollectionForDrCalculation = cms.InputTag("hltIter3Merged") | ||
|
||
hltIter4V = hltMultiTrackValidator.clone() | ||
hltIter4V.label = cms.VInputTag( cms.InputTag("hltIter4PFlowTrackSelectionHighPurity") ) | ||
hltIter4V.trackCollectionForDrCalculation = cms.InputTag("hltIter4PFlowTrackSelectionHighPurity") | ||
|
||
hltIter4MergedV = hltMultiTrackValidator.clone() | ||
hltIter4MergedV.label = cms.VInputTag( cms.InputTag("hltIter4Merged") ) | ||
hltIter4MergedV.trackCollectionForDrCalculation = cms.InputTag("hltIter4Merged") | ||
|
||
from Validation.RecoTrack.cutsTPEffic_cfi import * | ||
from Validation.RecoTrack.cutsTPFake_cfi import * | ||
|
||
from SimGeneral.TrackingAnalysis.simHitTPAssociation_cfi import * | ||
hltTrackValidator = hltMultiTrackValidator.clone( | ||
label = [ | ||
"hltPixelTracks", | ||
"hltIter0PFlowTrackSelectionHighPurity", | ||
"hltIter1PFlowTrackSelectionHighPurity", | ||
"hltIter1Merged", | ||
"hltIter2PFlowTrackSelectionHighPurity", | ||
"hltIter2Merged", | ||
# "hltIter3PFlowTrackSelectionHighPurity", | ||
# "hltIter3Merged", | ||
# "hltIter4PFlowTrackSelectionHighPurity", | ||
# "hltIter4Merged", | ||
] | ||
) | ||
|
||
hltMultiTrackValidation = cms.Sequence( | ||
# simHitTPAssocProducer | ||
# + | ||
hltTPClusterProducer | ||
# + tpToHLTtracksAssociationSequence # not needed because MTV is configured to use the associators in itself, instead we need the hltTrackAssociatorByHits | ||
+ hltTrackAssociatorByHits | ||
+ cms.ignore(cutsTPEffic) | ||
+ cms.ignore(cutsTPFake) | ||
+ hltPixelTracksV | ||
+ hltIter0V | ||
+ hltIter1V | ||
+ hltIter1MergedV | ||
+ hltIter2V | ||
+ hltIter2MergedV | ||
# + hltIter3V | ||
# + hltIter3MergedV | ||
# + hltIter4V | ||
# + hltIter4MergedV | ||
+ hltTrackValidator | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.