18#ifndef BDSFIELDGABORLENS_H
19#define BDSFIELDGABORLENS_H
21#include "BDSFieldEM.hh"
24#include "G4ThreeVector.hh"
44 virtual std::pair<G4ThreeVector, G4ThreeVector>
GetField(
const G4ThreeVector& position,
45 const G4double t)
const;
52 static const G4double
c;
Interface for BDSIM electro-magnetic fields that may or may not be local.
Gabor lens electromagnetic field.
G4double anodeRadius
anode radius
static const G4double c
speed of light.
BDSFieldGaborLens()
Private constructor to force use of provided one.
virtual std::pair< G4ThreeVector, G4ThreeVector > GetField(const G4ThreeVector &position, const G4double t) const
Accessor to get B and E field.
G4double kg
gabor lens kg strength
G4double plasmaEfield
plasma e-field strength
G4double bfieldMag
solenoid-equivalent field strength
static const G4double pmass
proton mass.
Efficient storage of magnet strengths.