39#ifndef G4T_QUADRUPOLE_MAGFIELD_HH
40#define G4T_QUADRUPOLE_MAGFIELD_HH
54 fGradient = pGradient ;
56 fpMatrix = &IdentityMatrix;
63 fGradient = pGradient ;
79 fpMatrix->
colX() * r_global,
80 fpMatrix->
colY() * r_global,
81 fpMatrix->
colZ() * r_global);
84 fGradient * r_local.
y(),
85 fGradient * r_local.
x(),
G4double B(G4double temperature)
CLHEP::Hep3Vector G4ThreeVector
HepRotation inverse() const
virtual ~G4TQuadrupoleMagField()
G4TQuadrupoleMagField * Clone() const
G4TQuadrupoleMagField(G4double pGradient, G4ThreeVector pOrigin, G4RotationMatrix *pMatrix)
G4TQuadrupoleMagField(G4double pGradient)
void GetFieldValue(const G4double y[7], G4double B[3]) const