Skip to content

Commit

Permalink
Merge pull request #39808 from yuanchao/run3_btag
Browse files Browse the repository at this point in the history
Mask old b-taggers and keep only DNN taggers with Era modifier for run3.
  • Loading branch information
cmsbuild committed Dec 9, 2022
2 parents 882e9c4 + 8764b76 commit 1a927fc
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions RecoBTag/Configuration/python/RecoBTag_cff.py
Expand Up @@ -92,7 +92,30 @@

## modifying b-tagging task in Run3 adding ParticleNet inferece
from Configuration.Eras.Modifier_run3_common_cff import run3_common
_pfBTaggingTask_particleNet = pfBTaggingTask.copy()
_pfBTaggingTask_particleNet.add( pfParticleNetAK4TaskForRECO, pfParticleNetTask )
run3_common.toReplaceWith( pfBTaggingTask, _pfBTaggingTask_particleNet)
_pfBTaggingTask_run3 = cms.Task(
# Keep all the infos and DeepCSV
pfImpactParameterTagInfos,
pfTrackCountingHighEffBJetTags,
pfJetProbabilityBJetTags,
pfJetBProbabilityBJetTags,

pfSecondaryVertexTagInfos,
inclusiveCandidateVertexingTask,
pfInclusiveSecondaryVertexFinderTagInfos,
pfGhostTrackVertexTagInfos,
pfDeepCSVTask,

softPFMuonsTagInfos,
softPFElectronsTagInfos,
pixelClusterTagInfos,

pfParticleNetAK4TaskForRECO,
pfParticleNetTask
)
_pfCTaggingTask_run3 = cms.Task(
inclusiveCandidateVertexingCvsLTask,
pfInclusiveSecondaryVertexFinderCvsLTagInfos,
)
run3_common.toReplaceWith( pfBTaggingTask, _pfBTaggingTask_run3 )
run3_common.toReplaceWith( pfCTaggingTask, _pfCTaggingTask_run3 )

0 comments on commit 1a927fc

Please sign in to comment.