68 if (
fHalf) {
if (local.z() >= 0.) Bz =
fB1; }
G4bool IsOutside(G4ThreeVector &local) const
IsOutside() returns true when outside the solenoid.
CLHEP::Hep3Vector G4ThreeVector
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
AddFieldValue() adds the field for this solenoid into field[]. point[] is in global coordinates...