Message: Re: G4PhysicsListHelper::RegisterProcess : No Process Manager for gamma when registering new process Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4PhysicsListHelper::RegisterProcess : No Process Manager for gamma when registering new process  

Forum: Physics List
Re: Question "G4PhysicsListHelper::RegisterProcess : No Process Manager for gamma" when registering new process (Jayson Vavrek)
Date: 20 Jul, 2015
From: Michael H. Kelsey <Michael H. Kelsey>

On Mon, 20 Jul 2015 23:51:27 GMT, Jayson Vavrek wrote: [...]
> void G4NRFPhysics::ConstructParticle()
> {
>         G4cout << "In G4NRFPhysics::ConstructParticle()" << G4endl;
> }

You need to instantiate the gamma (and e+, e-) here. The code should read

void G4NRFPhysics::ConstructParticle() {
  G4Gamma::Definition();
  G4Electron::Definition();
  G4Positron::Definition();
}

If there are any other particles you expect to see created as a result of your physics (protons, from ionizing hydrogen, for example), you should also register them.

  -- Michael Kelsey

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

1 Ok: Solved   (Jayson Vavrek - 21 Jul, 2015)
(_ Warning: Re: Solved   (Andrea Dotti - 21 Jul, 2015)
 Add Message Add Message
to: "Re: G4PhysicsListHelper::RegisterProcess : No Process Manager for gamma when registering new process "

 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 ]