32 #ifndef F04SimpleSolenoid_h
33 #define F04SimpleSolenoid_h 1
G4bool IsOutside(G4ThreeVector &local) const
IsOutside() returns true when outside the solenoid.
virtual G4double GetHeight()
GetHeight() returns the solenoid diameter.
CLHEP::Hep3Vector G4ThreeVector
Definition of the F04GlobalField class.
Definition of the F04ElementField class.
F04SimpleSolenoid(G4double, G4double, G4LogicalVolume *, G4ThreeVector)
Default constructor.
virtual G4double GetLength()
GetLength() returns the length of the solenoid.
G4bool IsWithin(G4ThreeVector &local) const
IsWithin() returns true when inside the solenoid.
G4double GetFringeZ()
GetFringeZ() returns the solenoid fringe field z-length.
void SetFringeZ(G4double z)
SetFringeZ(G4double) sets the solenoid fringe field z-length.
virtual ~F04SimpleSolenoid()
Destructor.
virtual G4double GetWidth()
GetWidth() returns the solenoid diameter.
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...