36 int const edatasize = 2;
38 for (
int i = 0;
i < edatasize; ++
i) {
39 data.view()[
i].val2() =
i * 10 + 1;
46 for (
int i = 0;
i < esize; ++
i) {
48 e.view()[
i].ind() =
i % edatasize;
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
edm::ESGetToken< cms::alpakatest::ESTestDataC, AlpakaESTestRecordC > token_
uint32_t cc[maxCellsPerHit]
PortableCollection< AlpakaESTestSoAE, TDev > ECollection
static std::string const input
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
Abs< T >::type abs(const T &t)
PortableCollection< AlpakaESTestSoAEData, TDev > EDataCollection
std::optional< AlpakaESTestDataEHost > produce(AlpakaESTestRecordC const &iRecord)
char data[epos_bytes_allocation]
#define DEFINE_FWK_EVENTSETUP_ALPAKA_MODULE(type)
TestAlpakaESProducerE(edm::ParameterSet const &iConfig)
cms::alpakatest::AlpakaESTestDataEHost AlpakaESTestDataEHost
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)