Geant4  10.02.p01
ExP01MagneticField Class Reference

Magnetic field for the persistency example. More...

#include <ExP01MagneticField.hh>

+ Inheritance diagram for ExP01MagneticField:
+ Collaboration diagram for ExP01MagneticField:

Public Member Functions

 ExP01MagneticField (G4ThreeVector)
 
 ExP01MagneticField ()
 
 ~ExP01MagneticField ()
 
void SetFieldValue (G4double fieldValue)
 
void SetFieldValue (G4ThreeVector fieldVector)
 
G4ThreeVector GetConstantFieldValue ()
 
- Public Member Functions inherited from G4UniformMagField
 G4UniformMagField (const G4ThreeVector &FieldVector)
 
 G4UniformMagField (G4double vField, G4double vTheta, G4double vPhi)
 
virtual ~G4UniformMagField ()
 
 G4UniformMagField (const G4UniformMagField &p)
 
G4UniformMagFieldoperator= (const G4UniformMagField &p)
 
virtual void GetFieldValue (const G4double yTrack[4], G4double *MagField) const
 
void SetFieldValue (const G4ThreeVector &newFieldValue)
 
G4ThreeVector GetConstantFieldValue () const
 
virtual G4UniformMagFieldClone () const
 
- Public Member Functions inherited from G4MagneticField
 G4MagneticField ()
 
virtual ~G4MagneticField ()
 
 G4MagneticField (const G4MagneticField &r)
 
G4MagneticFieldoperator= (const G4MagneticField &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)
 

Protected Member Functions

G4FieldManagerGetGlobalFieldManager ()
 

Detailed Description

Magnetic field for the persistency example.

Definition at line 50 of file ExP01MagneticField.hh.

Constructor & Destructor Documentation

ExP01MagneticField::ExP01MagneticField ( G4ThreeVector  fieldVector)

Definition at line 51 of file ExP01MagneticField.cc.

References G4FieldManager::CreateChordFinder(), GetGlobalFieldManager(), and G4FieldManager::SetDetectorField().

+ Here is the call graph for this function:

ExP01MagneticField::ExP01MagneticField ( )

Definition at line 42 of file ExP01MagneticField.cc.

References G4FieldManager::CreateChordFinder(), GetGlobalFieldManager(), and G4FieldManager::SetDetectorField().

+ Here is the call graph for this function:

ExP01MagneticField::~ExP01MagneticField ( )

Definition at line 90 of file ExP01MagneticField.cc.

Member Function Documentation

G4ThreeVector ExP01MagneticField::GetConstantFieldValue ( )
G4FieldManager * ExP01MagneticField::GetGlobalFieldManager ( )
protected

Definition at line 99 of file ExP01MagneticField.cc.

References G4TransportationManager::GetFieldManager(), and G4TransportationManager::GetTransportationManager().

Referenced by ExP01MagneticField(), and SetFieldValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExP01MagneticField::SetFieldValue ( G4double  fieldValue)

Definition at line 62 of file ExP01MagneticField.cc.

References G4UniformMagField::SetFieldValue().

Referenced by ExP01DetectorConstruction::SetMagField().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExP01MagneticField::SetFieldValue ( G4ThreeVector  fieldVector)

Definition at line 71 of file ExP01MagneticField.cc.

References GetGlobalFieldManager(), G4FieldManager::SetDetectorField(), and G4UniformMagField::SetFieldValue().

+ Here is the call graph for this function:


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