13#include <fmt/format.h>
15#include "o2mchmappingimpl4_export.h"
18const std::map<int, int> deId2SameType{
180std::map<int, o2::mch::mapping::Segmentation*> createSegmentations()
182 std::map<int, o2::mch::mapping::Segmentation*> segs;
183 for (
auto deid : {100,
214O2MCHMAPPINGIMPL4_EXPORT
217 static auto segs = createSegmentations();
218 auto refDeForThatSegmentation = deId2SameType.find(detElemId);
219 return *(segs[refDeForThatSegmentation->second]);
A Segmentation lets you find pads of a detection element and then inspect those pads.
O2MCHMAPPINGIMPL3_EXPORT const Segmentation & segmentation(int detElemId)