61 auto prod = std::make_unique<EcalElectronicsMapping>();
62 const std::vector<EcalMappingElement>& ee =
Mapping_ -> endcapItems();
72 for (
unsigned int i=0;
i < ee.size();
i++)
74 if (ee[
i].electronicsid == 0)
76 if (ee[
i].triggerid == 0)
void DBCallback(const EcalMappingElectronicsRcd &fRecord)
ReturnType produce(const EcalMappingRcd &)
depends_on::OneHolder< T, TDependsOnRecord > dependsOn(void(T::*iT)(const TDependsOnRecord &))
EcalElectronicsMappingBuilder(const edm::ParameterSet &)
static EEDetId unhashIndex(int hi)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
void assign(const DetId &cell, const EcalElectronicsId &, const EcalTriggerElectronicsId &tower)
set the association between a DetId and a tower
~EcalElectronicsMappingBuilder() override
std::unique_ptr< EcalElectronicsMapping > ReturnType
void get(HolderT &iHolder) const
void FillFromDatabase(const std::vector< EcalMappingElement > &ee, EcalElectronicsMapping &theMap)
const EcalMappingElectronics * Mapping_
T const * product() const