@@ -53,7 +53,7 @@ class SpacePointCollector {
53
53
friend Acts::SpacePointContainer<SpacePointCollector, Acts::detail::RefHolder>;
54
54
using ValueType = SpacePoint;
55
55
56
- SpacePointCollector (std::vector<const ValueType*>& externalCollection)
56
+ explicit SpacePointCollector (std::vector<const ValueType*>& externalCollection)
57
57
: m_storage(&externalCollection)
58
58
{}
59
59
@@ -75,7 +75,7 @@ class SpacePointCollector {
75
75
case " TopStripCenterPosition" _hash:
76
76
return Acts::Vector3 ( {0 , 0 , 0 } );
77
77
default :
78
- throw std::runtime_error (" no such component " + std::to_string (key));
78
+ throw std::invalid_argument (" no such component " + std::to_string (key));
79
79
}
80
80
}
81
81
@@ -232,8 +232,8 @@ TEST_P(CompareWithActsSeedingTests, Run) {
232
232
acts_config.rMaxMiddle = std::numeric_limits<float >::max ();
233
233
acts_config.useVariableMiddleSPRange = false ;
234
234
acts_config.rRangeMiddleSP = {};
235
- acts_config.deltaRMiddleMinSPRange = 10 * Acts::UnitConstants::mm;
236
- acts_config.deltaRMiddleMaxSPRange = 10 * Acts::UnitConstants::mm;
235
+ acts_config.deltaRMiddleMinSPRange = 10 . f ; // mm
236
+ acts_config.deltaRMiddleMaxSPRange = 10 . f ; // mm
237
237
acts_config.deltaRMin = traccc_config.deltaRMin ;
238
238
acts_config.deltaRMax = traccc_config.deltaRMax ;
239
239
acts_config.deltaRMinTopSP = traccc_config.deltaRMin ;
@@ -338,7 +338,6 @@ TEST_P(CompareWithActsSeedingTests, Run) {
338
338
// the constructor can accept a mixture of all of these types
339
339
int numPhiNeighbors = 1 ;
340
340
int numRadiusNeighbors = 0 ;
341
- // TODO: set some reasonable values here!!!
342
341
std::vector<std::pair<int , int >> zBinNeighborsTop{};
343
342
std::vector<std::pair<int , int >> zBinNeighborsBottom{};
344
343
0 commit comments