Skip to content

Broken in 10X #50

@emilbols

Description

@emilbols

I was able to run the 94X branch in 10_0_1 without issues, but after PR #44 , this appears to be no longer possible.

The ntuplizer fails with exception:

"RefCore: A request to resolve a reference to a product of type 'std::vector <reco::GenParticle> ' with ProductID '2:3084' can not be satisfied because the product cannot be found."

specifically it seems to come when calling (*bhad_in_jet)->pt(), i.e. https://github.com/CMSDeepFlavour/DeepNTuples/pull/44/files#diff-4151dba03f072c2112f3609edced4746R405

An example of a file I use is:
/eos/cms/store/mc/RunIISpring18MiniAOD/QCD_HT2000toInf_TuneCP5_13TeV-madgraph-pythia8/MINIAODSIM/100X_upgrade2018_realistic_v10-v1/00000/26656634-1247-E811-BE41-FA163E262593.root

After reverting PR #44 , I can run without issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions