A vector sum of multiple displaced EM fields.
More...
#include <BDSFieldEMVectorSum.hh>
|
|
| BDSFieldEMVectorSum (const std::vector< BDSFieldEM * > &fieldsIn, const std::vector< G4ThreeVector > &fieldOffsetsIn, const std::vector< double > &timeOffsetsIn, const std::vector< double > &zLengthsIn) |
| |
| virtual void | PushBackField (const G4ThreeVector &positionOffset, double timeOffset, double zLength, BDSFieldEM *emfield) |
| |
| virtual std::pair< G4ThreeVector, G4ThreeVector > | GetField (const G4ThreeVector &position, const G4double t=0) const |
| | Calculate the field value.
|
| |
| | BDSFieldEM () |
| |
| | BDSFieldEM (G4Transform3D transformIn) |
| |
| virtual G4bool | TimeVarying () const |
| |
| virtual void | GetFieldValue (const G4double point[4], G4double *field) const |
| |
| virtual std::pair< G4ThreeVector, G4ThreeVector > | GetFieldTransformed (const G4ThreeVector &position, const G4double t) const |
| | Get the field value after applying transform for local offset.
|
| |
| virtual void | SetTransform (const G4Transform3D &transformIn) |
| |
| virtual G4bool | DoesFieldChangeEnergy () const |
| | Required overload by Geant4.
|
| |
| void | SetModulator (BDSModulator *modulatorIn) |
| | Set the optional modulator.
|
| |
| G4bool | FiniteStrength () const |
| | Accessor.
|
| |
A vector sum of multiple displaced EM fields.
- Author
- Laurie Nevay
Definition at line 36 of file BDSFieldEMVectorSum.hh.
◆ BDSFieldEMVectorSum()
| BDSFieldEMVectorSum::BDSFieldEMVectorSum |
( |
| ) |
|
◆ ~BDSFieldEMVectorSum()
| BDSFieldEMVectorSum::~BDSFieldEMVectorSum |
( |
| ) |
|
|
virtual |
◆ GetField()
| std::pair< G4ThreeVector, G4ThreeVector > BDSFieldEMVectorSum::GetField |
( |
const G4ThreeVector & |
position, |
|
|
const G4double |
t = 0 |
|
) |
| const |
|
virtual |
◆ PushBackField()
| void BDSFieldEMVectorSum::PushBackField |
( |
const G4ThreeVector & |
positionOffset, |
|
|
double |
timeOffset, |
|
|
double |
zLength, |
|
|
BDSFieldEM * |
emfield |
|
) |
| |
|
virtual |
◆ fieldOffsets
| std::vector<G4ThreeVector> BDSFieldEMVectorSum::fieldOffsets |
|
private |
◆ fields
| std::vector<BDSFieldEM*> BDSFieldEMVectorSum::fields |
|
private |
◆ timeOffsets
| std::vector<G4double> BDSFieldEMVectorSum::timeOffsets |
|
private |
◆ zLengthsOver2
| std::vector<double> BDSFieldEMVectorSum::zLengthsOver2 |
|
private |
The documentation for this class was generated from the following files: