41 fFieldComponents[0] = FieldVector.
x();
42 fFieldComponents[1] = FieldVector.
y();
43 fFieldComponents[2] = FieldVector.
z();
50 fFieldComponents[0] = 0.0;
51 fFieldComponents[1] = gy;
52 fFieldComponents[2] = 0.0;
62 for (
auto i=0; i<3; ++i)
64 fFieldComponents[i] = p.fFieldComponents[i];
71 if (&p ==
this)
return *
this;
73 for (
auto i=0; i<3; ++i)
75 fFieldComponents[i] = p.fFieldComponents[i];
84 fFieldComponents[2]) );
92 G[0]= fFieldComponents[0];
93 G[1]= fFieldComponents[1];
94 G[2]= fFieldComponents[2];
CLHEP::Hep3Vector G4ThreeVector
G4Field & operator=(const G4Field &p)