ATLAS currently uses Russian Roulette for photons (PRR) to accelerate the simulation. In AdePT, we currently simulate all photons. As photons are the bottleneck, it would be good to reduce their amount by also supporting Russian Roulette for them.
This requires
- using the
AuxVolData to identify the volumes where PRR is applied
- a compile time hook similar to the SteppingActions for ATLAS to apply PRR in the kernels.
Note: currently the originTouchable is used to identify the correct volumes for PRR on the host. As PRR is not applied for the GPU, the originTouchable does not need to be provided. This be removed in AdePT, as it is quite expensive to generate the originTouchable.
ATLAS currently uses Russian Roulette for photons (PRR) to accelerate the simulation. In AdePT, we currently simulate all photons. As photons are the bottleneck, it would be good to reduce their amount by also supporting Russian Roulette for them.
This requires
AuxVolDatato identify the volumes where PRR is appliedNote: currently the originTouchable is used to identify the correct volumes for PRR on the host. As PRR is not applied for the GPU, the originTouchable does not need to be provided. This be removed in AdePT, as it is quite expensive to generate the originTouchable.