Skip to content

Commit

Permalink
units
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Sep 29, 2024
1 parent cb11de8 commit 6ec54a2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Core/include/Acts/Seeding/detail/CylindricalSpacePointGrid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ using CylindricalBinnedGroupIterator = Acts::BinnedGroupIterator<

struct CylindricalSpacePointGridConfig {
// minimum pT to be found by seedFinder
float minPt = 0;
float minPt = 0 * Acts::UnitConstants::MeV;
// maximum extension of sensitive detector layer relevant for seeding as
// distance from x=y=0 (i.e. in r)
float rMax = 0;
float rMax = 320 * Acts::UnitConstants::mm;
// maximum extension of sensitive detector layer relevant for seeding as
// distance from x=y=0 (i.e. in r)
float rMin = 0;
float rMin = 0 * Acts::UnitConstants::mm;
// maximum extension of sensitive detector layer relevant for seeding in
// positive direction in z
float zMax = 0;
float zMax = 0 * Acts::UnitConstants::mm;
// maximum extension of sensitive detector layer relevant for seeding in
// negative direction in z
float zMin = 0;
float zMin = 0 * Acts::UnitConstants::mm;
// maximum distance in r from middle space point to bottom or top spacepoint
float deltaRMax = 0;
float deltaRMax = 0 * Acts::UnitConstants::mm;
// maximum forward direction expressed as cot(theta)
float cotThetaMax = 0;
// maximum impact parameter in mm
float impactMax = 0;
float impactMax = 0 * Acts::UnitConstants::mm;
// minimum phi value for phiAxis construction
float phiMin = -M_PI;
// maximum phi value for phiAxis construction
Expand Down
8 changes: 5 additions & 3 deletions Tests/UnitTests/Core/Seeding/SeedFinderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ int main(int argc, char** argv) {
Acts::SeedFinderConfig<value_type> config;
// silicon detector max
config.rMax = 160._mm;
config.rMin = 1._mm;
config.rMin = 0._mm;
config.deltaRMin = 5._mm;
config.deltaRMax = 160._mm;
config.deltaRMinTopSP = config.deltaRMin;
Expand Down Expand Up @@ -183,8 +183,10 @@ int main(int argc, char** argv) {
std::vector<std::pair<int, int>> zBinNeighborsTop;
std::vector<std::pair<int, int>> zBinNeighborsBottom;

auto bottomBinFinder = std::make_unique<Acts::GridBinFinder<3ul>>(numPhiNeighbors, zBinNeighborsBottom, 0);
auto topBinFinder = std::make_unique<Acts::GridBinFinder<3ul>>(numPhiNeighbors, zBinNeighborsTop, 0);
auto bottomBinFinder = std::make_unique<Acts::GridBinFinder<3ul>>(
numPhiNeighbors, zBinNeighborsBottom, 0);
auto topBinFinder = std::make_unique<Acts::GridBinFinder<3ul>>(
numPhiNeighbors, zBinNeighborsTop, 0);
Acts::SeedFilterConfig sfconf;

Acts::ATLASCuts<value_type> atlasCuts = Acts::ATLASCuts<value_type>();
Expand Down

0 comments on commit 6ec54a2

Please sign in to comment.