18 return {
static_cast<int>(
e), std::generic_category()};
27 namespace ActsExamples {
28 namespace DefaultHoughFunctions {
38 return ResultDouble::success(0.0);
43 return ResultUnsigned::success(0);
45 return ResultUnsigned::success(1);
47 return ResultUnsigned::success(2);
49 return ResultUnsigned::success(3);
51 return ResultUnsigned::success(4);
53 return ResultUnsigned::success(5);
55 return ResultUnsigned::success(6);
57 return ResultUnsigned::success(7);
59 return ResultUnsigned::success(8);
60 }
else if (r < 1100) {
61 return ResultUnsigned::success(9);
63 return ResultUnsigned::failure(
71 return ResultBool::success(
true);
75 if (slice == 0 && z > 50) {
76 return ResultBool::success(
false);
77 }
else if (slice == 1 && z < -50) {
78 return ResultBool::success(
false);
82 return ResultBool::success(
true);
84 return ResultBool::success(
false);
86 }
else if (layer == 4) {
88 return ResultBool::success(
true);
90 return ResultBool::success(
false);
92 }
else if (layer == 5) {
94 return ResultBool::success(
true);
96 return ResultBool::success(
false);
98 }
else if (layer == 6) {
100 return ResultBool::success(
true);
102 return ResultBool::success(
false);
104 }
else if (layer == 7) {
106 return ResultBool::success(
true);
108 return ResultBool::success(
false);
110 }
else if (layer == 8) {
112 return ResultBool::success(
true);
114 return ResultBool::success(
false);
116 }
else if (layer == 9) {
118 return ResultBool::success(
true);
120 return ResultBool::success(
false);
123 return ResultBool::success(
false);