Skip to content

Conversation

@AJPfleger
Copy link
Contributor

@AJPfleger AJPfleger commented Dec 3, 2025

Align both algorithms when it comes to variable names and structure.

@AJPfleger AJPfleger added this to the next milestone Dec 3, 2025
@github-actions github-actions bot added the Component - Examples Affects the Examples module label Dec 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

📊: Physics performance monitoring for 6055dc6

Full contents

physmon summary

@AJPfleger AJPfleger marked this pull request as ready for review December 8, 2025 06:30
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 8, 2025

Comment on lines +217 to +219
/// Transformation to the common coordinate system of all space points
const Transform3 parentTrf{toSpacePointFrame(gctx, moduleGeoId)};

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Transformation to the common coordinate system of all space points
const Transform3 parentTrf{toSpacePointFrame(gctx, moduleGeoId)};

Moved to lines 192ff

const Surface* hitSurf = trackingGeometry().findSurface(moduleGeoId);
assert(hitSurf != nullptr);

const Transform3& surfLocToGlob{hitSurf->transform(gctx)};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const Transform3& surfLocToGlob{hitSurf->transform(gctx)};
const Transform3& surfLocToGlob{hitSurf->transform(gctx)};
/// Transformation to the common coordinate system of all space points
const Transform3 parentTrf{toSpacePointFrame(gctx, moduleGeoId)};
/// Retrieve the bounds
const auto& bounds = hitSurf->bounds();

const Vector3 locDir =
surfLocToGlob.inverse().linear() * simHit.direction();

const auto& bounds = hitSurf->bounds();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const auto& bounds = hitSurf->bounds();

Move upwards

break;
}
}
/// Mark the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Mark the
/// Mark that a new hit has been recorded at this position & time
/// Subsequent hits are rejected if they remain witihn the dead time

default:
convertSp = false;
}
/// Implement a dead time
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Implement a dead time
/// Define the space point coordinates

Comment on lines +292 to +293
Vector3{parentTrf.linear() * Vector3::UnitY()},
Vector3{parentTrf.linear() * Vector3::UnitX()});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Vector3{parentTrf.linear() * Vector3::UnitY()},
Vector3{parentTrf.linear() * Vector3::UnitX()});
Vector3{parentTrf.linear().col(Acts::ePosY)},
Vector3{parentTrf.linear().col(Acts::ePosX));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Examples Affects the Examples module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants