Definition at line 24 of file EcalCPURecHitProducer.cc.
◆ InputProduct
◆ OutputProduct
◆ EcalCPURecHitProducer()
◆ ~EcalCPURecHitProducer()
EcalCPURecHitProducer::~EcalCPURecHitProducer |
( |
| ) |
|
|
overridedefault |
◆ acquire()
Definition at line 63 of file EcalCPURecHitProducer.cc.
70 auto const& ebRecHits = ctx.get(ebRecHitsProduct);
71 auto const& eeRecHits = ctx.get(eeRecHitsProduct);
77 #ifdef ECAL_RECO_CUDA_DEBUG
78 std::cout <<
" [EcalCPURecHitProducer::acquire] ebRecHits.size = " << ebRecHits.size << std::endl;
79 std::cout <<
" [EcalCPURecHitProducer::acquire] eeRecHits.size = " << eeRecHits.size << std::endl;
86 cudaMemcpyDeviceToHost,
91 cudaMemcpyDeviceToHost,
98 ebRecHits.energy.get(),
100 cudaMemcpyDeviceToHost,
103 eeRecHits.energy.get(),
105 cudaMemcpyDeviceToHost,
109 ebRecHits.chi2.get(),
111 cudaMemcpyDeviceToHost,
114 eeRecHits.chi2.get(),
116 cudaMemcpyDeviceToHost,
120 ebRecHits.extra.get(),
122 cudaMemcpyDeviceToHost,
125 eeRecHits.extra.get(),
127 cudaMemcpyDeviceToHost,
131 ebRecHits.flagBits.get(),
133 cudaMemcpyDeviceToHost,
136 eeRecHits.flagBits.get(),
138 cudaMemcpyDeviceToHost,
141 #ifdef ECAL_RECO_CUDA_DEBUG
142 for (
unsigned int ieb = 0; ieb < ebRecHits.size; ieb++) {
148 for (
unsigned int ieb = 0; ieb < ebRecHits.size; ieb++) {
154 for (
unsigned int iee = 0; iee < eeRecHits.size; iee++) {
References ecal::RecHit< StoragePolicy >::chi2, gather_cfg::cout, cudaCheck, ecal::RecHit< StoragePolicy >::did, ecal::RecHit< StoragePolicy >::energy, ecal::RecHit< StoragePolicy >::extra, ecal::RecHit< StoragePolicy >::flagBits, eostools::move(), recHitsEB_, recHitsEE_, recHitsInEBToken_, recHitsInEEToken_, and ecal::RecHit< StoragePolicy >::resize().
◆ fillDescriptions()
◆ produce()
◆ containsTimingInformation_
bool EcalCPURecHitProducer::containsTimingInformation_ |
|
private |
◆ recHitsEB_
◆ recHitsEE_
◆ recHitsInEBToken_
◆ recHitsInEEToken_
◆ recHitsOutEBToken_
◆ recHitsOutEEToken_