Geant4  10.01.p02
G4UniformElectricField Class Reference

#include <G4UniformElectricField.hh>

+ Inheritance diagram for G4UniformElectricField:
+ Collaboration diagram for G4UniformElectricField:

Public Member Functions

 G4UniformElectricField (const G4ThreeVector FieldVector)
 
 G4UniformElectricField (G4double vField, G4double vTheta, G4double vPhi)
 
virtual ~G4UniformElectricField ()
 
 G4UniformElectricField (const G4UniformElectricField &p)
 
G4UniformElectricFieldoperator= (const G4UniformElectricField &p)
 
virtual void GetFieldValue (const G4double pos[4], G4double *field) const
 
virtual G4UniformElectricFieldClone () const
 
- Public Member Functions inherited from G4ElectricField
 G4ElectricField ()
 
virtual ~G4ElectricField ()
 
 G4ElectricField (const G4ElectricField &r)
 
G4ElectricFieldoperator= (const G4ElectricField &p)
 
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)
 

Private Attributes

G4double fFieldComponents [6]
 

Detailed Description

Definition at line 47 of file G4UniformElectricField.hh.

Constructor & Destructor Documentation

G4UniformElectricField::G4UniformElectricField ( const G4ThreeVector  FieldVector)

Definition at line 40 of file G4UniformElectricField.cc.

References fFieldComponents.

Referenced by Clone().

+ Here is the caller graph for this function:

G4UniformElectricField::G4UniformElectricField ( G4double  vField,
G4double  vTheta,
G4double  vPhi 
)

Definition at line 50 of file G4UniformElectricField.cc.

References FatalException, fFieldComponents, G4Exception(), and G4INCL::Math::pi.

+ Here is the call graph for this function:

G4UniformElectricField::~G4UniformElectricField ( )
virtual

Definition at line 73 of file G4UniformElectricField.cc.

G4UniformElectricField::G4UniformElectricField ( const G4UniformElectricField p)

Definition at line 77 of file G4UniformElectricField.cc.

References fFieldComponents.

Member Function Documentation

G4UniformElectricField * G4UniformElectricField::Clone ( ) const
virtual

Reimplemented from G4Field.

Definition at line 68 of file G4UniformElectricField.cc.

References fFieldComponents, and G4UniformElectricField().

+ Here is the call graph for this function:

void G4UniformElectricField::GetFieldValue ( const G4double  pos[4],
G4double field 
) const
virtual

Implements G4ElectricField.

Definition at line 94 of file G4UniformElectricField.cc.

References fFieldComponents.

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

Definition at line 85 of file G4UniformElectricField.cc.

References fFieldComponents.

Member Data Documentation

G4double G4UniformElectricField::fFieldComponents[6]
private

Definition at line 69 of file G4UniformElectricField.hh.

Referenced by Clone(), G4UniformElectricField(), GetFieldValue(), and operator=().


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