Geant4  10.01.p03
F02ElectricFieldSetup Class Reference

A class for control of the Electric Field of the detector. More...

#include <F02ElectricFieldSetup.hh>

+ Collaboration diagram for F02ElectricFieldSetup:

Public Member Functions

 F02ElectricFieldSetup (G4ThreeVector)
 
 F02ElectricFieldSetup ()
 
virtual ~F02ElectricFieldSetup ()
 
void SetStepperType (G4int i)
 
void SetStepper ()
 
void SetMinStep (G4double s)
 
void UpdateField ()
 
void SetFieldValue (G4ThreeVector fieldVector)
 
void SetFieldValue (G4double fieldValue)
 
G4ThreeVector GetConstantFieldValue ()
 

Protected Member Functions

G4FieldManagerGetGlobalFieldManager ()
 

Private Attributes

G4FieldManagerfFieldManager
 
G4ChordFinderfChordFinder
 
G4EqMagElectricFieldfEquation
 
G4ElectricFieldfEMfield
 
G4ThreeVector fElFieldValue
 
G4MagIntegratorStepperfStepper
 
G4MagInt_DriverfIntgrDriver
 
G4int fStepperType
 
G4double fMinStep
 
F02FieldMessengerfFieldMessenger
 

Detailed Description

A class for control of the Electric Field of the detector.

The field for this case is uniform. It is simply a 'setup' class that creates the field and necessary other parts

Definition at line 57 of file F02ElectricFieldSetup.hh.

Constructor & Destructor Documentation

F02ElectricFieldSetup::F02ElectricFieldSetup ( G4ThreeVector  fieldVector)

Definition at line 93 of file F02ElectricFieldSetup.cc.

References fEMfield, fEquation, fFieldManager, fFieldMessenger, GetGlobalFieldManager(), and UpdateField().

+ Here is the call graph for this function:

F02ElectricFieldSetup::F02ElectricFieldSetup ( )

Definition at line 71 of file F02ElectricFieldSetup.cc.

References cm, fEMfield, fEquation, fFieldManager, fFieldMessenger, GetGlobalFieldManager(), kilovolt, and UpdateField().

+ Here is the call graph for this function:

F02ElectricFieldSetup::~F02ElectricFieldSetup ( )
virtual

Definition at line 115 of file F02ElectricFieldSetup.cc.

References fChordFinder, fEMfield, fEquation, fFieldMessenger, and fStepper.

Member Function Documentation

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

Definition at line 243 of file F02ElectricFieldSetup.cc.

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

Referenced by F02ElectricFieldSetup(), and SetFieldValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02ElectricFieldSetup::SetFieldValue ( G4ThreeVector  fieldVector)

Definition at line 218 of file F02ElectricFieldSetup.cc.

References fEMfield, fEquation, GetGlobalFieldManager(), G4FieldManager::SetDetectorField(), and G4EquationOfMotion::SetFieldObj().

Referenced by SetFieldValue(), and F02FieldMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void F02ElectricFieldSetup::SetFieldValue ( G4double  fieldValue)

Definition at line 207 of file F02ElectricFieldSetup.cc.

References SetFieldValue().

+ Here is the call graph for this function:

void F02ElectricFieldSetup::SetMinStep ( G4double  s)
inline

Definition at line 69 of file F02ElectricFieldSetup.hh.

References fMinStep, and s.

Referenced by F02FieldMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F02ElectricFieldSetup::SetStepper ( )

Definition at line 150 of file F02ElectricFieldSetup.cc.

References fEquation, fStepper, fStepperType, G4cout, and G4endl.

Referenced by UpdateField().

+ Here is the caller graph for this function:

void F02ElectricFieldSetup::SetStepperType ( G4int  i)
inline

Definition at line 65 of file F02ElectricFieldSetup.hh.

References fStepperType.

Referenced by F02FieldMessenger::SetNewValue().

+ Here is the caller graph for this function:

void F02ElectricFieldSetup::UpdateField ( )

Definition at line 126 of file F02ElectricFieldSetup.cc.

References fChordFinder, fEMfield, fFieldManager, fIntgrDriver, fMinStep, fStepper, G4cout, G4endl, G4MagIntegratorStepper::GetNumberOfVariables(), mm, G4FieldManager::SetChordFinder(), G4FieldManager::SetDetectorField(), and SetStepper().

Referenced by F02ElectricFieldSetup(), and F02FieldMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ChordFinder* F02ElectricFieldSetup::fChordFinder
private

Definition at line 87 of file F02ElectricFieldSetup.hh.

Referenced by UpdateField(), and ~F02ElectricFieldSetup().

G4ThreeVector F02ElectricFieldSetup::fElFieldValue
private

Definition at line 93 of file F02ElectricFieldSetup.hh.

G4ElectricField* F02ElectricFieldSetup::fEMfield
private
G4EqMagElectricField* F02ElectricFieldSetup::fEquation
private
G4FieldManager* F02ElectricFieldSetup::fFieldManager
private

Definition at line 85 of file F02ElectricFieldSetup.hh.

Referenced by F02ElectricFieldSetup(), and UpdateField().

F02FieldMessenger* F02ElectricFieldSetup::fFieldMessenger
private

Definition at line 102 of file F02ElectricFieldSetup.hh.

Referenced by F02ElectricFieldSetup(), and ~F02ElectricFieldSetup().

G4MagInt_Driver* F02ElectricFieldSetup::fIntgrDriver
private

Definition at line 96 of file F02ElectricFieldSetup.hh.

Referenced by UpdateField().

G4double F02ElectricFieldSetup::fMinStep
private

Definition at line 100 of file F02ElectricFieldSetup.hh.

Referenced by SetMinStep(), and UpdateField().

G4MagIntegratorStepper* F02ElectricFieldSetup::fStepper
private

Definition at line 95 of file F02ElectricFieldSetup.hh.

Referenced by SetStepper(), UpdateField(), and ~F02ElectricFieldSetup().

G4int F02ElectricFieldSetup::fStepperType
private

Definition at line 98 of file F02ElectricFieldSetup.hh.

Referenced by SetStepper(), and SetStepperType().


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