33 Scalar psi = 2. * M_PI * rndPsi;
39 theta = particle.
mass() / particle.
energy() * rndTheta1;
45 Scalar u = -log(rndTheta2 * rndTheta3) /
a;
46 theta *= (rndTheta1 < 0.25) ? u : u / 3.;
50 Vector3 photonDirection = particleDirection;
58 photonDirection.applyOnTheLeft(rotation);
62 photon.
setProcess(ActsFatras::ProcessType::eBremsstrahlung)
64 .setDirection(photonDirection)