Skip to content
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

Lots of new goodies to WeightedPoints3D + a bug fix. #28

Merged
merged 3 commits into from
Sep 19, 2022

Conversation

MikaelBerggren
Copy link
Contributor

BEGINRELEASENOTES

The header-file has been re-organised and heavily
commented - should work as a manual.

Bug fix: a missing factor of two in propagateValErrors , the errors
on the eigen-values (= the error on the estimated variances)

New public methods:

getElipsoid_r1 (_r2, _r3)
getElipsoid_r1Error (_r2, _r3)
getElipsoid_r_ave

  • getElipsoid_r_forw (_back)
    getElipsoid_vol
    getElipsoid_density
    getLongitudinalElipsis_eccentricity
    getTransverseElipsis_eccentricity
  • getMaxDist
  • getElipsoid_FractionInside

Transformations:

TransformPointToEigenSyst

  • TransformToEigenSyst
  • TransformAlongDirection (2 versions)

(The ones with a * in front are only useful with Reco-input, since
they need to have access to the CaloHits)
getters of transformed properties:

  • get_x_trans (y, z)
  • get_COG_trans
  • get_COGCov_trans
  • get_th_ref
  • get_ph_ref
  • get_xyz_ref

New private methods:

findMaxDist
findFirstAndLast
findElipsoid_FractionInside

Symbols defined: _one_sigma, _CL90, _CL95, _CL99

ENDRELEASENOTES

The header-file has been re-organised and heavily
commented - should work as a manual.

Bug fix: a missing factor of two in propagateValErrors , the errors
on the eigen-values (= the error on the estimated variances)

New public methods:

getElipsoid_r1 (_r2, _r3)
getElipsoid_r1Error (_r2, _r3)
getElipsoid_r_ave
* getElipsoid_r_forw (_back)
getElipsoid_vol
getElipsoid_density
getLongitudinalElipsis_eccentricity
getTransverseElipsis_eccentricity
* getMaxDist
* getElipsoid_FractionInside

Transformations:

TransformPointToEigenSyst
* TransformToEigenSyst
* TransformAlongDirection (2 versions)

(The ones with a * in front are only useful with Reco-input, since
 they need to have access to the CaloHits)
getters of transformed properties:

* get_x_trans (_y_, _z_)
* get_COG_trans
* get_COGCov_trans
* get_th_ref
* get_ph_ref
* get_xyz_ref

New private methods:

findMaxDist
findFirstAndLast
findElipsoid_FractionInside

Symbols defined: _one_sigma, _CL90, _CL95, _CL99
Copy link
Contributor

@tmadlener tmadlener left a comment

Choose a reason for hiding this comment

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

The main question I have is the one about the seeming out-of-bounds access (see below). I am not sure what is the expected behavior there, so I can't really judge whether the current implementation makes sense.

The constexpr static auto thing can be done easily via the web interface.

source/include/WeightedPoints3D.h Outdated Show resolved Hide resolved
source/include/WeightedPoints3D.h Outdated Show resolved Hide resolved
@tmadlener
Copy link
Contributor

@MikaelBerggren you mentioned test processors today for these changes. Could they be added to iLCSoft somewhere where appropriate, e.g. MarlinReco? They could also serve as some usage examples in that case.

@tmadlener tmadlener merged commit cb9f531 into iLCSoft:master Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants