5 #include "G4StepPoint.hh" 6 #include "G4TouchableHistory.hh" 9 const G4StepPoint* preStepPoint = step->GetPreStepPoint();
10 const G4TouchableHistory* theTouchable = (
const G4TouchableHistory*)preStepPoint->GetTouchable();
11 const G4ThreeVector& trans = theTouchable->GetTranslation();
13 return (trans.z() < 0) ?
Local3DPoint(-point.
x(), -point.
z(), -point.
y())
Local3DPoint transformPoint(const Local3DPoint &, const G4Step *) const override
Point3DBase< float, LocalTag > Local3DPoint
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point