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

Added shower startpoint correction post-processor and reco particle attributes #6

Merged
merged 6 commits into from
Oct 10, 2024

Conversation

dkoh0207
Copy link

@dkoh0207 dkoh0207 commented Oct 9, 2024

The shower startpoint correction post-processor (showerstart_correction_processor) re-computes the shower start to a point in shower closest to the estimated reco vertex.

Also added two new attributes to RecoParticle:

  1. vertex_distance: the closest distance between all points of a RecoParticle object and RecoInteraction.vertex.
  2. shower_split_angle: the estimate of the angular separation between the "two major directions". Used for rejecting $\pi^0 -> \gamma \gamma$ decays in $\nu_e$ selection. The shower_split_angle is computed using the following procedure:
    • Compute the displacement from the vertex to all shower points.
    • Normalize the displacement vectors to the unit sphere. This gives a distribution of "directions" on the unit sphere, with the sphere center as the vertex.
    • Cluster the unit vectors using DBSCAN with cosine distance.
    • The shower_split_angle is defined as the maximum angle between the mean direction vectors of each DBSCAN cluster on the unit sphere.

@francois-drielsma francois-drielsma merged commit 95ce26a into francois-drielsma:develop Oct 10, 2024
1 check failed
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.

2 participants