31#ifndef F04SimpleSolenoid_h
32#define F04SimpleSolenoid_h 1
34#include "G4LogicalVolume.hh"
69 G4bool
IsOutside(G4ThreeVector& local)
const;
72 G4bool
IsWithin(G4ThreeVector& local)
const;
76 void AddFieldValue(
const G4double point[4], G4double field[6])
const override;
Definition of the F04ElementField class.
Definition of the F04GlobalField class.
G4double GetHeight() override
GetHeight() returns the solenoid diameter.
G4bool IsOutside(G4ThreeVector &local) const
IsOutside() returns true when outside the solenoid.
void AddFieldValue(const G4double point[4], G4double field[6]) const override
AddFieldValue() adds the field for this solenoid into field[].
void SetFringeZ(G4double z)
SetFringeZ(G4double) sets the solenoid fringe field z-length.
~F04SimpleSolenoid() override=default
Destructor.
G4double GetWidth() override
GetWidth() returns the solenoid diameter.
G4double GetFringeZ()
GetFringeZ() returns the solenoid fringe field z-length.
G4double GetLength() override
GetLength() returns the length of the solenoid.
G4bool IsWithin(G4ThreeVector &local) const
IsWithin() returns true when inside the solenoid.