35 : detector_(ps.getParameter<
std::
string>(
"detector")) {
39 geometry_token_ = esConsumes<CaloGeometry, CaloGeometryRecord, edm::Transition::BeginRun>();
44 produces<TICLLayerTilesHFNose>();
46 produces<TICLLayerTiles>();
55 auto result = std::make_unique<TICLLayerTiles>();
56 auto resultHFNose = std::make_unique<TICLLayerTilesHFNose>();
67 const auto firstHitDetId = lc.hitsAndFractions()[0].first;
74 resultHFNose->fill(layer, lc.eta(), lc.phi(), lcId);
76 result->fill(layer, lc.eta(), lc.phi(), lcId);
77 LogDebug(
"TICLLayerTileProducer") <<
"Adding layerClusterId: " << lcId <<
" into bin [eta,phi]: [ "
78 << (*result)[layer].etaBin(lc.eta()) <<
", " << (*
result)[layer].phiBin(lc.phi())
79 <<
"] for layer: " << layer << std::endl;
93 descriptions.
add(
"ticlLayerTileProducer",
desc);