Message: Tracking Ions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Tracking Ions 

Forum: Particles
Date: 28 Nov, 2003
From: Christian Bongardo <Christian Bongardo>

I have problems with tracking ions (Li, C, N, O and Fe). It seems as if the ion passes through matter without leving signs on it. Here my particle def.:

G4ParticleDefinition* ion
    = particleTable->GetIon(pNatomic,pMatomic,0.);
   particleGun->SetParticleDefinition(ion); 
(in which I put the right value of pNatomic and pMatomic)

here my ion physics (taken from Mulassis):

pManager = G4GenericIon::GenericIon()->GetProcessManager();
  // add process
  pManager->AddDiscreteProcess(&theElasticProcess);

  if (mode == "Ion") {
    G4hIonisation* fIonIonisation = new G4hIonisation();
    pManager->AddProcess(fIonIonisation, ordInActive,2, 2);

  } else {
    G4hLowEnergyIonisation* fIonIonisation = new G4hLowEnergyIonisation();
    pManager->AddProcess(fIonIonisation, ordInActive,2, 2);
  }

  pManager->AddProcess(&fIonMultipleScattering);
  pManager->SetProcessOrdering(&fIonMultipleScattering, idxAlongStep,  1);
  pManager->SetProcessOrdering(&fIonMultipleScattering, idxPostStep,  1);

Perhaps the solution is obvious, but not to me...

Thanks, Chris

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

1 None: Re: Tracking Ions   (Vladimir IVANTCHENKO - 28 Nov, 2003)
 Add Message Add Message
to: "Tracking 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 ]