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());
Definition of the F04SimpleSolenoid class.
G4AffineTransform fGlobal2local
G4LogicalVolume * fVolume
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const
F04SimpleSolenoid(G4double, G4double, G4LogicalVolume *, G4ThreeVector)
Default constructor.
Definition of the F04GlobalField class.
G4VSolid * GetSolid() const
G4bool IsOutside(G4ThreeVector &local) const
IsOutside() returns true when outside the solenoid.
double B(double temperature)
G4bool IsWithin(G4ThreeVector &local) const
IsWithin() returns true when inside the solenoid.