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 #17447 from mtosi/hltGsfTrackValidation
add validation for GsfTracks @HLT
- Loading branch information
Showing
5 changed files
with
62 additions
and
0 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
31 changes: 31 additions & 0 deletions
31
HLTriggerOffline/Egamma/python/HLTmultiTrackValidatorGsfTracks_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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Validation.RecoTrack.HLTmultiTrackValidator_cfi import * | ||
hltGsfTrackValidator = hltMultiTrackValidator.clone( | ||
label = [ | ||
"hltEgammaGsfTracks", | ||
"hltEgammaGsfTracksUnseeded", | ||
], | ||
label_tp_effic = "trackingParticlesElectron", | ||
label_tp_effic_refvector = cms.bool(True), | ||
dirName = cms.string('HLT/EG/Tracking/ValidationWRTtp/'), | ||
## eta range driven by ECAL acceptance | ||
histoProducerAlgoBlock = dict( | ||
TpSelectorForEfficiencyVsEta = dict(minRapidity=-3, maxRapidity=3), | ||
TpSelectorForEfficiencyVsPhi = dict(minRapidity=-3, maxRapidity=3), | ||
TpSelectorForEfficiencyVsPt = dict(minRapidity=-3, maxRapidity=3), | ||
TpSelectorForEfficiencyVsVTXR = dict(minRapidity=-3, maxRapidity=3), | ||
TpSelectorForEfficiencyVsVTXZ = dict(minRapidity=-3, maxRapidity=3), | ||
generalTpSelector = dict(minRapidity=-3, maxRapidity=3), | ||
), | ||
maxRapidityTP = 3.0, | ||
minRapidityTP = -3.0, | ||
) | ||
|
||
from Validation.RecoTrack.TrackValidation_cff import trackingParticlesElectron | ||
hltMultiTrackValidationGsfTracks = cms.Sequence( | ||
hltTPClusterProducer | ||
+ hltTrackAssociatorByHits | ||
+ cms.ignore(trackingParticlesElectron) | ||
+ hltGsfTrackValidator | ||
) |
16 changes: 16 additions & 0 deletions
16
HLTriggerOffline/Egamma/python/HLTpostProcessorGsfTracker_cfi.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import Validation.RecoTrack.PostProcessorTracker_cfi as _PostProcessorTracker_cfi | ||
|
||
postProcessorHLTgsfTracking = _PostProcessorTracker_cfi.postProcessorTrack.clone( | ||
subDirs = ["HLT/EG/Tracking/ValidationWRTtp/*"] | ||
) | ||
|
||
postProcessorHLTgsfTrackingSummary = _PostProcessorTracker_cfi.postProcessorTrackSummary.clone( | ||
subDirs = ["HLT/EG/Tracking/ValidationWRTtp"] | ||
) | ||
|
||
postProcessorHLTgsfTrackingSequence = ( | ||
postProcessorHLTgsfTracking + | ||
postProcessorHLTgsfTrackingSummary | ||
) |
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