Ignore:
Timestamp:
Nov 5, 2010, 4:08:39 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/medical/GammaTherapy/include/PrimaryGeneratorAction.hh

    r807 r1342  
    2424// ********************************************************************
    2525//
     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
    2630#ifndef PrimaryGeneratorAction_h
    2731#define PrimaryGeneratorAction_h 1
     
    7276
    7377  //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;};
    8078  void SetBeamSigmaE(G4double val);
    8179  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;};
    8991
    9092private:
Note: See TracChangeset for help on using the changeset viewer.