Skip to content

TPC: add UseGeant4Edep ionisation-fluctuation flag for Kr-83m calibration simulations#15615

Open
Ankyyadav wants to merge 1 commit into
AliceO2Group:devfrom
Ankyyadav:feature/tpc-kr-calibration-generator
Open

TPC: add UseGeant4Edep ionisation-fluctuation flag for Kr-83m calibration simulations#15615
Ankyyadav wants to merge 1 commit into
AliceO2Group:devfrom
Ankyyadav:feature/tpc-kr-calibration-generator

Conversation

@Ankyyadav

Copy link
Copy Markdown
  • Adds TPCDetParam.UseGeant4Edep, an opt-in flag (default off) that uses Geant4's energy deposit directly for ionisation in Detector::ProcessHits, with Fano-limited charge fluctuation via a Gamma-distributed smear (mean/variance tuned for GEANT4). Used for 83mKr TPC calibration simulations.
    • SetSpecialPhysicsCuts() calls matmgr.SpecialCut() for the TPC drift-gas media before the base class reads simcuts.dat (which sets a 10 keV default for these media). This is now exposed as TPCDetParam.SpecialCutsGeV (default 1e-6 GeV = 1 keV), so the actual effective cut
      can be set via configKeyValues.

@Ankyyadav
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
Ankyyadav force-pushed the feature/tpc-kr-calibration-generator branch from 833f9a1 to dfc712d Compare July 23, 2026 13:54
…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
Ankyyadav force-pushed the feature/tpc-kr-calibration-generator branch from dfc712d to cc9dea4 Compare July 23, 2026 14:01
@Ankyyadav
Ankyyadav marked this pull request as ready for review July 23, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant