Abstract: Highlights•We have successfully applied algorithmic differentiation to a stochastic particle simulation.•The entire electromagnetic shower simulation is “AD-friendly”, except for the implementation of multiple scattering.•The resulting gradient estimator can be useful for optimization in high- energy physics.
Loading