Closed jrquirk closed 6 years ago
Looks good to me! I would still opt to remove SetUniformDirection since you can always use SetRandomDirection with the uRand option and appropriate theta and phi spreads to do the same thing.
I think you're right. Two options that do the same thing is confusing.
Pay special attention to PrimaryGeneratorAction.cc. I added a some stuff but mainly the SetUniformDirection and SetRandomDirection should be checked.