Message: Registering Photonuclear process for gammas Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Registering Photonuclear process for gammas 

Forum: Physics List
Date: 12 Jan, 2012
From: Andrew <Andrew>

Hello, First off, thank you for all the help you guys have provided me with thus far.

I'm having an issue registering the Photonuclear process for gammas, I've found a post regarding enable the process, and have added the following to my physics list file:

void ExN02PhysicsList::ConstructLeptHad() {

  G4GammaNuclearReaction* lowEGammaModel = new G4GammaNuclearReaction();
  lowEGammaModel->SetMaxEnergy(3.5*GeV);
  G4PhotoNuclearProcess* thePhotoNuclearProcess = new G4PhotoNuclearProcess();
  thePhotoNuclearProcess->RegisterMe(lowEGammaModel);   
}

I have declared the ConstructLeptHad() in the header file. Is there anywhere else I need to place code in order for this process to fully register? I did not download any additional data libraries (only the G4EMLOW as suggested in the installation guide). I compile without any errors, but I see no neutrons in the output file. I'm firing a point source of gammas (12 MeV) in an air filled sphere and collecting the spectrum at four equally spaced radii. Any help would be appreciated, thank you!

-Andrew

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

1 Idea: Re: Registering Photonuclear process for gammas   (Vladimir Ivanchenko - 13 Jan, 2012)
 Add Message Add Message
to: "Registering Photonuclear process for gammas"

 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 ]