21 auto prod = std::make_unique<EcalElectronicsMapping>();
27 const std::vector<EcalMappingElement>& ee = item->endcapItems();
35 for (
unsigned int i=0;
i < ee.size();
i++)
37 if (ee[
i].electronicsid == 0)
39 if (ee[
i].triggerid == 0)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnType produce(const EcalMappingRcd &)
EcalElectronicsMappingBuilder(const edm::ParameterSet &)
static EEDetId unhashIndex(int hi)
void assign(const DetId &cell, const EcalElectronicsId &, const EcalTriggerElectronicsId &tower)
set the association between a DetId and a tower
const DepRecordT getRecord() const
void FillFromDatabase(const std::vector< EcalMappingElement > &ee, EcalElectronicsMapping &theMap)
std::unique_ptr< EcalElectronicsMapping > ReturnType