Message: Re: GetParticleCode: unsupported particle Error - Fixed (??) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: GetParticleCode: unsupported particle Error - Fixed (??) 

Keywords: GetParticleCode: unsupported particle Error
Forum: Particles
Re: Question GetParticleCode: unsupported particle Error (Rick Foster)
Date: 27 Apr, 2006
From: Rick Foster <rickf@space.mit.edu>

To eliminate the initial problem, I added two more cross section data sets to the ion inelastic process (originally I only had Tripathi).

So now I don't crash, but am somewhat confused. Which dataset is the process getting cross sections from for the different ions?

	else if (particleName == "GenericIon") {
	//Inelastic
	G4WilsonAblationModel* ablModel = new G4WilsonAblationModel();
	G4WilsonAbrasionModel* ionModel = new G4WilsonAbrasionModel(ablModel);
	G4IonInelasticProcess* ionInelProcess = new G4IonInelasticProcess();
	ionInelProcess->RegisterMe(ionModel);
	pmanager->AddDiscreteProcess(ionInelProcess);

	G4TripathiCrossSection* tripathiData = new G4TripathiCrossSection();
	ionInelProcess->AddDataSet(tripathiData);

	 --> G4IonsShenCrossSection* shenCS = new G4IonsShenCrossSection();
	 --> G4IonsSihverCrossSection* sihverCS = new G4IonsSihverCrossSection();
	 --> ionInelProcess->AddDataSet(sihverCS);
	 --> ionInelProcess->AddDataSet(shenCS);

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

 Add Message Add Message
to: "Re: GetParticleCode: unsupported particle Error - Fixed (??)"

 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 ]