class to save and hold data for LET of different ions
More...
#include <Doxymodules_medical.h>
|
| IonLet (G4int trackID, G4int PDG, G4String fullname, G4String name, G4int Z, G4int A, G4int voxNumber) |
|
| ~IonLet ()=default |
|
G4bool | IsPrimary () const |
|
G4int | GetPDGencoding () const |
|
G4String | GetFullName () const |
|
G4String | GetName () const |
|
G4int | GetZ () const |
|
G4int | GetA () const |
|
array_type | GetLETDN () const |
|
array_type | GetLETDD () const |
|
array_type | GetLETTN () const |
|
array_type | GetLETTD () const |
|
array_type | GetLETD () const |
|
array_type | GetLETT () const |
|
void | SetLETDN (array_type LETDN) |
|
void | SetLETDD (array_type LETDD) |
|
void | SetLETTN (array_type LETTN) |
|
void | SetLETTD (array_type LETTD) |
|
void | Update (G4int voxel, G4double DE, G4double DEELETrons, G4double Lsn, G4double DX) |
|
void | Merge (const IonLet *lhs) |
|
void | Calculate () |
|
G4bool | operator< (const IonLet &a) const |
|
class to save and hold data for LET of different ions
Definition at line 133 of file Doxymodules_medical.h.
◆ array_type
◆ IonLet()
RadioBio::IonLet::IonLet |
( |
G4int |
trackID, |
|
|
G4int |
PDG, |
|
|
G4String |
fullname, |
|
|
G4String |
name, |
|
|
G4int |
Z, |
|
|
G4int |
A, |
|
|
G4int |
voxNumber |
|
) |
| |
Definition at line 37 of file IonLet.cc.
40{
45
48}
std::valarray< G4double > array_type
◆ ~IonLet()
RadioBio::IonLet::~IonLet |
( |
| ) |
|
|
default |
◆ IsPrimary()
G4bool RadioBio::IonLet::IsPrimary |
( |
| ) |
const |
|
inline |
◆ GetPDGencoding()
G4int RadioBio::IonLet::GetPDGencoding |
( |
| ) |
const |
|
inline |
◆ GetFullName()
G4String RadioBio::IonLet::GetFullName |
( |
| ) |
const |
|
inline |
◆ GetName()
G4String RadioBio::IonLet::GetName |
( |
| ) |
const |
|
inline |
◆ GetZ()
G4int RadioBio::IonLet::GetZ |
( |
| ) |
const |
|
inline |
◆ GetA()
G4int RadioBio::IonLet::GetA |
( |
| ) |
const |
|
inline |
◆ GetLETDN()
◆ GetLETDD()
◆ GetLETTN()
◆ GetLETTD()
◆ GetLETD()
◆ GetLETT()
◆ SetLETDN()
void RadioBio::IonLet::SetLETDN |
( |
array_type |
LETDN | ) |
|
|
inline |
◆ SetLETDD()
void RadioBio::IonLet::SetLETDD |
( |
array_type |
LETDD | ) |
|
|
inline |
◆ SetLETTN()
void RadioBio::IonLet::SetLETTN |
( |
array_type |
LETTN | ) |
|
|
inline |
◆ SetLETTD()
void RadioBio::IonLet::SetLETTD |
( |
array_type |
LETTD | ) |
|
|
inline |
◆ Update()
void RadioBio::IonLet::Update |
( |
G4int |
voxel, |
|
|
G4double |
DE, |
|
|
G4double |
DEELETrons, |
|
|
G4double |
Lsn, |
|
|
G4double |
DX |
|
) |
| |
Definition at line 52 of file IonLet.cc.
53{
54
55 fLETDN[voxel] += (DE + DEELETrons) * Lsn;
56
57 fLETDD[voxel] += DE + DEELETrons;
58
60
62}
◆ Merge()
void RadioBio::IonLet::Merge |
( |
const IonLet * |
lhs | ) |
|
Definition at line 66 of file IonLet.cc.
67{
68
70 G4Exception("IonLet::merge", "mergingdifferentions", FatalException,
71 "Cannotmerge ions, probably merging of data from different ions");
72
77}
◆ Calculate()
void RadioBio::IonLet::Calculate |
( |
| ) |
|
Definition at line 81 of file IonLet.cc.
82{
83 for (
unsigned int v = 0; v <
fLETD.size(); v++) {
86 }
87}
◆ operator<()
G4bool RadioBio::IonLet::operator< |
( |
const IonLet & |
a | ) |
const |
|
inline |
Definition at line 84 of file IonLet.hh.
85 {
86 return (this->
fZ ==
a.fZ) ? this->
fA <
a.fA : this->
fZ <
a.fZ;
87 }
std::vector< ExP01TrackerHit * > a
◆ fIsPrimary
G4bool RadioBio::IonLet::fIsPrimary = true |
|
private |
◆ fPDGencoding
G4int RadioBio::IonLet::fPDGencoding = -1 |
|
private |
◆ fFullName
◆ fName
◆ fZ
G4int RadioBio::IonLet::fZ = -1 |
|
private |
◆ fA
G4int RadioBio::IonLet::fA = -1 |
|
private |
◆ fLETDN
◆ fLETDD
◆ fLETTN
◆ fLETTD
◆ fLETD
◆ fLETT
The documentation for this class was generated from the following files: