◆ InputProduct
◆ EcalUncalibRecHitConvertGPU2CPUFormat()
EcalUncalibRecHitConvertGPU2CPUFormat::EcalUncalibRecHitConvertGPU2CPUFormat |
( |
edm::ParameterSet const & |
ps | ) |
|
|
explicit |
◆ ~EcalUncalibRecHitConvertGPU2CPUFormat()
EcalUncalibRecHitConvertGPU2CPUFormat::~EcalUncalibRecHitConvertGPU2CPUFormat |
( |
| ) |
|
|
override |
◆ fillDescriptions()
◆ produce()
Definition at line 51 of file EcalUncalibRecHitConvertGPU2CPUFormat.cc.
56 auto recHitsCPUEB = std::make_unique<EBUncalibratedRecHitCollection>();
57 auto recHitsCPUEE = std::make_unique<EEUncalibratedRecHitCollection>();
58 recHitsCPUEB->reserve(hRecHitsGPUEB->
amplitude.size());
59 recHitsCPUEE->reserve(hRecHitsGPUEE->
amplitude.size());
61 for (uint32_t
i = 0;
i < hRecHitsGPUEB->
amplitude.size(); ++
i) {
62 recHitsCPUEB->emplace_back(
DetId{hRecHitsGPUEB->
did[
i]},
66 hRecHitsGPUEB->
chi2[
i],
68 (*recHitsCPUEB)[
i].setJitterError(hRecHitsGPUEB->
jitterError[
i]);
74 for (uint32_t
i = 0;
i < hRecHitsGPUEE->
amplitude.size(); ++
i) {
75 recHitsCPUEE->emplace_back(
DetId{hRecHitsGPUEE->
did[
i]},
79 hRecHitsGPUEE->
chi2[
i],
81 (*recHitsCPUEE)[
i].setJitterError(hRecHitsGPUEE->
jitterError[
i]);
References ecal::UncalibratedRecHit< StoragePolicy >::amplitude, ecal::UncalibratedRecHit< StoragePolicy >::amplitudesAll, ecal::UncalibratedRecHit< StoragePolicy >::chi2, ecal::UncalibratedRecHit< StoragePolicy >::did, ecal::UncalibratedRecHit< StoragePolicy >::flags, mps_fire::i, ecal::UncalibratedRecHit< StoragePolicy >::jitter, ecal::UncalibratedRecHit< StoragePolicy >::jitterError, EcalDataFrame::MAXSAMPLES, eostools::move(), hltrates_dqm_sourceclient-live_cfg::offset, ecal::UncalibratedRecHit< StoragePolicy >::pedestal, recHitsGPUEB_, recHitsGPUEE_, recHitsLabelCPUEB_, recHitsLabelCPUEE_, and simplePhotonAnalyzer_cfi::sample.
◆ recHitsGPUEB_
◆ recHitsGPUEE_
◆ recHitsLabelCPUEB_
const std::string EcalUncalibRecHitConvertGPU2CPUFormat::recHitsLabelCPUEB_ |
|
private |
◆ recHitsLabelCPUEE_
const std::string EcalUncalibRecHitConvertGPU2CPUFormat::recHitsLabelCPUEE_ |
|
private |