PosGen_Radial Class Reference
|
Ratpac-two
|
RAT::PosGen_Radial Class Reference
Inheritance diagram for RAT::PosGen_Radial:
Public Member Functions | |
| PosGen_Radial (const char *arg_dbname="radial") | |
| virtual void | GeneratePosition (G4ThreeVector &argResult) |
| void | SetState (G4String newValues) |
| G4String | GetState () const |
Public Member Functions inherited from GLG4PosGen | |
| GLG4PosGen (const char *arg_dbname="pos") | |
Protected Attributes | |
| G4ThreeVector | fCenter |
| G4double | fMaxRadius |
| G4ThreeVector | fPoint |
Protected Attributes inherited from GLG4PosGen | |
| G4String | _dbname |
Constructor & Destructor Documentation
◆ PosGen_Radial()
| PosGen_Radial::PosGen_Radial | ( | const char * | arg_dbname = "radial" | ) |
Create a uniform spherical position generator. The default sphere is from (0,0,0) the origin.
Member Function Documentation
◆ GeneratePosition()
|
virtual |
Generate a random position in the sphere, uniformly ditributed in radial coordinate
Implements GLG4PosGen.
◆ GetState()
|
virtual |
Return state as string in same format as SetState()
Implements GLG4PosGen.
◆ SetState()
|
virtual |
Set the center and max radius of the distribution
- Parameters
-
[in] newValues x y z R (in mm)
Implements GLG4PosGen.
Member Data Documentation
◆ fPoint
|
protected |
distribution radius
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/PosGen_Radial.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/src/PosGen_Radial.cc
Generated by
Public Member Functions inherited from