Skip to content

Get FastCaloSimV2 running with SimKernelMT in Athena

The changes in this merge request are sufficient to get FastCaloSim V2 running in single-threaded Athena with the SimKernelMT (thread-friendly) Algorithm = G4FastCaloSimMT simulator configuration of ISF. The output does not yet match the output of the old approach of running FastCaloSim V2 with the SimKernel (thread-unfriendly) Algorithm = G4FastCalo simulator configuration though.

Other than updating the configuration, the main change is to switch FastCaloSimV2Tool to use the thread-safe random number service. This will change the output of the G4FastCalo simulator configuration also.

Currently G4FastCaloMT still crashes when running in AthenaMT. Most likely this is at least partially due to the m_theContainer member variable of FastCaloSimV2Tool which is not thread-local.

Making the output of G4FastCaloMT reproducible in AthenaMT will also require !28800 (merged).

Merge request reports