Message: For help about "G4NeutronCaptureAtRest()" Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question For help about "G4NeutronCaptureAtRest()" 

Forum: Hadronic Processes
Date: 10 Apr, 2011
From: ja <ja>

I'm so confused about G4NeutronCaptureAtRest(),the manual says neutron capture process belongs to AtRestDoIt method,

it should be as this?:

G4NeutronCaptureAtRest* natrestProc = new G4NeutronCaptureAtRest(); pmanager->AddRestProcess(natrestProc);

but there is a case shows:

            //for normal precision
G4HadronCaptureProcess* theCaptureProcess=new G4HadronCaptureProcess;   
            G4LCapture* theCaptureModel = new G4LCapture;   
            theCaptureModel->SetMinEnergy(19*MeV); 
            theCaptureProcess->RegisterMe(theCaptureModel); 
            //for good precision
G4NeutronHPorLCapture* theLENeutronCaptureModel = new G4NeutronHPorLCapture();  
            theLENeutronCaptureModel->SetMaxEnergy(19*MeV);  
            theCaptureProcess->RegisterMe(theLENeutronCaptureModel);   
            // for cross section  
G4NeutronHPCaptureData * theCaptureData = new G4NeutronHPCaptureData; 
            theCaptureProcess->AddDataSet(theCaptureData);   
            pmanager->AddDiscreteProcess(theCaptureProcess); 

Does NeutronCaptureprocess apply to PostStepDoIt method,or there is any misunderstanding for me?

 Any helpful response would be greatly appreciated!!!

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

1 Idea: Re: For help about   (Vladimir Ivanchenko - 10 Apr, 2011)
 Add Message Add Message
to: "For help about "G4NeutronCaptureAtRest()""

 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 ]