![]() |
ACTARSim
ACTAR TPC Simulation Reference Guide
|
Uniform electric and magnetic fields definition
Definition at line 21 of file ActarSimUniformEMField.hh.
Public Member Functions | |
| ActarSimUniformEMField () | |
| Default zero field constructor. More... | |
| ActarSimUniformEMField (const G4ThreeVector magFieldVector, const G4ThreeVector elecFieldVector) | |
| Constructor with initial values for the electric an magnetic fields. More... | |
| ActarSimUniformEMField (const ActarSimUniformEMField &p) | |
| Copy constructor. More... | |
| ~ActarSimUniformEMField () | |
| Destructor. More... | |
| ActarSimUniformEMField | operator= (const ActarSimUniformEMField &p) |
| Operator =. More... | |
| void | SetFieldValue (const G4ThreeVector magFieldVector, const G4ThreeVector elecFieldVector) |
| Set the value of the Global Field to fieldVector along Y. More... | |
| void | SetPureElectricFieldValue (G4ThreeVector fieldVector) |
| Set the value of the Electric Field to fieldVector. More... | |
| void | SetPureMagneticFieldValue (G4ThreeVector fieldVector) |
| Set the value of the Magnetic Field to fieldVector. More... | |
| void | GetFieldValue (const G4double thePoint[4], G4double *theField) const |
| G4ThreeVector | GetMagneticFieldValue () |
| Returns the uniform magnetic field value. More... | |
| G4ThreeVector | GetElectricFieldValue () |
| Returns the uniform electric field value. More... | |
| G4bool | DoesFieldChangeEnergy () const |
Protected Member Functions | |
| G4FieldManager * | GetGlobalFieldManager () |
| Find the global Field Manager. More... | |
Private Attributes | |
| G4double | fieldComponents [6] |
| The EM field: follows the G4ElectroMagneticField convention. More... | |
| G4ChordFinder * | theChordFinder |
| Chord parameter. More... | |
| G4MagIntegratorStepper * | stepper |
| Integrator stepper. More... | |
| G4EqMagElectricField * | equation |
| Equation. More... | |
#include <ActarSimUniformEMField.hh>
Inheritance diagram for ActarSimUniformEMField:
Collaboration diagram for ActarSimUniformEMField:| ActarSimUniformEMField::ActarSimUniformEMField | ( | ) |
Default zero field constructor.
Definition at line 28 of file ActarSimUniformEMField.cc.
| ActarSimUniformEMField::ActarSimUniformEMField | ( | const G4ThreeVector | magFieldVector, |
| const G4ThreeVector | elecFieldVector | ||
| ) |
Constructor with initial values for the electric an magnetic fields.
Definition at line 42 of file ActarSimUniformEMField.cc.
| ActarSimUniformEMField::ActarSimUniformEMField | ( | const ActarSimUniformEMField & | p | ) |
Copy constructor.
Definition at line 56 of file ActarSimUniformEMField.cc.
| ActarSimUniformEMField::~ActarSimUniformEMField | ( | ) |
Destructor.
Definition at line 79 of file ActarSimUniformEMField.cc.
|
inline |
Definition at line 53 of file ActarSimUniformEMField.hh.
| G4ThreeVector ActarSimUniformEMField::GetElectricFieldValue | ( | ) |
Returns the uniform electric field value.
Definition at line 169 of file ActarSimUniformEMField.cc.
Referenced by ActarSimDetectorConstruction::PrintDetectorParameters().
| void ActarSimUniformEMField::GetFieldValue | ( | const G4double | thePoint[4], |
| G4double * | theField | ||
| ) | const |
This is a virtual function in G4ElectroMagneticField to be instanciated here Return as Bfield[0], [1], [2] the magnetic field x, y & z components and as Bfield[3], [4], [5] the electric field x, y & z components
This is a virtual function in G4ElectroMagneticField to be instanciated here: Return as Bfield[0], [1], [2] the magnetic field x, y & z components and as Bfield[3], [4], [5] G4the electric field x, y & z components
Definition at line 143 of file ActarSimUniformEMField.cc.
|
protected |
Find the global Field Manager.
Getting a local pointer to the global field manager.
Definition at line 193 of file ActarSimUniformEMField.cc.
Referenced by ActarSimUniformEMField(), DoesFieldChangeEnergy(), SetFieldValue(), SetPureElectricFieldValue(), SetPureMagneticFieldValue(), and ~ActarSimUniformEMField().
| G4ThreeVector ActarSimUniformEMField::GetMagneticFieldValue | ( | ) |
Returns the uniform magnetic field value.
Definition at line 163 of file ActarSimUniformEMField.cc.
Referenced by ActarSimDetectorConstruction::PrintDetectorParameters().
| ActarSimUniformEMField ActarSimUniformEMField::operator= | ( | const ActarSimUniformEMField & | p | ) |
Operator =.
Definition at line 70 of file ActarSimUniformEMField.cc.
| void ActarSimUniformEMField::SetFieldValue | ( | const G4ThreeVector | magFieldVector, |
| const G4ThreeVector | elecFieldVector | ||
| ) |
Set the value of the Global Field to fieldVector along Y.
Definition at line 85 of file ActarSimUniformEMField.cc.
Referenced by ActarSimUniformEMField(), and ActarSimDetectorConstruction::UpdateEMField().
| void ActarSimUniformEMField::SetPureElectricFieldValue | ( | G4ThreeVector | fieldVector | ) |
Set the value of the Electric Field to fieldVector.
Definition at line 105 of file ActarSimUniformEMField.cc.
| void ActarSimUniformEMField::SetPureMagneticFieldValue | ( | G4ThreeVector | fieldVector | ) |
Set the value of the Magnetic Field to fieldVector.
Definition at line 123 of file ActarSimUniformEMField.cc.
|
private |
Equation.
Definition at line 27 of file ActarSimUniformEMField.hh.
Referenced by ActarSimUniformEMField().
|
private |
The EM field: follows the G4ElectroMagneticField convention.
Definition at line 23 of file ActarSimUniformEMField.hh.
Referenced by ActarSimUniformEMField(), GetElectricFieldValue(), GetFieldValue(), GetMagneticFieldValue(), operator=(), SetFieldValue(), SetPureElectricFieldValue(), and SetPureMagneticFieldValue().
|
private |
Integrator stepper.
Definition at line 26 of file ActarSimUniformEMField.hh.
Referenced by ActarSimUniformEMField().
|
private |
Chord parameter.
Definition at line 25 of file ActarSimUniformEMField.hh.
Referenced by ActarSimUniformEMField().