39 : fIsPrimary(trackID == 1), fPDGencoding(PDG), fFullName(fullname), fName(name), fZ(Z), fA(A)
52void IonLet::Update(G4int voxel, G4double DE, G4double DEELETrons, G4double Lsn, G4double DX)
55 fLETDN[voxel] += (DE + DEELETrons) * Lsn;
57 fLETDD[voxel] += DE + DEELETrons;
70 G4Exception(
"IonLet::merge",
"mergingdifferentions", FatalException,
71 "Cannotmerge ions, probably merging of data from different ions");
83 for (
unsigned int v = 0; v <
fLETD.size(); v++) {
Definition of the RadioBio::IonLet class.
class to save and hold data for LET of different ions
G4int GetPDGencoding() const
void Merge(const IonLet *lhs)
array_type GetLETDN() const
array_type GetLETTD() const
void Update(G4int voxel, G4double DE, G4double DEELETrons, G4double Lsn, G4double DX)
array_type GetLETTN() const
array_type GetLETDD() const
std::valarray< G4double > array_type
IonLet(G4int trackID, G4int PDG, G4String fullname, G4String name, G4int Z, G4int A, G4int voxNumber)