43 G4ThreeVector xhat(1,0,0),
yhat(0,1,0),
zhat(0,0,1),
nullVec(0,0,0);
51 : verboseLevel(0), fTheta(0), fPhi(0), fLattice(Lat) {
69 G4cout <<
"G4LatticePhysical::SetPhysicalOrientation " << *Rot
83 G4cout <<
"G4LatticePhysical::SetLatticeOrientation " <<
fTheta <<
" "
91 fPhi =
halfpi - std::atan2(l+0.000001,k+0.000001);
94 G4cout <<
"G4LatticePhysical::SetMillerOrientation(" << l << k <<
n
133 G4cout <<
"G4LatticePhysical::RotateToGlobal " << dir
147 G4cout <<
"G4LatticePhysical::RotateToLocal " << dir
Definition of the G4LatticeLogical class.
Definition of the G4LatticePhysical class.
static constexpr double halfpi
G4GLOB_DLL std::ostream G4cout
Hep3Vector & rotate(double, const Hep3Vector &)
static DLL_API const HepRotation IDENTITY
virtual G4double MapKtoV(G4int, const G4ThreeVector &) const
virtual G4ThreeVector MapKtoVDir(G4int, const G4ThreeVector &) const
void SetLatticeOrientation(G4double, G4double)
void SetPhysicalOrientation(const G4RotationMatrix *Rot)
G4ThreeVector RotateToLocal(const G4ThreeVector &dir) const
G4RotationMatrix fLocalToGlobal
G4RotationMatrix fGlobalToLocal
G4ThreeVector RotateToGlobal(const G4ThreeVector &dir) const
virtual ~G4LatticePhysical()
G4double MapKtoV(G4int, G4ThreeVector) const
G4ThreeVector MapKtoVDir(G4int, G4ThreeVector) const
const G4LatticeLogical * fLattice
void SetMillerOrientation(G4int, G4int, G4int)
G4LatticePhysical(const G4LatticeLogical *Lat=0, const G4RotationMatrix *Rot=0)
G4ThreeVector xhat(1, 0, 0)
G4ThreeVector yhat(0, 1, 0)
G4ThreeVector nullVec(0, 0, 0)
G4ThreeVector zhat(0, 0, 1)