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

Zeros out the dead zones in the TPC #723

Merged
merged 4 commits into from
Jan 17, 2025
Merged

Conversation

klendathu2k
Copy link
Contributor

This PR removes the deadzone in the TPC. Responsibility for simulating the deadzone is then shifted to the gating grid simulation.

This PR impacts all geometry tags that use the TpceGeo3a, 4, 5(*) and 6 models.

This PR should be tested prior to merging. Note that this implementation would have the following consequences...
... the correct version of the TPC slow simulator must be used from this point forward ...
... any backport of the tpc geometry into an earlier embedding library requires backport of the slow simulator and vice versa ...

Should have a discussion about this before mergeing.


(*) No tag uses the TpceGeo5 model. Listed here for completeness.

Copy link
Contributor

@genevb genevb left a comment

Choose a reason for hiding this comment

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

Do these need to be in new Subversions of the geometry volumes, or is it ok to retain (modify) the existing Subversion?

Other than that, I don't see any further concerns.

@klendathu2k
Copy link
Contributor Author

This is a shift of responsibility of simulating hits in the deadzone from the geant simulation to the slow simulator. So I think any versioning scheme would need to apply to both.

Absent that...

We have to be careful when back porting into embedding libraries. The slow simulator and TPC geometry must be consistent with each other.

Copy link
Contributor

@genevb genevb left a comment

Choose a reason for hiding this comment

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

OK, though it would be good if somewhere a link is made between this PR that hands control over to TpcRS (I assume that's where control is meant to be now), and the complementary change in TpcRS where control of this dead region was taken.

@fisyak
Copy link
Member

fisyak commented Jan 16, 2025

TpcRS took over for Gating Grid dead region accounting via StRoot/StdEdxY2Maker/StTpcdEdxCorrection in PR
Tfg.export.102423b #614
PR# 614 has explanation for these modifications,

@fisyak fisyak self-requested a review January 16, 2025 14:35
@fisyak fisyak merged commit f8a6955 into star-bnl:main Jan 17, 2025
148 checks passed
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.

3 participants