ステップポイントしたい(G4Step::GetPreStepPoint)
1// G4Step *aStep
2G4StepPoint *pre_step = aStep->GetPreStepPoint();
3G4StepPoint *post_step = aStep->GetPostStepPoint();
ステップは始点と終点で構成されています。
GetPreStepPoint で始点、
GetPostStepPoint で終点の
G4StepPointオブジェクトを取得できます。