Skip to content

Commit 7618a3c

Browse files
sawenzelclaude
andcommitted
Set the EMCAL sampling factor for the G4HepEm physics list
This adds the Geant4 sampling factor for FTFP_BERT_EMV_HEP+optical. - The value 0.810 gives the same EMCAL energy per primary as FTFP_BERT_EMV+optical with 0.821. - It was determined with e- of 5 and 20 GeV and gamma of 5 GeV. - Before, the list fell back to the default by name, without a check. 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 4b32d6c commit 7618a3c

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; matches FTFP_BERT_EMV+optical with 0.821 (O2-7210)
295+
samplingFactorTranportModel = 0.810;
293296
}
294297
}
295298

0 commit comments

Comments
 (0)