Message: Process Manager not found in G4ProtonInelasticProcess Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Process Manager not found in G4ProtonInelasticProcess 

Forum: Hadronic Processes
Date: 05 Nov, 2007
From: JinGe <gj7f@virginia.edu>

  I applied the code in manual 5.2.2.3, which is to add proton inelastic process. My code is like:
else if(particleName == "proton"){
 pmanager->AddProcess(new G4MultipleScattering,-1, 1,1);
      pmanager->AddProcess(new G4hIonisation,       -1, 2,2); 

            G4ProtonInelasticProcess *theProtonIEProc= new  G4ProtonInelasticProcess();
        G4LEProtonInelastic* theProtonIE= new G4LEProtonInelastic();
        theProtonIEProc->RegisterMe(theProtonIE);
      pmanager->AddDiscreteProcess(theProtonIEProc);

//step limit
      pmanager->AddProcess(new G4StepLimiter,       -1,-1,3);         
      pmanager->AddProcess(new G4UserSpecialCuts,   -1,-1,4); 
}

  The program is able to run for 20 events, and after that, message is like:

G4SteppingManager::GetProcessNumber: ProcessManager=0 for particle=deuteron, PDG_code=1000010020

G4SteppingManager::GetProcessNumber: Process Manager is not found.

*** G4Exception: Aborting execution ***

Aborted

Can someone tell me what the reason is, and how to modify? Thanks!

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

1 None: Re: Process Manager not found in G4ProtonInelasticProcess   (Dennis H. Wright - 05 Nov, 2007)
(_ None: Re: Process Manager not found in G4ProtonInelasticProcess   (gj7f@virginia.edu - 12 Nov, 2007)
 Add Message Add Message
to: "Process Manager not found in G4ProtonInelasticProcess"

 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 ]