Message: Doubts related to rdecay01 example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Doubts related to rdecay01 example 

Forum: Hadronic Processes
Date: 02 Dec, 2012
From: Cejo George <Cejo George>

Dear all,
  I'm having some confusion in understanding the following code which is from  rdecay01 example. 
void RunAction::EventTiming(G4double time)
{
  EventTime[0] += time;
  if (decayCount == 1) EventTime[1] = EventTime[2] = time;  
  if (time < EventTime[1]) EventTime[1] = time;
  if (time > EventTime[2]) EventTime[2] = time;             
}
I'm using geant4.9.4.p03 version.
What is this code doing and how is variable time calculated. 

Also please correct me if i'm wrong,

ActivperMass without (*g/Becquerel) means ActivPerMass in Becquerel/gram. So to obtain Activity of source in Bq for say 10grams all that i need to do is ActivPerMass*10g so the result is Activity of 10 grams of source in Becquerel.

With Thanks and Regards, Cejo George

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

1 None: Re: Doubts related to rdecay01 example   (michel maire - 03 Dec, 2012)
1 Ok: Re: Doubts related to rdecay01 example   (Cejo George - 03 Dec, 2012)
2 None: Re: Doubts related to rdecay01 example   (michel maire - 03 Dec, 2012)
1 None: Re: Doubts related to rdecay01 example   (Cejo George - 04 Dec, 2012)
1 None: Re: Doubts related to rdecay01 example   (michel maire - 04 Dec, 2012)
2 None: Re: Doubts related to rdecay01 example   (Michael H. Kelsey - 04 Dec, 2012)
... 1 Message(s)
 Add Message Add Message
to: "Doubts related to rdecay01 example"

 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 ]