Problem 1587 - GetTargetIsotope()
Summary: GetTargetIsotope()
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/management (show other problems)
Version: 9.6
Hardware: All All
: P5 trivial
Assignee: dennis.herbert.wright
URL:
Depends on:
Blocks:
 
Reported: 2014-03-10 15:30 CET by michel.maire
Modified: 2014-06-13 20:43 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description michel.maire 2014-03-10 15:30:15 CET
In SteppingAction :

   const G4StepPoint* endPoint = aStep->GetPostStepPoint();
   const G4VProcess* process   = endPoint->GetProcessDefinedStep();
   G4HadronicProcess* hproc = (G4HadronicProcess*) process;
   const G4Isotope* target = hproc->GetTargetIsotope();

 In case of neutronHP, it returns 0

  Tatsumi said :
Since v9.6, NeutronHP re-set target nucleus in hadronic process by the nucleus which HP system selected. 
So by getting the information in proper timing, then you should get correct information about the target.
Comment 1 dennis.herbert.wright 2014-06-13 20:43:19 CEST
Tatsumi Koi has reported this fixed.