EDepSimVConstrainedPositionFactory.hh
Go to the documentation of this file.
1 #ifndef EDepSim_VConstrainedPositionFactory_hh_seen
2 #define EDepSim_VConstrainedPositionFactory_hh_seen
3 
5 
6 namespace EDepSim {class VConstrainedPositionGenerator;}
7 namespace EDepSim {class VPositionGenerator;}
8 
9 namespace EDepSim {class VConstrainedPositionFactory;}
11 public:
14  bool makeDirectory = true);
16 
17  /// Return a new generator enclosing the current factory state. The new
18  /// generator method is pure virtual so it must be implemented by derived
19  /// classes, but the derived generator must return the value from
20  /// EDepSim::VConstrainedPositionFactory::GetGenerator().
22 
23  /// Create a new generator that can be initialized. This is a pure
24  /// virtual function so it must be implemented in the derived class.
26 
27  void SetNewValue(G4UIcommand*, G4String);
28 
29 private:
30 
32 
33  G4UIcmdWithAString* fPositionSampleVolumeCMD;
34  G4UIcmdWithoutParameter* fPositionClearCMD;
35  G4UIcmdWithAString* fPositionVolumeCMD;
36  G4UIcmdWithAString* fPositionNotVolumeCMD;
37  G4UIcmdWithAString* fPositionMaterialCMD;
38  G4UIcmdWithAString* fPositionNotMaterialCMD;
39  G4UIcmdWithADoubleAndUnit* fPositionMinXCMD;
40  G4UIcmdWithADoubleAndUnit* fPositionMinYCMD;
41  G4UIcmdWithADoubleAndUnit* fPositionMinZCMD;
42  G4UIcmdWithADoubleAndUnit* fPositionMinTCMD;
43  G4UIcmdWithADoubleAndUnit* fPositionMaxXCMD;
44  G4UIcmdWithADoubleAndUnit* fPositionMaxYCMD;
45  G4UIcmdWithADoubleAndUnit* fPositionMaxZCMD;
46  G4UIcmdWithADoubleAndUnit* fPositionMaxTCMD;
47 
48 };
49 #endif
static QCString name
Definition: declinfo.cpp:673
virtual EDepSim::VPositionGenerator * GetGenerator()
EDepSim::VConstrainedPositionGenerator * fCurrent
void SetNewValue(G4UIcommand *, G4String)
Handle messages from the UI processor.
VConstrainedPositionFactory(G4String name, EDepSim::UserPrimaryGeneratorMessenger *fParent, bool makeDirectory=true)
EDepSim::UserPrimaryGeneratorMessenger * fParent
The messenger that is holding this set of sub-commands.
Construct a module from components.
Definition: TG4HitSegment.h:10
virtual EDepSim::VPositionGenerator * CreateGenerator()=0