|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4GeometryCellStep serves to address the "cell" a track previously touched and a "cell" a track is currently in. It is used for scoring and importance sampling in the "mass" geometry as well as in a "parallel" geometry. More...
#include <G4GeometryCellStep.hh>
Public Member Functions | |
| G4GeometryCellStep (const G4GeometryCell &preCell, const G4GeometryCell &postCell) | |
| ~G4GeometryCellStep ()=default | |
| const G4GeometryCell & | GetPreGeometryCell () const |
| const G4GeometryCell & | GetPostGeometryCell () const |
| G4bool | GetCrossBoundary () const |
| void | SetPreGeometryCell (const G4GeometryCell &preCell) |
| void | SetPostGeometryCell (const G4GeometryCell &postCell) |
| void | SetCrossBoundary (G4bool b) |
G4GeometryCellStep serves to address the "cell" a track previously touched and a "cell" a track is currently in. It is used for scoring and importance sampling in the "mass" geometry as well as in a "parallel" geometry.
Definition at line 54 of file G4GeometryCellStep.hh.
| G4GeometryCellStep::G4GeometryCellStep | ( | const G4GeometryCell & | preCell, |
| const G4GeometryCell & | postCell ) |
Constructor. Initialises pre and post G4GeometryCell.
| [in] | preCell | The previous cell. |
| [in] | postCell | The next cell. |
Definition at line 33 of file G4GeometryCellStep.cc.
|
default |
Default Destructor.
|
inline |
Returns true if the step crosses boundary of the geometry it refers to.
Definition at line 134 of file G4GeometryCellStep.hh.
|
inline |
Returns the current "cell".
Definition at line 128 of file G4GeometryCellStep.hh.
|
inline |
Returns the "cell" the track previously touched.
Definition at line 122 of file G4GeometryCellStep.hh.
|
inline |
Definition at line 116 of file G4GeometryCellStep.hh.
|
inline |
Definition at line 110 of file G4GeometryCellStep.hh.
|
inline |
Functions used by the scoring and importance system to set the cell information.
Definition at line 104 of file G4GeometryCellStep.hh.