Message: Re: Problem with G4HadronicProcess Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem with G4HadronicProcess 

Forum: Hadronic Processes
Re: None Problem with G4HadronicProcess
Re: None Re: Problem with G4HadronicProcess (Dennis H. Wright)
Date: 07 May, 2014
From: <alessandrovarriale24@gmail.com>

Hi, as seen from other examples I have registered the Elastic Process with the default cross section for GenericIon in this way:

// GenericIon- Physics
   pManager = G4GenericIon::GenericIon()->GetProcessManager();

   // add process
   G4HadronElasticProcess* thegiElasticProcess 
                         = new G4HadronElasticProcess();
   G4LElastic* thegiElasticModel = new G4LElastic();
   thegiElasticProcess->RegisterMe(thegiElasticModel);
   pManager->AddDiscreteProcess(thegiElasticProcess);

Is it right or wrong?!?

Thanks to all, Alessandro.

 Add Message Add Message
to: "Re: Problem with G4HadronicProcess"

 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 ]