73 G4Track* theTrack = aStep->GetTrack();
76 if(theTrack->GetDefinition() != G4OpticalPhoton::OpticalPhotonDefinition())
82 G4StepPoint* thePostPoint = aStep->GetPostStepPoint();
84 auto trackInformation =
89 G4ThreeVector photonExit = trackInformation->GetExitPosition();
90 G4ThreeVector photonArrive = thePostPoint->GetPosition();
91 G4double arrivalTime = theTrack->GetGlobalTime();
92 G4double energy = theTrack->GetTotalEnergy();
97 theTouchable->GetHistory()->GetTopTransform().TransformPoint(photonArrive);