-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dump_python does not work with Nano step #38686
Comments
A new Issue was created by @srimanob Phat Srimanobhas. @Dr15Jones, @perrotta, @dpiparo, @rappoccio, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
I see one recommendation to run in |
You could have cmsDriver write the standard cfg file and then add |
assign xpog |
New categories assigned: xpog @mariadalfonso,@gouskos,@fgolf you have been requested to review this Pull request/Issue and eventually sign? Thanks |
|
assign operations |
New categories assigned: operations @fabiocos,@qliphy,@davidlange6,@rappoccio,@perrotta you have been requested to review this Pull request/Issue and eventually sign? Thanks |
@srimanob I prepared a fix for your python dump problem. |
Hi @mariadalfonso I try with the following cmsDriver (need to split GEN / FastSim as discussed in #37351) Step-1 Step-2 (without --dump_python) Step-2 (with --dump_python) WIth your PR (#38749), the config can be dumped now. However, it can't run. What I see is that
is on top of
and (2) when I try to run:
|
Hi @srimanob , I've tried to run the above commands and everything works fine now, can you confirm the issue is fixed? I've noticed that when running without |
Hi @swertz |
Yes but the exception (2) above does not happen anymore when running the config, despite the duplicate messages. |
Looking into it, the messages only appear once, for the Nano customization, not the Mini. The reason they appear a second time when dumping the python is that The EGM VID in https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/nano_cff.py#L223-L240 could be cleaned up a bit but things seem to be working fine as they are, so could you please clarify what the problem is? |
This issue can be closed if there is no more issue to discuss. Thanks. |
+xpog Ok, thanks for confirming! |
While investigating on Nano sequence, I see that I can't dump config file if Nano step is a part of the driver. The error message is
cmsDriver I am using with CMSSW_12_5_0_pre3:
cmsDriver.py step3 -s NANO --conditions auto:phase1_2022_realistic --datatier NANOAODSIM -n -1 --eventcontent NANOEDMAODSIM --geometry DB:Extended --era Run3 --python Nano_2021_dump.py --no_exec --filein file:step1_inMINIAODSIM.root --fileout file:step3.root --dump_python
It seems the dump_python can't get the electronTask right with
https://github.com/cms-sw/cmssw/blob/master/PhysicsTools/NanoAOD/python/nano_cff.py#L228
(Just a guess as I comment it out, this step will pass. And then go to the next issues of photonTask, egmPhotonIDTask).
By the way, how can I get a full config of
cmsDriver.py step3 -s NANO --conditions auto:phase1_2022_realistic --datatier NANOAODSIM -n -1 --eventcontent NANOEDMAODSIM --geometry DB:Extended --era Run3 --python Nano_2021_dump.py --no_exec --filein file:step1_inMINIAODSIM.root --fileout file:step3.root
without
--dump_python
? I am checking why Nano can't work with FastSim if they are in the same sequence, but work when they are separated.Thanks.
The text was updated successfully, but these errors were encountered: