|Message: A question on Unit in example rdecay01||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
how's it going?! this may be an elementary question, but i was wondering if anyone can help me to straighten out the units in the example rdecay01 using geant4.9.4.p02.
In the source code RunAction.cc where the activity is calculated and printed out, the code is shown below...
===============/rdecay01/src/RunAction.cc===================================== . . . . G4double molMass = particle->GetAtomicMass()*g/mole; G4double nAtoms = Avogadro/molMass; G4double ActivPerAtom = 1./Tmean; G4double ActivPerMass = ActivPerAtom*nAtoms;
G4cout << "molMass = " << molMass << G4endl; G4cout << "\n nAtoms = " << std::setw(wid) << nAtoms << G4endl; G4cout << "Tmean = " << Tmean << " nano second (10-9 seconds)" << G4endl; G4cout << "ActivPerAtom = " << ActivPerAtom << G4endl; G4cout << "ActivPerMass = " << ActivPerMass << G4endl; G4cout << "\n Activity = " << std::setw(wid) << ActivPerMass*g/becquerel << " Bq/g (" << ActivPerMass*g/curie << " Ci/g) \n" << G4endl; . . ===========================================================================
the code compiled and I tested this code by executing Co60.mac (with /run/beamOn 1000) in the example. In order to understand what each variable mean, I printed out the number that each variable represents and here they are..
molMass = 3.745e+23 ==> I thought atomic mass of the particle is in the unit of gram. For Co-60,the atomic mass should be close to 60 g/mole. But this number represents 60*6.242e21 for some reason. Why is there a 6.242e21 in this variable?
nAtoms = 1.608 Tmean = 2.399e+17 ==> I believe it's in nano second ActivPerAtom = 4.169e-18 ActivPerMass = 6.703e-18
Activity is caluclated as ActivPerMass*g/becquerel. again, there is a 6.242e30 constant to get the activity level printed below
Activity = 4.184e+13 Bq/g (1131 Ci/g)
can someone explain why? thanks a lot for your time and help in advance!
|Inline Depth:||Outline Depth:||Add message:|