Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/geometry/magneticfield/include/G4EqEMFieldWithSpin.hh

    r850 r921  
    2525//
    2626//
    27 // $Id: G4EqEMFieldWithSpin.hh,v 1.1 2007/08/30 23:34:01 gum Exp $
    28 // GEANT4 tag $Name: HEAD $
     27// $Id: G4EqEMFieldWithSpin.hh,v 1.3 2008/11/14 13:37:09 gcosmo Exp $
     28// GEANT4 tag $Name: geant4-09-02-cand-01 $
    2929//
    3030//
     
    4444
    4545#include "G4EquationOfMotion.hh"
    46 #include "G4ElectroMagneticField.hh"
     46
     47class G4ElectroMagneticField;
    4748
    4849class G4EqEMFieldWithSpin : public G4EquationOfMotion
     
    5253    G4EqEMFieldWithSpin(G4ElectroMagneticField *emField );
    5354
    54     ~G4EqEMFieldWithSpin() {;}
     55    ~G4EqEMFieldWithSpin();
    5556
    5657    void  SetChargeMomentumMass(G4double particleCharge, // in e+ units
     
    6465      // calculates the value of the derivative dydx.
    6566
     67    inline void SetAnomaly(G4double a) { anomaly = a; }
     68    inline G4double GetAnomaly() const { return anomaly; }
     69      // set/get magnetic anomaly
     70
    6671  private:
    6772
    68     G4double        fElectroMagCof ;
    69     G4double        fMassCof;
     73    G4double fElectroMagCof ;
     74    G4double fMassCof;
    7075
    7176    G4double omegac;
     
    7883};
    7984
    80 #endif
     85#endif /* G4EQEMFIELDWITHSPIN */
Note: See TracChangeset for help on using the changeset viewer.