Hello,
I’m using the code snippet below from B1PrimaryGeneratorAction in my simulations and I would like to know what is the range of values generated by G4UniformRand(). I couldn’t find this information anywhere. Thanks for your response in advance!
G4double size = 0.8;
G4double x0 = envSizeXY * (G4UniformRand()-0.5);
G4double y0 = envSizeXY * (G4UniformRand()-0.5);
G4double z0 = -0.5 * envSizeZ;