Geant4  10.02.p02
EMField Class Reference

#include <EMField.hh>

+ Inheritance diagram for EMField:
+ Collaboration diagram for EMField:

Public Member Functions

 EMField ()
 
void GetFieldValue (const double Point[4], double *Bfield) const
 
G4bool DoesFieldChangeEnergy () const
 
- Public Member Functions inherited from G4ElectroMagneticField
 G4ElectroMagneticField ()
 
virtual ~G4ElectroMagneticField ()
 
 G4ElectroMagneticField (const G4ElectroMagneticField &r)
 
G4ElectroMagneticFieldoperator= (const G4ElectroMagneticField &p)
 
- Public Member Functions inherited from G4Field
 G4Field (G4bool gravityOn=false)
 
 G4Field (const G4Field &)
 
virtual ~G4Field ()
 
G4Fieldoperator= (const G4Field &p)
 
G4bool IsGravityActive () const
 
void SetGravityActive (G4bool OnOffFlag)
 
virtual G4FieldClone () const
 

Detailed Description

Definition at line 41 of file EMField.hh.

Constructor & Destructor Documentation

EMField::EMField ( )

Definition at line 38 of file EMField.cc.

Member Function Documentation

G4bool EMField::DoesFieldChangeEnergy ( ) const
inlinevirtual

Implements G4ElectroMagneticField.

Definition at line 53 of file EMField.hh.

void EMField::GetFieldValue ( const double  Point[4],
double *  Bfield 
) const
virtual

Implements G4ElectroMagneticField.

Definition at line 42 of file EMField.cc.

References a0, c0, c1, c2, D(), deg, m, micrometer, mm, P0, P1, P2, tesla, volt, x, and z.

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: