Message: Re: G4Exception behaviour Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4Exception behaviour 

Keywords: G4Exception
Forum: Run Management
Re: None G4Exception behaviour (Ranjard)
Date: 24 Jan, 2002
From: Makoto Asai <Makoto Asai>

 The exact code fragment you specified guarantees you can do
whatever you want. What you have to do is implementing your
own concrete class inherirting from G4VStateDependent and 
registering it to G4StateManager. Then your class will be 
notified at the moment of changing Geant4 state to "Abort". 
You can return "false" if you do not want to abort the execution.

 It is our design decision not to throw exception. But you can
throw in your own implementation.


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

 Add Message Add Message
to: "Re: G4Exception behaviour"

 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 ]