Skip to content

Conversation

@bryngemark
Copy link
Contributor

I am updating ldmx-sw, here are the details.

What are the issues that this addresses?

This allows association back to hits from clusters that were associated with PF tracks in the PFlow algorithm. It also includes a first go at a pileup electron identifier processor, that subtracts hits associated to high-momentum tracks from the ecal rechit collection (or rather, makes a new collection without those hits).

Check List

  • I successfully compiled ldmx-sw with my developments.
  • I read, understood and follow the coding rules.
  • I ran my developments and the following shows that they are successful.

Plot showing 10 2e inclusive events, ecal rec hits x: black is all hits, red is after pileup removal. This is not at all optimized yet (clustering needs improvements) but the principle works.

ecalRecHits_2e_allBlack_noPUred

Copy link
Member

@tomeichlersmith tomeichlersmith 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 looking good, I have a few cleanup requests and one comment about sharing EcalGeo information with CLUE.

bryngemark and others added 2 commits October 2, 2025 16:32
Remove remnant of attempt to set hits directly

Co-authored-by: Tom Eichlersmith <31970302+tomeichlersmith@users.noreply.github.com>
Co-authored-by: Tom Eichlersmith <31970302+tomeichlersmith@users.noreply.github.com>
@bryngemark
Copy link
Contributor Author

The failing histogram tests are caused by a name change clusterless --> unclustered (which in turn is no biggie, just reflects the difference in perspective between a more seasoned particle physicist and a happy algorithm developer)

@tvami tvami marked this pull request as draft November 27, 2025 20:10
@tvami tvami marked this pull request as ready for review November 27, 2025 20:10
Comment on lines +121 to +122
cluster.nbrOfLayers = 1
cluster.nbr_of_layers = cluster.nbrOfLayers #just here to highlight confusion
Copy link
Member

Choose a reason for hiding this comment

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

We dont anymore have nbrOfLayers parameter
https://github.com/LDMX-Software/ldmx-sw/blob/trunk/Ecal/python/ecalClusters.py#L37

Suggested change
cluster.nbrOfLayers = 1
cluster.nbr_of_layers = cluster.nbrOfLayers #just here to highlight confusion
cluster.nbr_of_layers = 1

Comment on lines +12 to +14
// ldmx-sw objects
// #include "Ecal/Event/EcalHit.h"
// #include "Hcal/Event/HcalHit.h"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// ldmx-sw objects
// #include "Ecal/Event/EcalHit.h"
// #include "Hcal/Event/HcalHit.h"

@tvami
Copy link
Member

tvami commented Nov 28, 2025

Configuration Error [Config] : Parameter 'ecal_sp_hits_passname' does not exist in list of parameters.

we need to have this with a default in the python file

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.

4 participants