80 G4double r = std::sqrt(local.x()*local.x()+local.y()*local.y());
90 G4double r = std::sqrt(local.x()*local.x()+local.y()*local.y());
G4bool IsOutside(G4ThreeVector &local) const
IsOutside() returns true when outside the solenoid.
CLHEP::Hep3Vector G4ThreeVector
Definition of the F04GlobalField class.
G4VSolid * GetSolid() const
double B(double temperature)
F04SimpleSolenoid(G4double, G4double, G4LogicalVolume *, G4ThreeVector)
Default constructor.
G4bool IsWithin(G4ThreeVector &local) const
IsWithin() returns true when inside the solenoid.
G4AffineTransform fGlobal2local
Definition of the F04SimpleSolenoid class.
G4LogicalVolume * fVolume
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...