<div dir="ltr"><div>Dear Gate users,</div><div><br></div><div>Recently I found the .cc and .hh files of a <b>GateDoseSpectrumActor</b>. This actor is not mentioned in <a href="http://opengate.readthedocs.io" target="_blank">opengate.readthedocs.io</a> or any webpage.</div><div>I would like to ask if someone is working on it. Is it a prototype?</div><div><br></div><div>I tested the energy calculation using the EnergySpectrumActor and the energy units differ:</div><div></div><div>I simulated a Ac-225 source using the Ion source definition. I scored the deposited energy with both actors (EnergySpectrumActor and GateDoseSpectrumActor). The deposited energy differs by a factor of 1000. <b>The only justification that I can find is that, in the GateDoseSpectrumActor, the deposited energy is expressed in keV/(1000 events) OR (eV/event) and there is a typo in the code (the units shoud be eV instead of keV):</b></div><div>#-------------------------------------------<br></div><div>/// Save data<br>void GateDoseSpectrumActor::SaveData()<br>{<br>  GateVActor::SaveData();<br>  std::ofstream DoseResponseFile;<br>  OpenFileOutput(mSaveFilename, DoseResponseFile);<br>  DoseResponseFile << "Incoming energy (<b>keV</b>)" << " "<br>                   << "Average energy deposit (<b>keV</b>)" << " "<br>                   << "Energy uncertainty (<b>keV</b>)"  << Gateendl;<br>  std::map< G4double, G4double>::iterator itermEnergy;<br>  for( itermEnergy = mEnergy.begin(); itermEnergy != mEnergy.end(); itermEnergy++)<br>  {<br>    G4double energyIn = itermEnergy->first;<br>    G4double totEnergyOut = mEnergy[energyIn];<br>    G4double numPart = mNumParticPerEnergy[energyIn];<br>    G4double avgEnergyOut = totEnergyOut / numPart;<br>    G4double avgEnergySq  = mEnergySquare[energyIn] / numPart;<br>    G4double error = sqrt( (1.0 / ( numPart - 1)) * ( avgEnergySq - pow( avgEnergyOut, 2)));<br>    DoseResponseFile << energyIn/<span style="color:rgb(255,0,0)"><b>keV</b> </span><< " "<br>                     << avgEnergyOut/<span style="color:rgb(255,0,0)"><b>keV</b> </span><< " "<br>                     << error/<span style="color:rgb(255,0,0)"><b>keV</b> </span> << Gateendl;<br>  }</div><div>#-------------------------------------------</div><div><br></div><div>Is anyone working on this?</div><div></div><div><br></div><div><br></div><div>Best regards</div><div>Maikol<br></div><div><br></div></div>