1 #include <alpaka/alpaka.hpp> 34 int const size = 0x3FFFFF;
39 alpaka::memset(
queue, product->buffer(), 0x00);
42 auto const& barrelValues =
mapping.barrelItems();
43 for (
unsigned int i = 0;
i < barrelValues.size(); ++
i) {
46 product->view()[
eid.linearIndex()].rawid() = did.
rawId();
50 auto const& endcapValues =
mapping.endcapItems();
51 for (
unsigned int i = 0;
i < endcapValues.size(); ++
i) {
54 product->view()[
eid.linearIndex()].rawid() = did.
rawId();
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
uint32_t cc[maxCellsPerHit]
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
std::unique_ptr< EcalElectronicsMappingHost > produce(EcalMappingElectronicsRcd const &iRecord)
static EEDetId unhashIndex(int hi)
edm::ESGetToken< EcalMappingElectronics, EcalMappingElectronicsRcd > token_
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
SerialTaskQueueChain & queue()
constexpr uint32_t rawId() const
get the raw id
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
EcalElectronicsMappingHostESProducer(edm::ParameterSet const &iConfig)
#define DEFINE_FWK_EVENTSETUP_ALPAKA_MODULE(type)