Geant4-11
|
#include <MedicalBeam.hh>
Public Types | |
enum | FieldShape { SQUARE =0 , CIRCLE } |
Public Member Functions | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
G4double | GetFieldR () const |
FieldShape | GetFieldShape () const |
G4double | GetFieldX () const |
G4double | GetFieldY () const |
G4double | GetKineticE () const |
const G4ParticleDefinition * | GetParticleDefinition () const |
G4ThreeVector | GetSourcePosition () const |
G4double | GetSSD () const |
MedicalBeam () | |
void | SetFieldR (G4double r) |
void | SetFieldShape (FieldShape shape) |
void | SetFieldXY (G4double fx, G4double fy) |
void | SetKineticE (G4double e) |
void | SetParticleDefinition (G4ParticleDefinition *pd) |
void | SetSourcePosition (const G4ThreeVector &pos) |
void | SetSSD (G4double ssd) |
~MedicalBeam () | |
Protected Member Functions | |
G4ThreeVector | GenerateBeamDirection () const |
Protected Attributes | |
G4double | fieldR |
FieldShape | fieldShape |
G4double | fieldXY [2] |
G4double | kineticE |
G4ParticleDefinition * | particle |
G4ThreeVector | sourcePosition |
G4double | SSD |
Definition at line 45 of file MedicalBeam.hh.
MedicalBeam::MedicalBeam | ( | ) |
Definition at line 48 of file MedicalBeam.cc.
MedicalBeam::~MedicalBeam | ( | ) |
Definition at line 62 of file MedicalBeam.cc.
|
protected |
Definition at line 69 of file MedicalBeam.cc.
References DBL_MAX, G4INCL::DeJongSpin::shoot(), sqr(), SQUARE, and twopi.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 114 of file MedicalBeam.cc.
References ns, sqr(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inline |
Definition at line 139 of file MedicalBeam.hh.
References fieldR.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 118 of file MedicalBeam.hh.
References fieldShape.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 130 of file MedicalBeam.hh.
References fieldXY.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 133 of file MedicalBeam.hh.
References fieldXY.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 106 of file MedicalBeam.hh.
References kineticE.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
|
inline |
Definition at line 112 of file MedicalBeam.hh.
References sourcePosition.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
|
inline |
Definition at line 136 of file MedicalBeam.hh.
References fieldR.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 115 of file MedicalBeam.hh.
References fieldShape.
Referenced by BOOST_PYTHON_MODULE().
Definition at line 127 of file MedicalBeam.hh.
References fieldXY.
|
inline |
Definition at line 103 of file MedicalBeam.hh.
References kineticE.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
|
inline |
Definition at line 109 of file MedicalBeam.hh.
References pos, and sourcePosition.
Referenced by BOOST_PYTHON_MODULE().
|
inline |
Definition at line 121 of file MedicalBeam.hh.
References SSD.
Referenced by BOOST_PYTHON_MODULE().
|
protected |
Definition at line 57 of file MedicalBeam.hh.
Referenced by GetFieldR(), and SetFieldR().
|
protected |
Definition at line 55 of file MedicalBeam.hh.
Referenced by GetFieldShape(), and SetFieldShape().
|
protected |
Definition at line 56 of file MedicalBeam.hh.
Referenced by GetFieldX(), GetFieldY(), MedicalBeam(), and SetFieldXY().
|
protected |
Definition at line 51 of file MedicalBeam.hh.
Referenced by GetKineticE(), mcscore.MCParticle::printout(), and SetKineticE().
|
protected |
Definition at line 50 of file MedicalBeam.hh.
Referenced by emcalc_gui.MainWindow::cb_select_particle(), emcalc_gui.MainWindow::cb_show_plot(), GetParticleDefinition(), and SetParticleDefinition().
|
protected |
Definition at line 52 of file MedicalBeam.hh.
Referenced by GetSourcePosition(), and SetSourcePosition().
|
protected |
Definition at line 54 of file MedicalBeam.hh.