|
|
Definition at line 24 of file EcalCPUDigisProducer.cc.
◆ InputProduct
◆ EcalCPUDigisProducer()
◆ ~EcalCPUDigisProducer()
EcalCPUDigisProducer::~EcalCPUDigisProducer |
( |
| ) |
|
|
overridedefault |
◆ acquire()
Definition at line 137 of file EcalCPUDigisProducer.cc.
144 auto const& ebdigis = ctx.get(ebdigisProduct);
145 auto const& eedigis = ctx.get(eedigisProduct);
155 dataebtmp.data(), ebdigis.data.get(),
dataebtmp.size() *
sizeof(uint16_t), cudaMemcpyDeviceToHost, ctx.stream()));
157 dataeetmp.data(), eedigis.data.get(),
dataeetmp.size() *
sizeof(uint16_t), cudaMemcpyDeviceToHost, ctx.stream()));
159 idsebtmp.data(), ebdigis.ids.get(),
idsebtmp.size() *
sizeof(uint32_t), cudaMemcpyDeviceToHost, ctx.stream()));
161 idseetmp.data(), eedigis.ids.get(),
idseetmp.size() *
sizeof(uint32_t), cudaMemcpyDeviceToHost, ctx.stream()));
References cudaCheck, dataebtmp, dataeetmp, digisInEBToken_, digisInEEToken_, idsebtmp, idseetmp, EcalDataFrame::MAXSAMPLES, and eostools::move().
◆ dummyProduces()
template<typename ProductType , typename... ARGS>
edm::EDPutTokenT<ProductType> EcalCPUDigisProducer::dummyProduces |
( |
ARGS &&... |
args | ) |
|
|
inlineprivate |
◆ fillDescriptions()
◆ produce()
Definition at line 164 of file EcalCPUDigisProducer.cc.
166 auto digisEB = std::make_unique<EBDigiCollection>();
167 auto digisEE = std::make_unique<EEDigiCollection>();
174 auto* dataEB = const_cast<uint16_t*>(digisEB->data().data());
175 auto* dataEE = const_cast<uint16_t*>(digisEE->data().data());
176 auto* idsEB = const_cast<uint32_t*>(digisEB->ids().data());
177 auto* idsEE = const_cast<uint32_t*>(digisEE->ids().data());
References dataebtmp, dataeetmp, digisOutEBToken_, digisOutEEToken_, ebIntegrityChIdErrorsToken_, ebIntegrityGainErrorsToken_, ebIntegrityGainSwitchErrorsToken_, ebSrFlagToken_, ecalPseudoStripInputsToken_, ecalTriggerPrimitivesToken_, eeIntegrityChIdErrorsToken_, eeIntegrityGainErrorsToken_, eeIntegrityGainSwitchErrorsToken_, eeSrFlagToken_, idsebtmp, idseetmp, integrityBlockSizeErrorsToken_, integrityTTIdErrorsToken_, integrityZSXtalIdErrorsToken_, eostools::move(), pnDiodeDigisToken_, and produceDummyIntegrityCollections_.
◆ dataebtmp
◆ dataeetmp
◆ digisInEBToken_
◆ digisInEEToken_
◆ digisOutEBToken_
◆ digisOutEEToken_
◆ ebIntegrityChIdErrorsToken_
◆ ebIntegrityGainErrorsToken_
◆ ebIntegrityGainSwitchErrorsToken_
◆ ebSrFlagToken_
◆ ecalPseudoStripInputsToken_
◆ ecalTriggerPrimitivesToken_
◆ eeIntegrityChIdErrorsToken_
◆ eeIntegrityGainErrorsToken_
◆ eeIntegrityGainSwitchErrorsToken_
◆ eeSrFlagToken_
◆ idsebtmp
◆ idseetmp
◆ integrityBlockSizeErrorsToken_
◆ integrityTTIdErrorsToken_
◆ integrityZSXtalIdErrorsToken_
◆ pnDiodeDigisToken_
◆ produceDummyIntegrityCollections_
bool EcalCPUDigisProducer::produceDummyIntegrityCollections_ |
|
private |
static constexpr int MAXSAMPLES
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > idsebtmp
edm::EDPutTokenT< EBDigiCollection > digisOutEBToken_
edm::EDPutTokenT< EcalPnDiodeDigiCollection > pnDiodeDigisToken_
edm::EDPutTokenT< EcalElectronicsIdCollection > integrityZSXtalIdErrorsToken_
edm::EDPutTokenT< EBSrFlagCollection > ebSrFlagToken_
edm::EDGetTokenT< InputProduct > digisInEEToken_
edm::EDPutTokenT< EEDetIdCollection > eeIntegrityGainErrorsToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDPutTokenT< EEDetIdCollection > eeIntegrityGainSwitchErrorsToken_
std::vector< uint16_t, cms::cuda::HostAllocator< uint16_t > > dataebtmp
edm::EDPutTokenT< EBDetIdCollection > ebIntegrityChIdErrorsToken_
edm::EDPutTokenT< EcalPSInputDigiCollection > ecalPseudoStripInputsToken_
bool produceDummyIntegrityCollections_
edm::EDPutTokenT< EBDetIdCollection > ebIntegrityGainErrorsToken_
edm::EDPutTokenT< EEDigiCollection > digisOutEEToken_
edm::EDPutTokenT< EBDetIdCollection > ebIntegrityGainSwitchErrorsToken_
edm::EDPutTokenT< EcalElectronicsIdCollection > integrityBlockSizeErrorsToken_
#define cudaCheck(ARG,...)
std::vector< uint32_t, cms::cuda::HostAllocator< uint32_t > > idseetmp
edm::EDPutTokenT< EcalElectronicsIdCollection > integrityTTIdErrorsToken_
edm::EDGetTokenT< InputProduct > digisInEBToken_
edm::EDPutTokenT< EcalTrigPrimDigiCollection > ecalTriggerPrimitivesToken_
edm::EDPutTokenT< EESrFlagCollection > eeSrFlagToken_
std::vector< uint16_t, cms::cuda::HostAllocator< uint16_t > > dataeetmp
edm::EDPutTokenT< EEDetIdCollection > eeIntegrityChIdErrorsToken_