Geant4
10.00.p01
|
#include <MedicalBeam.hh>
Public Types | |
enum | FieldShape { SQUARE =0, CIRCLE, kSQUARE =0, kCIRCLE } |
enum | FieldShape { SQUARE =0, CIRCLE, kSQUARE =0, kCIRCLE } |
Protected Member Functions | |
G4ThreeVector | GenerateBeamDirection () const |
Protected Attributes | |
G4ParticleDefinition * | particle |
G4double | kineticE |
G4ThreeVector | sourcePosition |
G4double | SSD |
FieldShape | fieldShape |
G4double | fieldXY [2] |
G4double | fieldR |
Private Member Functions | |
G4ThreeVector | GenerateBeamDirection () const |
Private Attributes | |
G4ParticleDefinition * | fparticle |
G4double | fkineticE |
G4ThreeVector | fsourcePosition |
G4double | fSSD |
FieldShape | ffieldShape |
G4double | ffieldXY [2] |
G4double | ffieldR |
Definition at line 46 of file MedicalBeam.hh.
Enumerator | |
---|---|
SQUARE | |
CIRCLE | |
kSQUARE | |
kCIRCLE |
Definition at line 42 of file MedicalBeam.hh.
Enumerator | |
---|---|
SQUARE | |
CIRCLE | |
kSQUARE | |
kCIRCLE |
Definition at line 48 of file MedicalBeam.hh.
MedicalBeam::MedicalBeam | ( | ) |
Definition at line 49 of file MedicalBeam.cc.
MedicalBeam::~MedicalBeam | ( | ) |
Definition at line 63 of file MedicalBeam.cc.
MedicalBeam::MedicalBeam | ( | ) |
MedicalBeam::~MedicalBeam | ( | ) |
|
protected |
Definition at line 70 of file MedicalBeam.cc.
References DBL_MAX, fieldR, fieldShape, fieldXY, G4INCL::DeJongSpin::shoot(), sqr(), SQUARE, SSD, and z.
Referenced by GeneratePrimaries().
|
private |
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 112 of file MedicalBeam.cc.
References GenerateBeamDirection(), kineticE, ns, particle, sourcePosition, and sqr().
G4double MedicalBeam::GetFieldR | ( | ) | const |
|
inline |
Definition at line 140 of file MedicalBeam.hh.
References fieldR.
Referenced by BOOST_PYTHON_MODULE().
FieldShape MedicalBeam::GetFieldShape | ( | ) | const |
|
inline |
Definition at line 119 of file MedicalBeam.hh.
References fieldShape.
Referenced by BOOST_PYTHON_MODULE().
G4double MedicalBeam::GetFieldX | ( | ) | const |
|
inline |
Definition at line 131 of file MedicalBeam.hh.
References fieldXY.
Referenced by BOOST_PYTHON_MODULE().
G4double MedicalBeam::GetFieldY | ( | ) | const |
|
inline |
Definition at line 134 of file MedicalBeam.hh.
References fieldXY.
Referenced by BOOST_PYTHON_MODULE().
G4double MedicalBeam::GetKineticE | ( | ) | const |
|
inline |
Definition at line 107 of file MedicalBeam.hh.
References kineticE.
Referenced by BOOST_PYTHON_MODULE().
const G4ParticleDefinition* MedicalBeam::GetParticleDefinition | ( | ) | const |
|
inline |
Definition at line 101 of file MedicalBeam.hh.
References particle.
G4ThreeVector MedicalBeam::GetSourcePosition | ( | ) | const |
|
inline |
Definition at line 113 of file MedicalBeam.hh.
References sourcePosition.
Referenced by BOOST_PYTHON_MODULE().
G4double MedicalBeam::GetSSD | ( | ) | const |
|
inline |
Definition at line 125 of file MedicalBeam.hh.
References SSD.
Referenced by BOOST_PYTHON_MODULE().
void MedicalBeam::SetFieldR | ( | G4double | r | ) |
|
inline |
Definition at line 137 of file MedicalBeam.hh.
References fieldR.
Referenced by BOOST_PYTHON_MODULE().
void MedicalBeam::SetFieldShape | ( | FieldShape | shape | ) |
|
inline |
Definition at line 116 of file MedicalBeam.hh.
References fieldShape.
Referenced by BOOST_PYTHON_MODULE().
Definition at line 128 of file MedicalBeam.hh.
References fieldXY.
void MedicalBeam::SetKineticE | ( | G4double | e | ) |
|
inline |
Definition at line 104 of file MedicalBeam.hh.
References kineticE.
Referenced by BOOST_PYTHON_MODULE().
void MedicalBeam::SetParticleDefinition | ( | G4ParticleDefinition * | pd | ) |
|
inline |
Definition at line 98 of file MedicalBeam.hh.
References particle.
void MedicalBeam::SetSourcePosition | ( | const G4ThreeVector & | pos | ) |
|
inline |
Definition at line 110 of file MedicalBeam.hh.
References pos, and sourcePosition.
Referenced by BOOST_PYTHON_MODULE().
void MedicalBeam::SetSSD | ( | G4double | ssd | ) |
|
inline |
Definition at line 122 of file MedicalBeam.hh.
References SSD.
Referenced by BOOST_PYTHON_MODULE().
|
private |
Definition at line 84 of file MedicalBeam.hh.
|
private |
Definition at line 82 of file MedicalBeam.hh.
|
private |
Definition at line 83 of file MedicalBeam.hh.
|
protected |
Definition at line 58 of file MedicalBeam.hh.
Referenced by GenerateBeamDirection(), GetFieldR(), and SetFieldR().
|
protected |
Definition at line 56 of file MedicalBeam.hh.
Referenced by GenerateBeamDirection(), GetFieldShape(), and SetFieldShape().
|
protected |
Definition at line 57 of file MedicalBeam.hh.
Referenced by GenerateBeamDirection(), GetFieldX(), GetFieldY(), MedicalBeam(), and SetFieldXY().
|
private |
Definition at line 78 of file MedicalBeam.hh.
|
private |
Definition at line 77 of file MedicalBeam.hh.
|
private |
Definition at line 79 of file MedicalBeam.hh.
|
private |
Definition at line 81 of file MedicalBeam.hh.
|
protected |
Definition at line 52 of file MedicalBeam.hh.
Referenced by GeneratePrimaries(), GetKineticE(), and SetKineticE().
|
protected |
Definition at line 51 of file MedicalBeam.hh.
Referenced by GeneratePrimaries(), GetParticleDefinition(), and SetParticleDefinition().
|
protected |
Definition at line 53 of file MedicalBeam.hh.
Referenced by GeneratePrimaries(), GetSourcePosition(), and SetSourcePosition().
|
protected |
Definition at line 55 of file MedicalBeam.hh.
Referenced by GenerateBeamDirection(), GetSSD(), and SetSSD().