- Timestamp:
- Nov 5, 2010, 4:08:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/medical/GammaTherapy/include/PrimaryGeneratorAction.hh
r807 r1342 24 24 // ******************************************************************** 25 25 // 26 // $Id: PrimaryGeneratorAction.hh,v 1.6 2010/10/26 12:09:14 vnivanch Exp $ 27 // GEANT4 tag $Name: examples-V09-03-09 $ 28 // 29 26 30 #ifndef PrimaryGeneratorAction_h 27 31 #define PrimaryGeneratorAction_h 1 … … 72 76 73 77 //Get/Set methods 74 void SetBeamX(G4double val) {x0 = val;};75 void SetBeamY(G4double val) {y0 = val;};76 void SetBeamZ(G4double val) {z0 = val;};77 void SetBeamSigmaX(G4double val) {sigmaX = val;};78 void SetBeamSigmaY(G4double val) {sigmaY = val;};79 void SetBeamSigmaZ(G4double val) {sigmaY = val;};80 78 void SetBeamSigmaE(G4double val); 81 79 void SetBeamEnergy(G4double val); 82 void SetBeamMinCosTheta(G4double val) {minCosTheta = val;}; 83 void SetSigmaTheta(G4double val) {sigmaTheta = val;}; 84 void SetVerbose(G4int val) {verbose = val;}; 85 G4ThreeVector GetBeamPosition() const {return position;}; 86 G4ThreeVector GetBeamDirection() const {return direction;}; 87 G4ThreeVector GetBeamEnergy() const {return energy;}; 88 void SetRandom(const G4String& type) {m_gauss = type;}; 80 81 inline void SetBeamX(G4double val) {x0 = val;}; 82 inline void SetBeamY(G4double val) {y0 = val;}; 83 inline void SetBeamZ(G4double val) {z0 = val;}; 84 inline void SetBeamSigmaX(G4double val) {sigmaX = val;}; 85 inline void SetBeamSigmaY(G4double val) {sigmaY = val;}; 86 inline void SetBeamSigmaZ(G4double val) {sigmaY = val;}; 87 inline void SetBeamMinCosTheta(G4double val) {minCosTheta = val;}; 88 inline void SetSigmaTheta(G4double val) {sigmaTheta = val;}; 89 inline void SetVerbose(G4int val) {verbose = val;}; 90 inline void SetRandom(const G4String& type) {m_gauss = type;}; 89 91 90 92 private:
Note: See TracChangeset
for help on using the changeset viewer.