32 int const size = 0x3FFFFF;
36 auto const& barrelValues =
mapping.barrelItems();
37 for (
unsigned int i = 0;
i < barrelValues.size(); ++
i) {
40 product->view()[
eid.linearIndex()].rawid() = did.
rawId();
44 auto const& endcapValues =
mapping.endcapItems();
45 for (
unsigned int i = 0;
i < endcapValues.size(); ++
i) {
48 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)
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)