Tracking of particle

Is it possible to get vertex of track or the origin of from where it generated?
like using “KE = aStep->GetTrack()->GetVertexKineticEnergy();”
we can get Vertex kinetic energy.

See G4Track.hh.

// vertex (,where this track was created) information  
const G4ThreeVector& GetVertexPosition() const;
1 Like