Message: Re: Binary Light Ion Reaction for Generic Ions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Binary Light Ion Reaction for Generic Ions 

Forum: Hadronic Processes
Re: Question Binary Light Ion Reaction for Generic Ions (Rick Foster)
Date: 08 Jun, 2007
From: Vladimir IVANTCHENKO <vnivanch@mail.cern.ch>

On Fri, 8 Jun 2007, Rick Foster wrote:

> *** Discussion title: Hadronic Processes
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/hadronprocess/707"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> I am attemptintg to try to use the Binary Light Ion model for for the
> inelastic process associated with genericIons (I had been using the
> Wilson Abrasion/Ablation Models).
> 
> the following code compiles fine, but when I run the code, my system
> crashes immediatly after seeing the message:
> 
> "Thank you for using G4BinaryCascade."
> 
> I am running Geant8.3 with Windows/XP + Visual Studio + Cygwin.
> 
> It appears to be crashing when while trying to create the model:
>    G4BinaryLightIonReaction * blirInelasticModel= new G4BinaryLightIonReaction;
> 
> Any help/insight would be greatly appreciated
> 
> Thanks Rick
> 
> ******Code**************
> 
>         else if (particleName == "GenericIon") {
>         //Elastic
>         pmanager->AddDiscreteProcess(theElasticProcess);
> 
>         // Inelastic Process for Generic Ions
>         // Uses Binary Light Ion Model .. 
> 
>         // Create instance of inelastic process for generic ions
>         G4HadronInelasticProcess* hadInelasticProcess= new G4HadronInelasticProcess(
>                                                                                         "IonInelastic",G4GenericIon::GenericIon());
> 
>         // Load Cross Sections .. Last loaded is used first for energy range
>         // Shen 0-10 GeV/nuc .. Tripathi 0-1 GeV/nuc
>         G4IonsShenCrossSection* shenCS = new G4IonsShenCrossSection();
>         hadInelasticProcess->AddDataSet(shenCS);
>         G4TripathiCrossSection* tripathiData = new G4TripathiCrossSection();
>         hadInelasticProcess->AddDataSet(tripathiData);
> 
>         //Create an instance of the binary Light Ion reaction model and register it
>         G4BinaryLightIonReaction * blirInelasticModel= new G4BinaryLightIonReaction;
>         hadInelasticProcess->RegisterMe(blirInelasticModel);
> 
>         //Add the hadronic inelastic process to the list of discrete processes for the particle
>         pmanager->AddDiscreteProcess(hadInelasticProcess);      
>         }
> 
> 

Hello,

Please, try to use 

$G4INSTALL/examples/extended/hadronic/Hadr01

In the default macro hadr01.mac QBBC Physics Lists is used, which 
practically uses Ion Binary cascade.

It is possible to set QGSP_BIC physics list via 

/testhadr/Physics QGSP_BIC

Be sure that example is working. 

Also you can try out $G4INSTALL/example/extended/electromagnetic/TestEm7

There is "binary_ion" builder.

regards,

-- 
    Vladimir Ivanchenko  
    ### CERN PH SFT Tel: +41-22-76-78-871  Vladimir.Ivantchenko@cern.ch ###

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

1 Sad: Re: Binary Light Ion Reaction for Generic Ions   (Rick Foster - 08 Jun, 2007)
(_ None: Re: Binary Light Ion Reaction for Generic Ions   (Vladimir IVANTCHENKO - 08 Jun, 2007)
 Add Message Add Message
to: "Re: Binary Light Ion Reaction for Generic Ions"

 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 ]