Skip to content

Conversation

@AkshayaVijay
Copy link
Contributor

Briefly, what does this PR introduce?

Added "sector" to CalorimeterHitReco_factory::localDetectorFields for EcalBarrelScFiRecHits so that EcalBarrelScFiRecHits will have local coordinates in sector frame of reference.

With this, Island Clustering for EcalBarrelScFiProtoClusters works as expected when it is based on the localDistXZ

What kind of change does this PR introduce?

  • [x ] Bug fix (issue #__)
  • 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?

No

Does this PR change default behavior?

Local coordinate for ScFiRec hits will be in sector frame of reference

Added "sector" to CalorimeterHitReco_factory::localDetectorFields for EcalBarrelScFiRecHits so that EcalBarrelScFiRecHits will have local coordinates in sector frame of reference.

With this, Island Clustering for EcalBarrelScFiProtoClusters works as expected when it is based on the localDistXZ
@github-actions github-actions bot added topic: calorimetry relates to calorimetry topic: barrel labels Oct 17, 2025
@AkshayaVijay
Copy link
Contributor Author

AkshayaVijay commented Oct 17, 2025

The comparison plots for the ScFiRecHit positions are in the attached pdf.
ScFiRecHits_positions.pdf

@wdconinc
Copy link
Contributor

@sly2j This is the better fix (better than #2094) that Akshaya studied to restore the XZ local coordinates in the sector reference frame instead of the global frame.

@wdconinc wdconinc changed the title Modify localDetFields and distance parameters EcalBarrelScFiRecHits: Modify localDetFields and distance parameters Oct 17, 2025
@wdconinc wdconinc enabled auto-merge October 29, 2025 19:54
@wdconinc wdconinc added this pull request to the merge queue Oct 29, 2025
Merged via the queue into main with commit 592518f Oct 29, 2025
124 of 131 checks passed
@wdconinc wdconinc deleted the Add-sector-to-EcalBarrelScFiRecHits-localDetFields branch October 29, 2025 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants