60 using namespace edm::es;
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 &)
std::auto_ptr< EcalElectronicsMapping > ReturnType
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()
void get(HolderT &iHolder) const
void FillFromDatabase(const std::vector< EcalMappingElement > &ee, EcalElectronicsMapping &theMap)
T const * product() const
const EcalMappingElectronics * Mapping_