#include <boost/python.hpp>
#include "MedicalBeam.hh"
#include "G4ParticleTable.hh"
#include "G4RunManager.hh"
Go to the source code of this file.
Definition at line 114 of file pyMedicalBeam.cc.
115 class_<MedicalBeam, MedicalBeam*,
116 bases<G4VUserPrimaryGeneratorAction> >
117 (
"MedicalBeam",
"primary generator action with medical beam")
154 enum_<MedicalBeam::FieldShape>(
"FieldShape")
161 return_value_policy<reference_existing_object>());
G4double GetFieldR() const
void SetParticleByName(MedicalBeam *beam, const std::string &pname)
std::string GetParticleByName(MedicalBeam *beam)
void SetSSD(G4double ssd)
G4double GetKineticE() const
list f_GetFieldXY(MedicalBeam *beam)
FieldShape GetFieldShape() const
G4double GetFieldY() const
void SetFieldR(G4double r)
void SetSourcePosition(const G4ThreeVector &pos)
const XML_Char int const XML_Char * value
G4ThreeVector GetSourcePosition() const
void SetFieldShape(FieldShape shape)
void SetKineticE(G4double e)
void f_SetFieldXY(MedicalBeam *beam, const list &listXY)
G4double GetFieldX() const