27 : mapFile_(iConfig.getUntrackedParameter<
std::
string>(
"MapFile",
"")) {
35 auto prod = std::make_unique<EcalTrigTowerConstituentsMap>();
51 int ietaTower, iphiTower;
55 while ((ch =
f.peek()) !=
'-') {
56 f.get(
line, 80,
'\n');
60 int nread = sscanf(
line,
" %d %d %d %d %d", &
ix, &
iy, &iz, &ietaTower, &iphiTower);
68 f.get(
line, 80,
'\n');
71 f.get(
line, 80,
'\n');
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void assign(const DetId &cell, const EcalTrigTowerDetId &tower)
set the association between a DetId and a tower
~EcalTrigTowerConstituentsMapBuilder() override
ReturnType produce(const IdealGeometryRecord &)
EcalTrigTowerConstituentsMapBuilder(const edm::ParameterSet &)
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ix(uint32_t id)
void parseTextMap(const std::string &filename, EcalTrigTowerConstituentsMap &theMap)
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t iy(uint32_t id)
const std::string & fullPath() const
std::unique_ptr< EcalTrigTowerConstituentsMap > ReturnType