Skip to content

Commit 064b5d3

Browse files
sawenzelclaude
andcommitted
Set the EMCAL sampling factor for the G4HepEm physics list
This makes the Geant4 sampling factor for FTFP_BERT_EMV_HEP+optical explicit. - The value 0.808 gives the same EMCAL energy per primary as FTFP_BERT_EMV+optical with 0.821. - It was determined with e- of 1 to 20 GeV and gamma of 1 to 5 GeV; the agreement is within 1 % at all energies. - Before, the list fell back to the default 0.81 by name. https://its.cern.ch/jira/browse/O2-7210 https://its.cern.ch/jira/browse/O2-7316 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5ba94b4 commit 064b5d3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Detectors/EMCAL/base/src/Geometry.cxx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ void Geometry::DefineSamplingFraction(const std::string_view mcname, const std::
290290
samplingFactorTranportModel = 0.821;
291291
} else if (physicslist == "FTFP_BERT_EMV+optical+biasing" || physicslist == "FTFP_INCLXX_EMV+optical") {
292292
samplingFactorTranportModel = 0.81;
293+
} else if (physicslist == "FTFP_BERT_EMV_HEP+optical") {
294+
// e-, e+ and gamma with G4HepEm; same energy per primary as FTFP_BERT_EMV+optical with 0.821 (O2-7210)
295+
samplingFactorTranportModel = 0.808;
293296
}
294297
}
295298

0 commit comments

Comments
 (0)