Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ElectricField Class Referenceabstract

#include <G4ElectricField.hh>

Inheritance diagram for G4ElectricField:
Collaboration diagram for G4ElectricField:

Public Member Functions

 G4ElectricField ()
 
virtual ~G4ElectricField ()
 
 G4ElectricField (const G4ElectricField &r)
 
G4ElectricFieldoperator= (const G4ElectricField &p)
 
G4bool DoesFieldChangeEnergy () const
 
virtual void GetFieldValue (const G4double Point[4], G4double *Bfield) const =0
 
- 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 45 of file G4ElectricField.hh.

Constructor & Destructor Documentation

G4ElectricField::G4ElectricField ( )

Definition at line 33 of file G4ElectricField.cc.

34 {
35 }
G4ElectricField::~G4ElectricField ( )
virtual

Definition at line 37 of file G4ElectricField.cc.

38 {
39 }
G4ElectricField::G4ElectricField ( const G4ElectricField r)

Definition at line 41 of file G4ElectricField.cc.

43 {
44 }
const char * p
Definition: xmltok.h:285

Member Function Documentation

G4bool G4ElectricField::DoesFieldChangeEnergy ( ) const
inlinevirtual

Implements G4ElectroMagneticField.

Definition at line 57 of file G4ElectricField.hh.

57 { return true; }
virtual void G4ElectricField::GetFieldValue ( const G4double  Point[4],
G4double Bfield 
) const
pure virtual

Implements G4ElectroMagneticField.

Implemented in G4UniformElectricField.

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

Definition at line 46 of file G4ElectricField.cc.

47 {
48  if (&p == this) return *this;
50  return *this;
51 }
G4ElectroMagneticField & operator=(const G4ElectroMagneticField &p)

Here is the call graph for this function:

Here is the caller graph for this function:


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