Geant4  10.00.p02
G4UniformGravityField Class Reference

#include <G4UniformGravityField.hh>

+ Inheritance diagram for G4UniformGravityField:
+ Collaboration diagram for G4UniformGravityField:

Public Member Functions

 G4UniformGravityField (const G4ThreeVector FieldVector)
 
 G4UniformGravityField (const G4double gy=-9.81 *CLHEP::m/CLHEP::s/CLHEP::s)
 
virtual ~G4UniformGravityField ()
 
 G4UniformGravityField (const G4UniformGravityField &p)
 
G4UniformGravityFieldoperator= (const G4UniformGravityField &p)
 
G4bool DoesFieldChangeEnergy () const
 
virtual void GetFieldValue (const G4double Point[4], G4double *field) const
 
virtual G4UniformGravityFieldClone () const
 
- 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 [3]
 

Detailed Description

Definition at line 52 of file G4UniformGravityField.hh.

Constructor & Destructor Documentation

G4UniformGravityField::G4UniformGravityField ( const G4ThreeVector  FieldVector)

Definition at line 44 of file G4UniformGravityField.cc.

References fFieldComponents.

Referenced by Clone().

+ Here is the caller graph for this function:

G4UniformGravityField::G4UniformGravityField ( const G4double  gy = -9.81*CLHEP::m/CLHEP::s/CLHEP::s)

Definition at line 53 of file G4UniformGravityField.cc.

References fFieldComponents.

G4UniformGravityField::~G4UniformGravityField ( )
virtual

Definition at line 66 of file G4UniformGravityField.cc.

G4UniformGravityField::G4UniformGravityField ( const G4UniformGravityField p)

Definition at line 70 of file G4UniformGravityField.cc.

References fFieldComponents.

Member Function Documentation

G4UniformGravityField * G4UniformGravityField::Clone ( ) const
virtual

Reimplemented from G4Field.

Definition at line 61 of file G4UniformGravityField.cc.

References fFieldComponents, and G4UniformGravityField().

+ Here is the call graph for this function:

G4bool G4UniformGravityField::DoesFieldChangeEnergy ( ) const
inlinevirtual

Implements G4Field.

Definition at line 68 of file G4UniformGravityField.hh.

void G4UniformGravityField::GetFieldValue ( const G4double  Point[4],
G4double field 
) const
virtual

Implements G4Field.

Definition at line 89 of file G4UniformGravityField.cc.

References fFieldComponents.

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

Definition at line 78 of file G4UniformGravityField.cc.

References fFieldComponents.

Member Data Documentation

G4double G4UniformGravityField::fFieldComponents[3]
private

Definition at line 77 of file G4UniformGravityField.hh.

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


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