11 for (
int finiteLoop = 0; finiteLoop<100000; ++finiteLoop) {
15 EDepSimError(
"EDepSim::UniformPositionGenerator::GetPosition:" 16 <<
" No valid position found");
virtual bool ValidPosition(const G4LorentzVector &vtx)
Return true if the vertex is valid. This is used in the derived class.
G4LorentzVector TrialPosition()
Generate a trial position uniformly in the sample box.
Construct a module from components.
#define EDepSimError(outStream)