19#ifndef BDSFIELDGABORLENS_H
20#define BDSFIELDGABORLENS_H
22#include "BDSFieldEM.hh"
25#include "G4ThreeVector.hh"
45 virtual std::pair<G4ThreeVector, G4ThreeVector>
GetField(
const G4ThreeVector& position,
46 const G4double t)
const;
53 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.