-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 #18011 from smoortga/BDHadronTrackMonitoringInStan…
…dardValidationSequence BD hadron track monitoring in standard validation sequence
- Loading branch information
Showing
5 changed files
with
46 additions
and
10 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# Need to add pfImpactParameterTagInfos to the pat jets --> make personal patJet collection | ||
# and rerun PAT (because sometimes validation is ran without PAT sequence enables) | ||
from PhysicsTools.PatAlgos.producersLayer1.jetProducer_cff import * | ||
patJetsBDHadron = patJets.clone( | ||
tagInfoSources = cms.VInputTag(cms.InputTag('pfImpactParameterTagInfos')), | ||
addTagInfos = cms.bool(True) | ||
) | ||
|
||
# my analyzer | ||
from Validation.RecoB.BDHadronTrackMonitoring_cfi import * | ||
from SimTracker.TrackerHitAssociation.tpClusterProducer_cfi import * | ||
BDHadronTrackMonitoringAnalyze.PatJetSource = cms.InputTag('patJetsBDHadron') | ||
|
||
bdHadronTrackValidationSeq = cms.Sequence(patJetCorrections | ||
* patJetCharge | ||
* patJetPartonMatch | ||
* patJetGenJetMatch | ||
* patJetFlavourIdLegacy | ||
* patJetFlavourId | ||
* patJetsBDHadron | ||
* tpClusterProducer | ||
* BDHadronTrackMonitoringAnalyze | ||
) | ||
|
||
bdHadronTrackPostProcessor = cms.Sequence(BDHadronTrackMonitoringHarvest) |