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
Add PandoraTranslator to RecoParticleFlow #7961
Conversation
A new Pull Request was created by @kpedro88 (Kevin Pedro) for CMSSW_6_2_X_SLHC. Add PandoraTranslator to RecoParticleFlow It involves the following packages: RecoParticleFlow/PandoraTranslator The following packages do not have a category, yet: RecoParticleFlow/PandoraTranslator @cmsbuild, @nclopezo can you please review it and eventually sign? Thanks. |
-1 Leaving library rule at FWCore/Version >> Leaving Package FWCore/Version >> Package FWCore/Version built >> Subsystem FWCore built /afs/cern.ch/cms/sw/ReleaseCandidates/vol1/slc6_amd64_gcc472/external/gcc/4.7.2-cms/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lPandoraMonitoring collect2: error: ld returned 1 exit status gmake: **\* [tmp/slc6_amd64_gcc472/src/RecoParticleFlow/PandoraTranslator/src/RecoParticleFlowPandoraTranslator/libRecoParticleFlowPandoraTranslator.so] Error 1 Leaving library rule at RecoParticleFlow/PandoraTranslator >> Building edm plugin tmp/slc6_amd64_gcc472/src/RecoParticleFlow/PandoraTranslator/plugins/HGCalPandoraTranslatorPlugins/libHGCalPandoraTranslatorPlugins.so /afs/cern.ch/cms/sw/ReleaseCandidates/vol1/slc6_amd64_gcc472/external/gcc/4.7.2-cms/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lRecoParticleFlowPandoraTranslator /afs/cern.ch/cms/sw/ReleaseCandidates/vol1/slc6_amd64_gcc472/external/gcc/4.7.2-cms/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lPandoraMonitoring you can see the results of the tests here: |
Note that the automated test's compilation failure above is expected unless the xml for the external package is updated; details given in @kpedro88's original comment. |
IB CMSSW_6_2_X_SLHC_2015-02-26-1400 includes the updated Pandora external, so I have updated this PR to use the fast algorithms. Everything checks out in my quick tests. Note: it is also important to merge #7954 in the next IB to quiet down the logs. |
Mark: yes, this commit now has everything. |
@kpedro88 Is Pandora enabled already? In which configuration file Pandora is this done? |
Hi @fratnikov, in the PR description there are instructions for switching on pandora for the hgc using a standard customize function. |
merge |
Add PandoraTranslator to RecoParticleFlow
@lgray - from SLHCUpgradeSimulations.Configuration.combinedCustoms import cust_2023HGCalMuon process = cust_2023HGCalMuon(process) with from RecoParticleFlow.PandoraTranslator.customizeHGCalPandora_cff import cust_2023HGCalPandora_common ? or is there more? My job is up to 40 minutes on the first event.../store/relval/CMSSW_6_2_0_SLHC23/RelValQCD_Pt_80_120_14TeV/GEN-SIM-DIGI-RAW/PU_PH2_1K_FB_V6_HGCalV5PU140-v1/00000/02A9D980-189C note that the RecoParticleFlow/PandoraTranslator/test/test_customization.py will have the wrong tracking configuration as the pileup is not specified (but the tracking will be slower than it should be in that case) |
@davidlange6 Yes, that replacement is correct. I don't see an obvious reason why your tests are taking 40 minutes. I'll email you separately in a moment about the tracking config in the customization file and perhaps we can discuss the details of the test setup. |
My first event of
took 88 minutes. I replaced the customisation as @davidlange6 says, I get a configuration error otherwise. I hadn't noticed the tracking would be incorrect. |
For the record, here's my cmsDriver command:
Also should say I'm on 70 minutes already for the second event. I'm on a standard lxplus node and whenever I check |
Hi Guys, It sounds like the some of the optimizations aren't turned on. I'll take a look. |
@kpedro88 @mark-grimes @davidlange6 Indeed: In the HEAD of CMSSW_6_2_X_SLHC is still using the slow versions of the algorithms. It is no mystery why you see such poor performance. |
So just switch to the commented out one on line 13? |
Oui. Could you submit the corresponding PR too? |
Sure. |
#7985 submitted to switch the XML configuration file to the faster one. EDIT - sorry, just seen you were only talking about the test_customization.py |
@mark-grimes - thats right, the customize function is ok. However, I think the check on pileup I (I think) implemented doesn't always work as process.mix is there regardless. It might be better if it also caught the second if statement on hasattr(process.mix,'input'), but not sure.. |
This pull request adds PandoraTranslator, previously a separate repo, to CMSSW in the RecoParticleFlow area. This enables the use of PandoraPFA for HGCal reconstruction, including the subsequent creation of CMS PF objects for easy use in analysis.
The customization function to use PandoraTranslator is currently invoked as follows:
from RecoParticleFlow.PandoraTranslator.customizeHGCalPandora_cff import cust_2023HGCalPandoraMuon
process = cust_2023HGCalPandoraMuon(process)
This PR uses the "slow" recipe without fast Pandora algorithms optimized for high pileup. In addition, it will not compile without an edit to the xml for the external package:
CMSSW_6_2_X_SLHC_2015-02-26-0200/config/toolbox/slc6_amd64_gcc472/tools/selected/pandora.xml
remove:
When the Pandora external package is updated to include the latest version with the fast algorithms, another PR will be issued to restore the use of those algorithms in PandoraTranslator.
Attn: @vandreev11 @pfs @lgray @sethzenz