66 G4double Bz = (fB2-fB1) * std::abs(local.
z())/(length/2.) + fB1;
68 if (fHalf) {
if (local.
z() >= 0.) Bz = fB1; }
G4bool IsOutside(G4ThreeVector &local) const
IsOutside() returns true when outside the solenoid.
Definition of the F04GlobalField class.
double B(double temperature)
Definition of the F04FocusSolenoid class.
G4AffineTransform fGlobal2local
Definition of the F04SimpleSolenoid class.
F04FocusSolenoid(G4double, G4double, G4double, G4LogicalVolume *, G4ThreeVector)
Default constructor.
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const