Skip to content

[6.40] Nested missing dictionaries - #24256

Merged
pcanal merged 3 commits into
root-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_24236
Nov 20, 2026
Merged

pcanal merged 3 commits into
root-project:v6-40-00-patchesfrom
root-project-bot:BP_6.40_pull_24236

Conversation

@root-project-bot

Copy link
Copy Markdown

Backport of #24236, requested by @pcanal.

This allows to investigate the template argument of those classes; this particularly useful
for the case of std::pair and std::tuple (which have an implicit dictionary)

This upstream the spirit of cms-sw/cmssw#52201

(cherry picked from commit 4d60474)
Exercise missing-dictionary reporting across representative genreflex selections of wrapper and vector classes.

Assisted-by: copilot-sdk:gpt-6-luna
(cherry picked from commit 6bfe49e)
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 17h 46m 44s ⏱️
 3 930 tests  3 897 ✅ 0 💤 33 ❌
81 528 runs  81 491 ✅ 4 💤 33 ❌

For more details on these failures, see this check.

Results for commit f73e6ea.

♻️ This comment has been updated with latest results.

@pcanal
pcanal merged commit d31b3a4 into root-project:v6-40-00-patches Nov 20, 2026
64 of 68 checks passed
@smuzaffar

smuzaffar commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

@pcanal , we are trying to test latest ROOT v6-40-00-patches branch changes in cmssw and our tests are failing with errors like [a]. We also get the same errors for v6-42 and master branch changes. Could the change here is causing this issue? the root changes we are testing are 01fa8bd...32b8d5e

The missing dict are defined in https://github.com/cms-sw/cmssw/blob/master/DataFormats/BTauReco/src/classes_def.xml#L390-L419

[a] https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-74b92d/57760/runTheMatrix-results/135.4_ZEEFS_13/step1_ZEEFS_13.log

----- Begin Fatal Exception 23-Nov-2026 19:22:48 CET-----------------------
An exception of category 'DictionaryNotFound' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=DeepFlavourTagInfoProducer label='pfDeepFlavourTagInfos'
   [2] Calling ProductRegistryHelper::addToRegistry, checking dictionaries for produced types
Exception Message:
No data dictionary found for the following classes:

  vector<btagbtvdeep::ChargedCandidateFeatures>
  vector<btagbtvdeep::NeutralCandidateFeatures>
  vector<btagbtvdeep::SecondaryVertexFeatures>
  vector<btagbtvdeep::SeedingTrackFeatures>
  vector<btagbtvdeep::TrackPairFeatures>

Most likely each dictionary was never generated, but it may
be that it was generated in the wrong package. Please add
(or move) the specification '<class name="whatever"/>' to
the appropriate classes_def.xml file along with any other
information needed there. For example, if this class has any
transient members, you need to specify them in classes_def.xml.
Also include the class header in classes.h

A type listed above might or might not be the same as a
type declared by a producer module with the function 'produces'.
Instead it might be the type of a data member, base class,
wrapped type, or other object needed by a produced type. Below
is some additional information which lists the types declared
to be produced by a producer module that are associated with
the types whose dictionaries were not found:

  std::vector<reco::FeaturesTagInfo<btagbtvdeep::DeepFlavourFeatures> >

----- End Fatal Exception -------------------------------------------------

@pcanal

pcanal commented Nov 24, 2026

Copy link
Copy Markdown
Member

It should be a direct consequence of the change. The question is whether this is a positive or negative change. So about the 4 mentioned classes:

  vector<btagbtvdeep::ChargedCandidateFeatures>
  vector<btagbtvdeep::NeutralCandidateFeatures>
  vector<btagbtvdeep::SecondaryVertexFeatures>
  vector<btagbtvdeep::SeedingTrackFeatures>
  vector<btagbtvdeep::TrackPairFeatures>

Are they meant to have a dictionary? If they are meant to have a dictionary, do they have a dictionary or is the dictionary request missing?

@pcanal

pcanal commented Nov 24, 2026

Copy link
Copy Markdown
Member

In https://github.com/cms-sw/cmssw/blob/master/DataFormats/BTauReco/src/classes_def.xml, I see dictionary request for the 5 classes but none of the vectors.

Solving the message can be done by adding the request for the 5 vector to that files.

Additional context the message gives is that those were found while investigating std::vector<reco::FeaturesTagInfo<btagbtvdeep::DeepFlavourFeatures> > and more specifically the class DeepFlavourTagInfoProducer for pfDeepFlavourTagInfos

makortel added a commit to makortel/cmssw that referenced this pull request Dec 2, 2026
These were found after ROOT's missing dictionary checks were improved
in root-project/root#24256 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants