21 auto computeAttribute = [
26 ](
const std::array<PixelDiodeTree::IndexType,2> &split_idx,
28 [[maybe_unused]]
const std::array<bool,4> &ganged,
29 [[maybe_unused]]
unsigned int split_i,
32 -> std::tuple<PixelDiodeTree::AttributeType,PixelDiodeTree::AttributeType>
51 assert(split_idx[0]>=0 && split_idx[1]>=0);
56 switch (n_large_dimensions) {
74 current_matrix_attribute
79 switch (fe_numbering) {
92 return std::make_tuple(current_matrix_attribute, current_diode_attribute);
97 PixelDiodeTree diode_tree
104 std::array<std::array<unsigned int,2>, 2>{ std::array<unsigned int,2>{0
u,nEtaLongEnd},
105 std::array<unsigned int,2>{0
u,nEtaLong}},
111 std::array<std::array<unsigned int,2>, 2>{ std::array<unsigned int,2>{0
u,0
u},
112 std::array<unsigned int,2>{0
u,0
u}
121 << diode_tree.debugStringRepr());