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
Updated root to tip of branch v6-22-00-patches #6388
Updated root to tip of branch v6-22-00-patches #6388
Conversation
please test |
The tests are being triggered in jenkins.
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for branch IB/CMSSW_11_2_X/rootnext. @cmsbuild, @smuzaffar, @mrodozov can you please review it and eventually sign? Thanks. |
lets get it in for 23h00 Ib |
-1 Tested at: 3939110 CMSSW: CMSSW_11_2_ROOT622_X_2020-11-09-1100 I found follow errors while testing this PR Failed tests: UnitTests
I found errors in the following unit tests: ---> test MagneticFieldEngineTestDriver had ERRORS |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@slava77 , can you please check these reco comparison differences ? |
Interesting
it looks like all of the differences are appearing in particleFlowBlock linkData_ size, but then there is nothing downstream. IIRC there is no DQM for particleFlowBlock; so, seeing no differences in DQM would not reject some possible subtleties of the reco plotting script, which in this case would be running a more recent version of root after loading the older version root file first. It's useful to make a manual check in "native" builds for the baseline and this PR test. |
Yes, you can use latest CMSSW_11_2_ROOT622_X IB . |
I picked step3.root from 11634.0_TTbar_14TeV+2021+TTbar_14TeV_TuneCP5_GenSim+Digi+Reco+HARVEST+ALCA for the baseline and the PR outputs. The content of PFBlock::linkData_ looks different based on TTree::Draw (or Scan) used in the plotting script. This data member type is an
I can't recall offhand if anything else of type std::map is plotted in the reco comparisons; it may be that this is incidentally the only case. |
what's the difference between the builds? |
yes only difference is root debug build flag in rootnext branch every thing else is identical |
@pcanal
it looks like a case of both badly written and badly read: I can read the old file with the new IB in CMSSW_11_2_ROOT622_X_2020-11-09-2300, and the values in the map [1]
[2]
the above agrees with values printed from the job itself (running in CMSSW_11_2_X_2020-11-09-1100) [3]
[4]
note that the printouts from inside the job agree with the baseline release as shown in [2] (so, at runtime the data in memory is the same in [4] and in [2]) and the same reproduced file made in CMSSW_11_2_ROOT622_X_2020-11-09-2300 now read in CMSSW_11_2_X_2020-11-09-1100
note that the size and keys turns out to be right, but the last column is all wrong. |
So we need to solve this. I am tad bit confused. "so, at runtime the data in memory is the same in [4] and in [2])" but the output for the column 5th column is different between the 2 Scan output so I am not sure whether "and keys turns out to be right" and the data is different for different run or if it is wrong. Either way, it seems like it might be a long standing problem, so I only need to debug it in one release. Can I get the instruction to run the writing part with the text output to capture the values a printed by the job itself? I assume the reading part is simply, open file and run Scan. |
I used CMSSW_11_2_ROOT622_X_2020-11-09-2300 I guess this can be remade from scratch with For the runtime, debugs can be added in RecoParticleFlow/PFProducer/plugins/PFBlockProducer.cc for (auto const& block : blocks) {
str << "Block elements size "<<block.elements().size() << endl;
str << "Block link data: size "<<block.linkData().size()<<" :"<<endl;
for (auto const& link : block.linkData()) {
str << "\t key "<<link.first<<" distance "<< link.second.distance<<" test "<<link.second.test<< endl;
}
}
LogWarning("PFBlockProducer") << str.str() << endl;
which is more appropriate than the original for the purpose of this debugging. HTH |
No description provided.