-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ecal Uncalibrated RecHit GPU format convertor to CPU format #361
Ecal Uncalibrated RecHit GPU format convertor to CPU format #361
Conversation
RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitConvertGPU2CPUFormat.cc
Outdated
Show resolved
Hide resolved
RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitConvertGPU2CPUFormat.cc
Outdated
Show resolved
Hide resolved
...I actually like comments... |
As expected, comparing the GPU results in SoA format with the same results converted to legacy format yields identical results. |
, recHitsLabelCPUEE_{ps.getParameter<std::string>("recHitsLabelCPUEE")} | ||
{ | ||
produces<EBUncalibratedRecHitCollection>(recHitsLabelCPUEB_); | ||
produces<EEUncalibratedRecHitCollection>(recHitsLabelCPUEE_); |
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.
EDPutToken
s would allow avoiding string members.
{ | ||
edm::Handle<ecal::SoAUncalibratedRecHitCollection> hRecHitsGPUEB, hRecHitsGPUEE; | ||
event.getByToken(recHitsGPUEB_, hRecHitsGPUEB); | ||
event.getByToken(recHitsGPUEE_, hRecHitsGPUEE); |
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.
The handles can be avoided with
auto const& recHitsGPUEB = event.get(recHitsGPUEB_);
auto const& recHitsGPUEE = event.get(recHitsGPUEE_);
Update master branch to 10_6_0
Added
EDM
Producer to convert from the GPU data format to CPU.