TPC: add UseGeant4Edep ionisation-fluctuation flag for Kr-83m calibration simulations#15615
Open
Ankyyadav wants to merge 1 commit into
Open
TPC: add UseGeant4Edep ionisation-fluctuation flag for Kr-83m calibration simulations#15615Ankyyadav wants to merge 1 commit into
Ankyyadav wants to merge 1 commit into
Conversation
Ankyyadav
marked this pull request as draft
July 21, 2026 09:25
Ankyyadav
added a commit
to Ankyyadav/AliceO2
that referenced
this pull request
Jul 21, 2026
Please consider the following formatting changes to AliceO2Group#15615
Ankyyadav
force-pushed
the
feature/tpc-kr-calibration-generator
branch
from
July 23, 2026 13:54
833f9a1 to
dfc712d
Compare
…on support - TPCDetParam.UseGeant4Edep: use Geant4's own energy deposit for ionisation instead of Bethe-Bloch/NA49, with a configurable SpecialCutsGeV threshold - Adds the Kr-83m decay generator (GeneratorKrDecay) as a compiled Generator subclass in Detectors/TPC/simulation, with a thin krGenerator.C macro for use as an o2-sim external generator - Adds plotCluster.C for viewing the resulting calibration spectrum
Ankyyadav
force-pushed
the
feature/tpc-kr-calibration-generator
branch
from
July 23, 2026 14:01
dfc712d to
cc9dea4
Compare
Ankyyadav
marked this pull request as ready for review
July 23, 2026 14:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TPCDetParam.UseGeant4Edep, an opt-in flag (default off) that uses Geant4's energy deposit directly for ionisation inDetector::ProcessHits, with Fano-limited charge fluctuation via a Gamma-distributed smear (mean/variance tuned for GEANT4). Used for 83mKr TPC calibration simulations.SetSpecialPhysicsCuts()callsmatmgr.SpecialCut()for the TPC drift-gas media before the base class readssimcuts.dat(which sets a 10 keV default for these media). This is now exposed asTPCDetParam.SpecialCutsGeV(default 1e-6 GeV = 1 keV), so the actual effective cutcan be set via configKeyValues.