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
Slim down PFRecHit #14151
Slim down PFRecHit #14151
Conversation
A new Pull Request was created by @VinInn (Vincenzo Innocente) for CMSSW_8_1_X. It involves the following packages: DataFormats/Math @civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild, @alja, @slava77, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
@cmsbuild , please test |
The tests are being triggered in jenkins. |
@fwyzard as well |
"fixes" needed to validate.C
|
+1 |
the release diverged pretty quickly. |
Wonder who touched these files.... |
please test |
should we really run tests once more? |
The tests are being triggered in jenkins. |
@VinInn - I'm sure by the time it is merged, the tests will be done |
@ianna, ok. please just merge again on your area and test the writer yourself (I did in my area) |
+1 |
+1 |
+1
|
in reco is very difficult to assess timing differences in PFBlock: I observe differences even in functions not accessing PFRecHits |
Indeed HLT for 252002 step2 is dominated by PFBlock (25%) |
made on top of #14058 to avoid merge conflicts.
What has been done?
removed all positional content
add a pointer to the corresponding CaloCell (itself improved to satifly PF needs)
forward all positional access methods to caloCell
made neighebours a single vector (transient, so just index in the collection)
move to float for energy and time
Caveat:
This would have been all trivial if was not for the depth correctiion in EF.
CMSSW_8_1_X...VinInn:SlimPFHit81#diff-4a5cef800feb39968287c389658617bcL85
What I did is simply to double the geometry of EF: now each IdealZPrism owns a copy of itslelf with PF depth-correction applied (as magic numbers)
CMSSW_8_1_X...VinInn:SlimPFHit81#diff-1a95dcb4933ebfc4bbc6f2bf984cc933R47
what will not work?
anybody accessing positional content of PFRecHIt from reco-files w/o protection.
In the released code this affects only FWPFCandidateDetailView (note that instead FWPFCandidateWithHitsProxyBuilder works out of the box, so a solution internal to FireWorks exists
as acknowledged by Alja)
validate.C will require to drop few histos (eta/phi of PFRecHit)
as already noted no DQM/Validatation code exists for PF, so no problem there ;-)
what we gain?
a solid 6% of total time of HLT above what already gained so far.
minor regression observed most probably related to numerics
http://innocent.home.cern.ch/innocent/regress/pu35_SlimPFHit3/