ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Main class of the RBE calculation. More...
#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyRBE.hh>
Public Types | |
using | array_type = std::valarray< G4double > |
Static Public Member Functions | |
static HadrontherapyRBE * | CreateInstance (G4int nX, G4int nY, G4int nZ, G4double massOfVoxel) |
static HadrontherapyRBE * | GetInstance () |
Protected Member Functions | |
G4int | Index (G4int i, G4int j, G4int k) |
void | CreateMessenger () |
Private Types | |
using | vector_type = std::map< G4int, std::vector< G4double >> |
Private Member Functions | |
HadrontherapyRBE (G4int numberOfVoxelX, G4int numberOfVoxelY, G4int numberOfVoxelZ, G4double massOfVoxel) | |
Static Private Attributes | |
static HadrontherapyRBE * | instance = nullptr |
Main class of the RBE calculation.
The calculation has to be explicitly enabled (use macro command)
Available macro commands:
Definition at line 56 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 56 of file HadrontherapyRBE.hh
using HadrontherapyRBE::array_type = std::valarray<G4double> |
Definition at line 90 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 90 of file HadrontherapyRBE.hh
|
private |
Definition at line 183 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 183 of file HadrontherapyRBE.hh
|
virtual |
Definition at line 96 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 96 of file HadrontherapyRBE.cc
References fMessenger, and x.
|
private |
Definition at line 75 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 75 of file HadrontherapyRBE.cc
References CreateMessenger(), fNumberOfVoxelsAlongX, and x.
void HadrontherapyRBE::AddAlphaNumerator | ( | const array_type | alpha | ) |
Definition at line 453 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 453 of file HadrontherapyRBE.cc
References alpha, fAlphaNumerator, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
void HadrontherapyRBE::AddBetaNumerator | ( | const array_type | beta | ) |
Definition at line 474 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 474 of file HadrontherapyRBE.cc
References fBetaNumerator, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
void HadrontherapyRBE::AddDenominator | ( | const array_type | denom | ) |
Definition at line 414 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 414 of file HadrontherapyRBE.cc
References denom, fDenominator, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
void HadrontherapyRBE::AddEnergyDeposit | ( | const array_type | eDep | ) |
Definition at line 504 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 504 of file HadrontherapyRBE.cc
References fDose, fDoseScale, fMassOfVoxel, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
void HadrontherapyRBE::ComputeAlphaAndBeta | ( | ) |
Definition at line 355 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 355 of file HadrontherapyRBE.cc
References fAlpha, fAlphaNumerator, fBeta, fBetaNumerator, fDenominator, fVerboseLevel, G4cout, G4endl, and gray.
Referenced by StoreAlphaAndBeta().
void HadrontherapyRBE::ComputeRBE | ( | ) |
Definition at line 368 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 368 of file HadrontherapyRBE.cc
References fAlpha, fAlphaX, fBeta, fBetaX, fDose, fDoseCut, fDoseX, fLnS, fNumberOfVoxels, fRBE, fSurvival, fVerboseLevel, G4cout, G4endl, and smax.
Referenced by StoreRBE().
|
static |
Definition at line 68 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 68 of file HadrontherapyRBE.cc
References instance.
Referenced by HadrontherapyDetectorConstruction::UpdateGeometry().
|
protected |
Definition at line 584 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 584 of file HadrontherapyRBE.cc
References G4GenericMessenger::DeclareMethod(), fMessenger, G4State_Idle, G4State_PreInit, LoadLEMTable(), Reset(), SetAccumulationEnabled(), SetCalculationEnabled(), SetCellLine(), SetDoseScale(), G4GenericMessenger::Command::SetGuidance(), G4GenericMessenger::SetGuidance(), G4GenericMessenger::Command::SetStates(), G4GenericMessenger::Command::SetToBeBroadcasted(), and SetVerboseLevel().
Referenced by HadrontherapyRBE().
Definition at line 296 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 296 of file HadrontherapyRBE.cc
References alpha, fActiveTableEnergy, FatalException, fMaxEnergies, fMaxZ, fMinEnergies, fMinZ, fVerboseLevel, G4cout, G4endl, G4Exception(), JustWarning, and Z.
Referenced by HadrontherapyRBEAccumulable::Accumulate().
|
static |
Definition at line 63 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 63 of file HadrontherapyRBE.cc
References instance.
Referenced by HadrontherapyRBEAccumulable::Accumulate(), HadrontherapyRunAction::BeginOfRunAction(), HadrontherapyRunAction::EndOfRunAction(), HadrontherapyRBEAccumulable::GetVerboseLevel(), and HadrontherapyRBEAccumulable::Initialize().
|
inline |
Definition at line 117 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 117 of file HadrontherapyRBE.hh
References fNumberOfVoxelsAlongX.
|
inline |
Definition at line 118 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 118 of file HadrontherapyRBE.hh
References fNumberOfVoxelsAlongY.
|
inline |
Definition at line 119 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 119 of file HadrontherapyRBE.hh
References fNumberOfVoxelsAlongZ.
|
inline |
Definition at line 87 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 87 of file HadrontherapyRBE.hh
References fVerboseLevel.
Referenced by HadrontherapyRunAction::BeginOfRunAction(), and HadrontherapyRBEAccumulable::GetVerboseLevel().
Definition at line 125 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 125 of file HadrontherapyRBE.hh
References fNumberOfVoxelsAlongY, fNumberOfVoxelsAlongZ, and k.
|
inline |
Definition at line 69 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 69 of file HadrontherapyRBE.hh
References fAccumulate.
Referenced by HadrontherapyRunAction::EndOfRunAction().
|
inline |
Definition at line 66 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 66 of file HadrontherapyRBE.hh
References fCalculationEnabled.
Referenced by HadrontherapyRunAction::BeginOfRunAction(), and HadrontherapyRunAction::EndOfRunAction().
Definition at line 139 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 139 of file HadrontherapyRBE.cc
References field_utils::copy(), elements, FatalException, fTablesAlpha, fTablesAlphaX, fTablesBeta, fTablesBetaX, fTablesDoseCut, fTablesEnergy, fVerboseLevel, G4cout, G4endl, G4Exception(), gray, incremental_prev_tag::idx, in, MeV, pos(), and split().
Referenced by CreateMessenger().
void HadrontherapyRBE::PrintParameters | ( | ) |
Definition at line 102 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 102 of file HadrontherapyRBE.cc
References fActiveCellLine, fAlphaX, fBetaX, fDoseCut, G4cout, G4endl, and gray.
Referenced by HadrontherapyRunAction::BeginOfRunAction().
void HadrontherapyRBE::Reset | ( | ) |
Definition at line 568 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 568 of file HadrontherapyRBE.cc
References fAlphaNumerator, fBetaNumerator, fDenominator, fDose, fVerboseLevel, G4cout, and G4endl.
Referenced by CreateMessenger(), and SetAccumulationEnabled().
Definition at line 750 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 750 of file HadrontherapyRBE.cc
References fAccumulate, and Reset().
Referenced by CreateMessenger().
void HadrontherapyRBE::SetAlphaNumerator | ( | const array_type | alpha | ) |
Definition at line 435 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 435 of file HadrontherapyRBE.cc
References alpha, fAlphaNumerator, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
void HadrontherapyRBE::SetBetaNumerator | ( | const array_type | beta | ) |
Definition at line 444 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 444 of file HadrontherapyRBE.cc
References fBetaNumerator, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
Definition at line 745 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 745 of file HadrontherapyRBE.cc
References fCalculationEnabled.
Referenced by CreateMessenger().
Definition at line 251 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 251 of file HadrontherapyRBE.cc
References fActiveCellLine, fActiveTableAlpha, fActiveTableBeta, fActiveTableEnergy, fAlphaX, FatalException, fBetaX, fDoseCut, fMaxEnergies, fMaxZ, fMinEnergies, fMinZ, fTablesAlpha, fTablesAlphaX, fTablesBeta, fTablesBetaX, fTablesDoseCut, fTablesEnergy, fVerboseLevel, G4cout, G4endl, and G4Exception().
Referenced by CreateMessenger().
void HadrontherapyRBE::SetDenominator | ( | const array_type | denom | ) |
Definition at line 405 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 405 of file HadrontherapyRBE.cc
References denom, fDenominator, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
Definition at line 765 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 765 of file HadrontherapyRBE.cc
References fDoseScale, and scale.
Referenced by CreateMessenger().
void HadrontherapyRBE::SetEnergyDeposit | ( | const array_type | eDep | ) |
Definition at line 495 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 495 of file HadrontherapyRBE.cc
References fDose, fDoseScale, fMassOfVoxel, fVerboseLevel, G4cout, and G4endl.
Referenced by HadrontherapyRunAction::EndOfRunAction().
Definition at line 86 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 86 of file HadrontherapyRBE.hh
References fVerboseLevel.
Referenced by CreateMessenger().
void HadrontherapyRBE::StoreAlphaAndBeta | ( | ) |
Definition at line 524 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 524 of file HadrontherapyRBE.cc
References ComputeAlphaAndBeta(), fAlpha, fAlphaBetaPath, fBeta, fNumberOfVoxelsAlongX, fNumberOfVoxelsAlongY, fNumberOfVoxelsAlongZ, fVerboseLevel, G4cout, G4endl, gray, L, and width.
Referenced by HadrontherapyRunAction::EndOfRunAction().
void HadrontherapyRBE::StoreRBE | ( | ) |
Definition at line 546 of file HadrontherapyRBE.cc.
View newest version in sPHENIX GitHub at line 546 of file HadrontherapyRBE.cc
References ComputeRBE(), fDose, fDoseX, fLnS, fNumberOfVoxelsAlongX, fNumberOfVoxelsAlongY, fNumberOfVoxelsAlongZ, fRBE, fRBEPath, fSurvival, fVerboseLevel, G4cout, G4endl, gray, and width.
Referenced by HadrontherapyRunAction::EndOfRunAction().
Definition at line 165 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 165 of file HadrontherapyRBE.hh
Referenced by IsAccumulationEnabled(), and SetAccumulationEnabled().
|
private |
Definition at line 194 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 194 of file HadrontherapyRBE.hh
Referenced by PrintParameters(), and SetCellLine().
|
private |
Definition at line 197 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 197 of file HadrontherapyRBE.hh
Referenced by SetCellLine().
|
private |
Definition at line 198 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 198 of file HadrontherapyRBE.hh
Referenced by SetCellLine().
|
private |
Definition at line 195 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 195 of file HadrontherapyRBE.hh
Referenced by GetHitAlphaAndBeta(), and SetCellLine().
|
private |
Definition at line 168 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 168 of file HadrontherapyRBE.hh
Referenced by ComputeAlphaAndBeta(), ComputeRBE(), and StoreAlphaAndBeta().
|
private |
Definition at line 154 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 154 of file HadrontherapyRBE.hh
Referenced by StoreAlphaAndBeta().
|
private |
Definition at line 172 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 172 of file HadrontherapyRBE.hh
Referenced by AddAlphaNumerator(), ComputeAlphaAndBeta(), Reset(), and SetAlphaNumerator().
|
private |
Definition at line 148 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 148 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), PrintParameters(), and SetCellLine().
|
private |
Definition at line 169 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 169 of file HadrontherapyRBE.hh
Referenced by ComputeAlphaAndBeta(), ComputeRBE(), and StoreAlphaAndBeta().
|
private |
Definition at line 173 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 173 of file HadrontherapyRBE.hh
Referenced by AddBetaNumerator(), ComputeAlphaAndBeta(), Reset(), and SetBetaNumerator().
|
private |
Definition at line 149 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 149 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), PrintParameters(), and SetCellLine().
Definition at line 164 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 164 of file HadrontherapyRBE.hh
Referenced by IsCalculationEnabled(), and SetCalculationEnabled().
|
private |
Definition at line 174 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 174 of file HadrontherapyRBE.hh
Referenced by AddDenominator(), ComputeAlphaAndBeta(), Reset(), and SetDenominator().
|
private |
Definition at line 170 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 170 of file HadrontherapyRBE.hh
Referenced by AddEnergyDeposit(), ComputeRBE(), Reset(), SetEnergyDeposit(), and StoreRBE().
|
private |
Definition at line 150 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 150 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), PrintParameters(), and SetCellLine().
|
private |
Definition at line 151 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 151 of file HadrontherapyRBE.hh
Referenced by AddEnergyDeposit(), SetDoseScale(), and SetEnergyDeposit().
|
private |
Definition at line 179 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 179 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), and StoreRBE().
|
private |
Definition at line 177 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 177 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), and StoreRBE().
|
private |
Definition at line 160 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 160 of file HadrontherapyRBE.hh
Referenced by AddEnergyDeposit(), and SetEnergyDeposit().
Definition at line 199 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 199 of file HadrontherapyRBE.hh
Referenced by GetHitAlphaAndBeta(), and SetCellLine().
|
private |
Definition at line 202 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 202 of file HadrontherapyRBE.hh
Referenced by GetHitAlphaAndBeta(), and SetCellLine().
|
private |
Definition at line 141 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 141 of file HadrontherapyRBE.hh
Referenced by CreateMessenger(), and ~HadrontherapyRBE().
Definition at line 200 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 200 of file HadrontherapyRBE.hh
Referenced by GetHitAlphaAndBeta(), and SetCellLine().
|
private |
Definition at line 201 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 201 of file HadrontherapyRBE.hh
Referenced by GetHitAlphaAndBeta(), and SetCellLine().
|
private |
Definition at line 159 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 159 of file HadrontherapyRBE.hh
Referenced by ComputeRBE().
|
private |
Definition at line 158 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 158 of file HadrontherapyRBE.hh
Referenced by GetNumberOfVoxelsAlongX(), HadrontherapyRBE(), StoreAlphaAndBeta(), and StoreRBE().
|
private |
Definition at line 158 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 158 of file HadrontherapyRBE.hh
Referenced by GetNumberOfVoxelsAlongY(), Index(), StoreAlphaAndBeta(), and StoreRBE().
|
private |
Definition at line 158 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 158 of file HadrontherapyRBE.hh
Referenced by GetNumberOfVoxelsAlongZ(), Index(), StoreAlphaAndBeta(), and StoreRBE().
|
private |
Definition at line 180 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 180 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), and StoreRBE().
|
private |
Definition at line 155 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 155 of file HadrontherapyRBE.hh
Referenced by StoreRBE().
|
private |
Definition at line 178 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 178 of file HadrontherapyRBE.hh
Referenced by ComputeRBE(), and StoreRBE().
|
private |
Definition at line 186 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 186 of file HadrontherapyRBE.hh
Referenced by LoadLEMTable(), and SetCellLine().
Definition at line 188 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 188 of file HadrontherapyRBE.hh
Referenced by LoadLEMTable(), and SetCellLine().
|
private |
Definition at line 187 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 187 of file HadrontherapyRBE.hh
Referenced by LoadLEMTable(), and SetCellLine().
Definition at line 189 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 189 of file HadrontherapyRBE.hh
Referenced by LoadLEMTable(), and SetCellLine().
Definition at line 190 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 190 of file HadrontherapyRBE.hh
Referenced by LoadLEMTable(), and SetCellLine().
|
private |
Definition at line 184 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 184 of file HadrontherapyRBE.hh
Referenced by LoadLEMTable(), and SetCellLine().
|
private |
Definition at line 145 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 145 of file HadrontherapyRBE.hh
Referenced by AddAlphaNumerator(), AddBetaNumerator(), AddDenominator(), AddEnergyDeposit(), ComputeAlphaAndBeta(), ComputeRBE(), GetHitAlphaAndBeta(), GetVerboseLevel(), LoadLEMTable(), Reset(), SetAlphaNumerator(), SetBetaNumerator(), SetCellLine(), SetDenominator(), SetEnergyDeposit(), SetVerboseLevel(), StoreAlphaAndBeta(), and StoreRBE().
|
private |
Definition at line 142 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 142 of file HadrontherapyRBE.hh
|
staticprivate |
Definition at line 144 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 144 of file HadrontherapyRBE.hh
|
private |
Definition at line 162 of file HadrontherapyRBE.hh.
View newest version in sPHENIX GitHub at line 162 of file HadrontherapyRBE.hh
Referenced by HadrontherapyRBE(), and ~HadrontherapyRBE().