64 "HadrontherapyMatrix not found. Firstly create an instance of it.");
75 detectorMat = pDet -> GetDetectorLogicalVolume() -> GetMaterial();
123 if (DE <= 0. || DX <=0. )
return;
127 G4int Z = particleDef -> GetAtomicNumber();
130 G4int PDGencoding = particleDef -> GetPDGEncoding();
131 PDGencoding -= PDGencoding%10;
142 totalLetD[voxel] += (DE + DEEletrons) * Lsn;
160 G4int A = particleDef -> GetAtomicMass();
163 G4String fullName = particleDef -> GetParticleName();
164 G4String name = fullName.substr (0, fullName.find(
"[") );
168 (trackID == 1) ?
true:
false,
191 ionLetStore[l].letDN[voxel] += (DE + DEEletrons)* Lsn;
292 ofs << i <<
'\t' << j <<
'\t' << k <<
'\t';
329 LetFragmentTuple->
Write();