Message: Re: Problem adding physics list Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem adding physics list 

Forum: Physics List
Re: Question Problem adding physics list (bilal)
Re: Note Re: Problem adding physics list (bilal)
Date: 15 Oct, 2011
From: Neoh <Neoh>

Hi Bilal,

I refer to the content of your first post:

"...However when i run the following macro it produces an error saying "illegal application state <../../addPhysics local>""

If you compile TestEm5 and run the same macro you should have no problem because "local" physics list has already been defined in physicslist.cc (line 203). You said you copied all the physics list and messenger class from TestEm5. Did you copy the ENTIRE physicslist.cc from TestEm5?

As a pointer to solve similar problems in future, I would suggest look into user-defined messenger codes (in this case, physicslistmessenger) and trace how the command is being invoked.

Hope this helps

Neoh

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

1 More: Re: Problem adding physics list   (bilal - 16 Oct, 2011)
(_ None: Re: Problem adding physics list   (Neoh - 16 Oct, 2011)
 Add Message Add Message
to: "Re: Problem adding physics list"

 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 ]