Message: Re: Problem with Generic ion in Geant4 8.0 + patch-01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Problem with Generic ion in Geant4 8.0 + patch-01 

Keywords: G4IonTable, no radioactive decay
Forum: Particles
Re: None Problem with Generic ion in Geant4 8.0 + patch-01 (Maria Martinez)
Re: Feedback Re: Problem with Generic ion in Geant4 8.0 + patch-01 (Kazuyoshi Furutaka)
Date: 20 Apr, 2006
From: Maria Martinez <mariam@unizar.es>

Hi, I could solve the problem with version 4.8 + patch by adding a line to the ConstructGeneral function in myPhysicList:

if (particleName == "GenericIon")
        {
          G4ProcessManager* pmanager =
            theIonTable->GetParticle(i)->GetProcessManager();

          // 4.8 + PATCH WORKS WITH THIS LINE:
          theIonTable->GetParticle(i)->SetAtomicMass(1);

          pmanager ->AddProcess(theRadioactiveDecay);
          pmanager ->SetProcessOrdering(theRadioactiveDecay, idxPostStep);
          pmanager ->SetProcessOrdering(theRadioactiveDecay, idxAtRest);
        }

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

1 Feedback: Re: Problem with Generic ion in Geant4 8.0 + patch-01   (Kazuyoshi Furutaka - 20 Apr, 2006)
(_ None: Re: Problem with Generic ion in Geant4 8.0 + patch-01   (mariam@unizar.es - 21 Apr, 2006)
 Add Message Add Message
to: "Re: Problem with Generic ion in Geant4 8.0 + patch-01"

 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 ]