G4MagneticField Class Reference

#include <G4MagneticField.hh>

Inheritance diagram for G4MagneticField:

G4ElectroMagneticField G4Field G4CachedMagneticField G4DELPHIMagField G4HarmonicPolMagField G4KM_DummyField G4LineCurrentMagField G4QuadrupoleMagField G4UniformMagField

Public Member Functions

 G4MagneticField ()
virtual ~G4MagneticField ()
 G4MagneticField (const G4MagneticField &r)
G4MagneticFieldoperator= (const G4MagneticField &p)
G4bool DoesFieldChangeEnergy () const
virtual void GetFieldValue (const G4double Point[4], G4double *Bfield) const =0

Detailed Description

Definition at line 46 of file G4MagneticField.hh.


Constructor & Destructor Documentation

G4MagneticField::G4MagneticField (  ) 

Definition at line 33 of file G4MagneticField.cc.

00034   : G4ElectroMagneticField()
00035 {
00036 }

G4MagneticField::~G4MagneticField (  )  [virtual]

Definition at line 38 of file G4MagneticField.cc.

00039 {
00040 }

G4MagneticField::G4MagneticField ( const G4MagneticField r  ) 

Definition at line 42 of file G4MagneticField.cc.

00043   : G4ElectroMagneticField( MagField )
00044 {
00045 }


Member Function Documentation

G4bool G4MagneticField::DoesFieldChangeEnergy (  )  const [inline, virtual]

Implements G4ElectroMagneticField.

Definition at line 58 of file G4MagneticField.hh.

00058 { return false; }

virtual void G4MagneticField::GetFieldValue ( const G4double  Point[4],
G4double Bfield 
) const [pure virtual]

Implements G4ElectroMagneticField.

Implemented in G4CachedMagneticField, and G4UniformMagField.

Referenced by G4CachedMagneticField::GetFieldValue().

G4MagneticField & G4MagneticField::operator= ( const G4MagneticField p  ) 

Definition at line 47 of file G4MagneticField.cc.

00048 {
00049   if (&p == this) return *this; 
00050   *this = p; 
00051   return *this;
00052 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:28 2013 for Geant4 by  doxygen 1.4.7