-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: data
is private in MultiTrajectory GrowableColumns
#1289
Conversation
When accessing `parameters` or `covariance` through the generic accessors (i.e. not `predicted`, `filtered`, or `smoothed`), the public `col()` function should be used instead of direct access to the private `data` member.
Codecov Report
@@ Coverage Diff @@
## main #1289 +/- ##
=======================================
Coverage 47.47% 47.47%
=======================================
Files 376 376
Lines 19824 19824
Branches 9312 9312
=======================================
Hits 9412 9412
Misses 4020 4020
Partials 6392 6392
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
Tested, confirmed. |
data
is private in MultiTrajectory GrowableColumns (WIP)data
is private in MultiTrajectory GrowableColumns
Sure, fine with me. Will #1262 go into 20, or when is it expected to land? Just trying to figure out how much time to spend on our downstream interfaces if this will require a rewrite soon... |
@wdconinc That work is at the top of my list now. |
After CKF tracking, we use the MultiTrajectory to find the time of flight to a set of AC-LGAD TOF detectors in our barrel and endcap regions (link), to connect hadron tracks (through the ecal) from tracking to the hcal clusters, and to the active radiator region of the RICH detectors. Right now that means something like mj.visitBackwards(trackTip, [&](auto&& trackstate) {
auto pathLength = trackstate.pathLength();
// get track state parameters and their covariances
const auto& parameter = trackstate.predicted();
const auto& covariance = trackstate.predictedCovariance();
// convert local to global
auto global = trackstate.referenceSurface().localToGlobal(
m_geoContext,
{parameter[Acts::eBoundLoc0], parameter[Acts::eBoundLoc1]},
{0, 0, 0}
);
// etc...
}); That's where I was thinking we were originally using just On a related note, getting a covariance matrix back from |
When accessing
parameters
orcovariance
through the generic accessors (i.e. notpredicted
,filtered
, orsmoothed
), the publiccol()
function should be used instead of direct access to the privatedata
member.Marked WIP until some more tests complete and confirmed working as intended.