12 =
new G4UIcmdWithAString(
CommandName(
"sample"),
this);
14 " Set volume to sample for a " 38 =
new G4UIcmdWithAString(
CommandName(
"notMaterial"),
this);
40 " material to avoid.");
void CheckMaxZ(double z)
Check that the vertex Z position is less than some value.
G4UIcmdWithADoubleAndUnit * fPositionMinXCMD
G4UIcmdWithADoubleAndUnit * fPositionMinYCMD
G4UIcmdWithAString * fPositionMaterialCMD
G4UIcmdWithADoubleAndUnit * fPositionMaxZCMD
G4UIcmdWithAString * fPositionVolumeCMD
G4UIcmdWithAString * fPositionNotMaterialCMD
G4UIcmdWithADoubleAndUnit * fPositionMaxTCMD
virtual EDepSim::VPositionGenerator * GetGenerator()
EDepSim::VConstrainedPositionGenerator * fCurrent
virtual ~VConstrainedPositionFactory()
void SetNewValue(G4UIcommand *, G4String)
Handle messages from the UI processor.
G4UIcmdWithADoubleAndUnit * fPositionMaxXCMD
void CheckVolumeName(const G4String &name)
VConstrainedPositionFactory(G4String name, EDepSim::UserPrimaryGeneratorMessenger *fParent, bool makeDirectory=true)
G4UIcmdWithoutParameter * fPositionClearCMD
G4UIcmdWithADoubleAndUnit * fPositionMinZCMD
Construct a module from components.
void CheckMaxX(double x)
Check that the vertex X position is less than some value.
G4UIcmdWithADoubleAndUnit * fPositionMinTCMD
G4UIcmdWithADoubleAndUnit * fPositionMaxYCMD
void SetVolumeName(const G4String &volume)
Set the name of the volume to be sampled for a vertex.
void CheckMinY(double y)
Check that the vertex Y position is greater than some value.
G4UIcmdWithAString * fPositionNotVolumeCMD
void CheckVolumeMaterial(const G4String &name)
Check that the vertex is inside of a material specified by name.
void CheckMaxY(double y)
Check that the vertex Y position is less than some value.
virtual EDepSim::VPositionGenerator * CreateGenerator()=0
G4String CommandName(G4String cmd)
Build a command name with the directory prefix.
void CheckNotVolumeName(const G4String &name)
void CheckMinX(double x)
Check that the vertex X position is greater than some value.
void ClearPositionTests(void)
Clear the current set of vertex checks.
void CheckMinZ(double z)
Check that the vertex Z position is greater than some value.
G4UIcmdWithAString * fPositionSampleVolumeCMD
void CheckNotVolumeMaterial(const G4String &name)
Check that the vertex is not inside of a material specified by name.
def parent(G, child, parent_type)