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

Add 3D cluster shape analysis #616

Merged
merged 7 commits into from
Apr 21, 2023
Merged

Add 3D cluster shape analysis #616

merged 7 commits into from
Apr 21, 2023

Conversation

dhevang
Copy link
Contributor

@dhevang dhevang commented Apr 18, 2023

Briefly, what does this PR introduce?

Cluster shape properties are calculated from the 3D covariance matrix of hits within a cluster.
2 coordinate system options are provided: eta-phi-z and x-y-z, which can be toggled with the m_xyClusterProfiling variable.
This adds to the existing routine, which has been moved out of the header file and into the CalorimeterClusterRecoCoG.cc.

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • [ x ] New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

Does this PR change default behavior?

@dhevang dhevang linked an issue Apr 18, 2023 that may be closed by this pull request
Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

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

This is a nice change. I have few suggestions.

src/algorithms/calorimetry/CalorimeterClusterRecoCoG.cc Outdated Show resolved Hide resolved
src/algorithms/calorimetry/CalorimeterClusterRecoCoG.h Outdated Show resolved Hide resolved
src/algorithms/calorimetry/CalorimeterClusterRecoCoG.cc Outdated Show resolved Hide resolved
src/algorithms/calorimetry/CalorimeterClusterRecoCoG.cc Outdated Show resolved Hide resolved
src/algorithms/calorimetry/CalorimeterClusterRecoCoG.cc Outdated Show resolved Hide resolved
src/algorithms/calorimetry/CalorimeterClusterRecoCoG.cc Outdated Show resolved Hide resolved
src/algorithms/calorimetry/CalorimeterClusterRecoCoG.cc Outdated Show resolved Hide resolved
dhevang and others added 3 commits April 19, 2023 14:39
Some other minor comments from the PR implemented.
…es to the returend cluster shape parameters.
Copy link
Member

@veprbl veprbl left a comment

Choose a reason for hiding this comment

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

Looks good to me

@dhevang dhevang merged commit bd7d596 into main Apr 21, 2023
@dhevang dhevang deleted the 615-add-cluster-shape-analysis branch April 21, 2023 21:33
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.

Add cluster shape analysis
2 participants