Message: A question About HepRandomEngine. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question A question About HepRandomEngine. 

Keywords: track
Forum: Run Management
Date: 31 Mar, 2002
From: <tangsk@astrosv1.ihep.ac.cn>

I want to get a detail information about one Event when Error occures.
So I try to save the  Ranecu engine status  at BeginOfEventAction
>>>>>>
void test01EventAction::BeginOfEventAction(const G4Event*)
{
......
HepRandom::saveEngineStatus("BeginOfEvent.rndm");
HepRandom::showEngineStatus();
.......
}
>>>>>>>>>>>
then I restore the Ranecu engine status at BeginOfEventAction:
>>>>>>>>
void test01EventAction::BeginOfEventAction(const G4Event*)
{
  ......
         HepRandom::restoreEngineStatus("BeginOfEvent.rndm");
         HepRandom::showEngineStatus();
.......
}
>>>>>>>>
after gmake I /run/beamOn 1
I think the Error should be reappear but the result is not.
And the result is not the same if the run the program twice.
Is the Ranecu engine status not traceable?



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

1 None: Re: A question About HepRandomEngine.   (Vladimir Ivantchenko - 01 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Tang shikui - 02 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Vladimir Ivantchenko - 03 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Tang shikui - 03 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Vladimir Ivantchenko - 03 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Tang shikui - 03 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Vladimir Ivantchenko - 03 Apr, 2002)
(_ Feedback: Re: A question About HepRandomEngine.   (tangsk@astrosv1.ihep.ac.cn - 03 Apr, 2002)
(_ None: Re: A question About HepRandomEngine.   (Vladimir Ivantchenko - 04 Apr, 2002)
(_ None: Re: A question About HepRandomEngine instalation or installation   (Darell - 20 Apr, 2002)
 Add Message Add Message
to: "A question About HepRandomEngine."

 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 ]