How to determine the dose

indeed, this is working… in a different world it’s probably making sense but however, I’m always struggling how to solve issues like this.

How exactly are you using intellisense that it provided the solution?

However, when I print mass I receive mass: 2.32505e+20 as value. Which unit is it, but anyway, it seems to be quite a lot?

edit: I saw About the molar mass and absorbed dose - #4 by mkelsey and used G4cout << "mass: " << mass/kg << " kg" << G4endl; which gives mass: 3.72514e-05 kg which equals to 37 µg. Tbh, I have to check. The value is not far off but could be a bit little nevertheless. But it could be a valid value, I will check…
but is this correct, what I am doing?

And when I wanna’ know the dose I won’t convert it into other units, right?