#include <EDepSimUniformField.hh>
Definition at line 52 of file EDepSimUniformField.hh.
EDepSim::UniformField::UniformField |
( |
| ) |
|
EDepSim::UniformField::UniformField |
( |
const G4ThreeVector |
bField | ) |
|
Define a uniform magnetic field. The electric field will be set to zero. This is equivalent to G4UniformMagneticField().
Definition at line 62 of file EDepSimUniformField.cc.
EDepSim::UniformField::UniformField |
( |
const G4ThreeVector |
bField, |
|
|
const G4ThreeVector |
eField |
|
) |
| |
EDepSim::UniformField::~UniformField |
( |
| ) |
|
|
virtual |
EDepSim::UniformField::UniformField |
( |
const UniformField & |
p | ) |
|
void EDepSim::UniformField::GetFieldValue |
( |
const G4double |
pos[4], |
|
|
G4double * |
field |
|
) |
| const |
|
virtual |
Provide the field value at a point [x,y,z,t]. The field follows the G4 standard so that the magnetic field is in field[0], field[1], and field[2] while the electric field is in field[3], field[3], and field[5].
Definition at line 96 of file EDepSimUniformField.cc.
99 for (G4int i=0; i<6; ++i) {
void EDepSim::UniformField::SetBField |
( |
const G4ThreeVector |
bField | ) |
|
|
virtual |
void EDepSim::UniformField::SetEField |
( |
const G4ThreeVector |
eField | ) |
|
|
virtual |
G4double EDepSim::UniformField::fFieldComponents[6] |
|
private |
The field components follows the G4 standard so that the magnetic field is in [0], [1], and [2] while the electric field is in [3], [4], and [5].
Definition at line 85 of file EDepSimUniformField.hh.
The documentation for this class was generated from the following files: