Message: Changing neutron energy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Changing neutron energy 

Forum: Event and Track Management
Date: 22 Oct, 2012
From: C Mos <C Mos>

Is it possible to change the energy of a neutron when it arrives to a certain region, for example, my target volume, as a way to introduce bias?

I was able to change direction at the UserSteppingAction function. Is it legal to change the particle energy as well? This is what I am doing for gamma particles:

         G4ThreeVector particlePosition = aStep->GetPostStepPoint()->GetPosition();	  
	  G4ThreeVector *detectorPosition = (detector->GetWorldPosGammaDetector());//detector->GetPhysGammaDetector()->GetObjectTranslation(); 
	  G4ThreeVector newDirection = (*detectorPosition) - particlePosition;
	  delete detectorPosition;

Could I do something simmilar for neutrons? Should the change take place at the postStep object like this next?

//Only when particle is a neutron
          G4double neutronEnergy = 50. * keV;

Thank you,

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: Changing neutron energy   (Gumplinger Peter - 31 Oct, 2012)
 Add Message Add Message
to: "Changing neutron energy"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]