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
Irradiation Bias Correction (IBC) of pixel clusters at Alpaka #44569
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44569/39720
|
A new Pull Request was created by @mroguljic for master. It involves the following packages:
@jfernan2, @cmsbuild, @mandrenguyen can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
RecoLocalTracker/SiPixelRecHits/interface/PixelCPEFastParamsHost.h
Outdated
Show resolved
Hide resolved
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44569/39733
|
Pull request #44569 was updated. @mandrenguyen, @jfernan2, @cmsbuild can you please check and sign again. |
enable gpu |
test parameters:
|
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-84c28a/38509/summary.html Comparison SummarySummary:
GPU Comparison SummarySummary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44569/39788
|
Pull request #44569 was updated. @jfernan2, @cmsbuild, @mandrenguyen can you please check and sign again. |
The loop assigning error parameters to detParameters runs slightly faster because it loops only up to the charge belonging to the largest qBin category. I tried validating the results on tracking using some TTbar events as explained in this comment. As stated, small changes are present, but I am not sure if this validation is enough. |
type bug-fix |
assign heterogeneous |
please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from a couple of minor suggestions, the changes look good to me.
Could you measure the impact on the HLT timing of
- only the bugfix
- the bugfix and the IBC enabled
?
@@ -61,6 +62,7 @@ class PixelCPEFastParamsHost : public PixelCPEGenericBase { | |||
void fillParamsForDevice(); | |||
|
|||
Buffer buffer_; | |||
bool irradiationBiasCorrection_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be const
?
@@ -31,6 +32,7 @@ PixelCPEFastParamsHost<TrackerTraits>::PixelCPEFastParamsHost(edm::ParameterSet | |||
<< (*genErrorDBObject_).version(); | |||
} | |||
|
|||
irradiationBiasCorrection_ = irradiationBiasCorrection; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be set in the member initialiser list above ?
const SiPixelLorentzAngle* lorentzAngleWidth,
const bool irradiationBiasCorrection)
: PixelCPEGenericBase(conf, mag, geom, ttopo, lorentzAngle, genErrorDBObject, lorentzAngleWidth),
buffer_(cms::alpakatools::make_host_buffer<pixelCPEforDevice::ParamsOnDeviceT<TrackerTraits>>()),
irradiationBiasCorrection_(irradiationBiasCorrection) {
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-84c28a/38754/summary.html Comparison SummarySummary:
GPU Comparison SummarySummary:
|
Sure, are there instructions on how to do so? |
e.g. https://twiki.cern.ch/twiki/bin/view/CMS/TriggerStudiesTiming |
Find few results with 2023 conditions TTbar (with PU) MC here. E.g., the hit resolution in X for Barrel 1 attached here. Legend:
|
PR description:
Implemented Irradiation Bias Correction (IBC) in the Alpaka version of the generic algorithm for esimating pixel cluster positions. Legacy implementation can be found here and here. The feature may be used to study how much the IBC will help with generic CPE algorithm at high irradiation doses and may be turned on if favorable.
The PR also includes a bug fix in the SiPixelRecHits/src/PixelCPEFastParamsHost.cc where template error parameters would be loaded at incorrect charge categories for certain modules. Small changes in standard workflows are expected as the errors of the RecHit positions on affected modules will differ.
PR validation:
Ran "11634.402" upgrade workflow in CMSSW_14_1_0_pre1 on 1000 events. Compared the results of "step3_RAW2DIGI_RECO_VALIDATION_DQM" with and without IBC using
harvestTrackValidationPlots.py
andmakeTrackValidationPlots.py
. Comparison can be found here. Some effects to tracking are observerd, but no major changes, which was expected.If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Not a backport.