13#include <fmt/format.h>
15#include "o2mchmappingimpl3_export.h"
20const std::map<int, int> deId2SameType{
182std::map<int, o2::mch::mapping::Segmentation*> createSegmentations()
184 std::map<int, o2::mch::mapping::Segmentation*> segs;
185 for (
auto deid : {100,
216O2MCHMAPPINGIMPL3_EXPORT
219 static auto segs = createSegmentations();
220 auto refDeForThatSegmentation = deId2SameType.find(detElemId);
221 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)