Geant4  10.02.p02
G4QuadrupoleMagField Class Reference

#include <G4QuadrupoleMagField.hh>

+ Inheritance diagram for G4QuadrupoleMagField:
+ Collaboration diagram for G4QuadrupoleMagField:

Public Member Functions

 G4QuadrupoleMagField (G4double pGradient)
 
 G4QuadrupoleMagField (G4double pGradient, G4ThreeVector pOrigin, G4RotationMatrix *pMatrix)
 
 ~G4QuadrupoleMagField ()
 
void GetFieldValue (const G4double yTrack[], G4double B[]) const
 
G4FieldClone () const
 
- Public Member Functions inherited from G4MagneticField
 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
 
- 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 fGradient
 
G4ThreeVector fOrigin
 
G4RotationMatrixfpMatrix
 

Detailed Description

Definition at line 54 of file G4QuadrupoleMagField.hh.

Constructor & Destructor Documentation

G4QuadrupoleMagField::G4QuadrupoleMagField ( G4double  pGradient)

Definition at line 36 of file G4QuadrupoleMagField.cc.

References fGradient, fOrigin, fpMatrix, and IdentityMatrix.

Referenced by Clone().

+ Here is the caller graph for this function:

G4QuadrupoleMagField::G4QuadrupoleMagField ( G4double  pGradient,
G4ThreeVector  pOrigin,
G4RotationMatrix pMatrix 
)

Definition at line 46 of file G4QuadrupoleMagField.cc.

References fGradient, fOrigin, and fpMatrix.

G4QuadrupoleMagField::~G4QuadrupoleMagField ( )

Definition at line 62 of file G4QuadrupoleMagField.cc.

Member Function Documentation

G4Field * G4QuadrupoleMagField::Clone ( ) const
virtual

Reimplemented from G4Field.

Definition at line 55 of file G4QuadrupoleMagField.cc.

References fGradient, fOrigin, fpMatrix, and G4QuadrupoleMagField().

+ Here is the call graph for this function:

void G4QuadrupoleMagField::GetFieldValue ( const G4double  yTrack[],
G4double  B[] 
) const

Definition at line 70 of file G4QuadrupoleMagField.cc.

References fGradient, fOrigin, and fpMatrix.

Member Data Documentation

G4double G4QuadrupoleMagField::fGradient
private

Definition at line 70 of file G4QuadrupoleMagField.hh.

Referenced by Clone(), G4QuadrupoleMagField(), and GetFieldValue().

G4ThreeVector G4QuadrupoleMagField::fOrigin
private

Definition at line 71 of file G4QuadrupoleMagField.hh.

Referenced by Clone(), G4QuadrupoleMagField(), and GetFieldValue().

G4RotationMatrix* G4QuadrupoleMagField::fpMatrix
private

Definition at line 72 of file G4QuadrupoleMagField.hh.

Referenced by Clone(), G4QuadrupoleMagField(), and GetFieldValue().


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