Skip to content

Conversation

@francescobrivio
Copy link
Contributor

PR Description

With the merging of cms-sw/cmssw#44782, the SimpleFlatTableProducers are moved to concrete (explicit) data types.
So running (for example) the NtupleProducer/python/scouting/runW3PiNtuples_cfg.py script on a Phase2Spring24 file I get the following error:

----- Begin Fatal Exception 22-Oct-2024 18:45:20 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=SimpleCandidateFlatTableProducer label='genPiTable'
Exception Message:
Expression parser error:no method or data member named "statusFlags" found for type "reco::Candidate"
It has the following methods
 charge
 eta
 mass
 pdgId
 phi
----- End Fatal Exception -------------------------------------------------
...

With this PR this particular crash is solved.


[RFC]
For the moment I only updated SimpleCandidateFlatTableProducer to SimpleGenParticleFlatTableProducer for the cases where the input source is genParticles, but, judging from the PR, more might need to be updated. FYI @gpetruc @cerminar

@cerminar
Copy link
Contributor

Thanks @francescobrivio. I guess this would break the current L1T recipe described in the README based on CMSSW_14_0_0_pre and currently used by many.
I just created a 14_2_X branch.
Could you also open a PR against that branch?

@francescobrivio
Copy link
Contributor Author

Yes of course you are right! I'll move the PR to the 14_2_X branch later today!

@francescobrivio
Copy link
Contributor Author

Closing in favor of #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants