ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyMatrix.hh>
Public Member Functions | |
~HadrontherapyMatrix () | |
void | PrintNuclides () |
void | ClearHitTrack () |
G4int * | GetHitTrack (G4int i, G4int j, G4int k) |
void | Initialize () |
void | Clear () |
G4bool | Fill (G4int, G4ParticleDefinition *particleDef, G4int i, G4int j, G4int k, G4double energyDeposit, G4bool fluence=false) |
void | Fill (G4int i, G4int j, G4int k, G4double energyDeposit) |
void | StoreMatrix (G4String file, void *data, size_t psize) |
void | StoreFluenceData () |
void | StoreDoseData () |
void | StoreDoseFluenceAscii (G4String filename="") |
G4int | Index (G4int i, G4int j, G4int k) |
G4double * | GetMatrix () |
G4int | GetNvoxel () |
G4int | GetNumberOfVoxelAlongX () |
G4int | GetNumberOfVoxelAlongY () |
G4int | GetNumberOfVoxelAlongZ () |
Static Public Member Functions | |
static HadrontherapyMatrix * | GetInstance () |
static HadrontherapyMatrix * | GetInstance (G4int nX, G4int nY, G4int nZ, G4double mass) |
Static Public Attributes | |
static G4bool | secondary = false |
Private Member Functions | |
HadrontherapyMatrix (G4int numberOfVoxelAlongX, G4int numberOfVoxelAlongY, G4int numberOfVoxelAlongZ, G4double massOfVoxel) | |
Private Attributes | |
G4int | numberOfVoxelAlongX |
G4int | numberOfVoxelAlongY |
G4int | numberOfVoxelAlongZ |
G4double | massOfVoxel |
G4double * | matrix |
G4int * | hitTrack |
G4String | stdFile |
G4String | filename |
std::ofstream | ofs |
std::vector< ion > | ionStore |
G4double | doseUnit |
Static Private Attributes | |
static HadrontherapyMatrix * | instance = NULL |
Definition at line 97 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 97 of file HadrontherapyMatrix.hh
|
private |
Definition at line 88 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 88 of file HadrontherapyMatrix.cc
References ClearHitTrack(), FatalException, G4cout, G4endl, G4Exception(), hitTrack, mass, massOfVoxel, matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by GetInstance().
HadrontherapyMatrix::~HadrontherapyMatrix | ( | ) |
Definition at line 123 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 123 of file HadrontherapyMatrix.cc
References Clear(), hitTrack, and matrix.
void HadrontherapyMatrix::Clear | ( | ) |
Definition at line 131 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 131 of file HadrontherapyMatrix.cc
References ionStore.
Referenced by Initialize(), and ~HadrontherapyMatrix().
void HadrontherapyMatrix::ClearHitTrack | ( | ) |
Definition at line 170 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 170 of file HadrontherapyMatrix.cc
References hitTrack, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by HadrontherapyMatrix().
G4bool HadrontherapyMatrix::Fill | ( | G4int | trackID, |
G4ParticleDefinition * | particleDef, | ||
G4int | i, | ||
G4int | j, | ||
G4int | k, | ||
G4double | energyDeposit, | ||
G4bool | fluence = false |
||
) |
Definition at line 190 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 190 of file HadrontherapyMatrix.cc
References A(), ion::dose, ion::fluence, Index(), ionStore, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, secondary, and Z.
Definition at line 408 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 408 of file HadrontherapyMatrix.cc
References Index(), and matrix.
Definition at line 177 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 177 of file HadrontherapyMatrix.cc
References hitTrack, and Index().
|
static |
Definition at line 71 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 71 of file HadrontherapyMatrix.cc
References instance.
Referenced by HadrontherapyEventAction::EndOfEventAction(), HadrontherapyLet::HadrontherapyLet(), main(), HadrontherapyDetectorSD::ProcessHits(), HadrontherapyAnalysisFileMessenger::SetNewValue(), and HadrontherapyDetectorConstruction::UpdateGeometry().
|
static |
Definition at line 79 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 79 of file HadrontherapyMatrix.cc
References HadrontherapyMatrix(), Initialize(), and instance.
|
inline |
Definition at line 156 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 156 of file HadrontherapyMatrix.hh
References matrix.
|
inline |
Definition at line 160 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 160 of file HadrontherapyMatrix.hh
References numberOfVoxelAlongX.
|
inline |
Definition at line 161 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 161 of file HadrontherapyMatrix.hh
References numberOfVoxelAlongY.
|
inline |
Definition at line 162 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 162 of file HadrontherapyMatrix.hh
References numberOfVoxelAlongZ.
|
inline |
Definition at line 158 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 158 of file HadrontherapyMatrix.hh
References numberOfVoxelAlongZ.
Definition at line 153 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 153 of file HadrontherapyMatrix.hh
References k.
Referenced by Fill(), GetHitTrack(), StoreDoseFluenceAscii(), and StoreMatrix().
void HadrontherapyMatrix::Initialize | ( | ) |
Definition at line 144 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 144 of file HadrontherapyMatrix.cc
References Clear(), matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by GetInstance().
void HadrontherapyMatrix::PrintNuclides | ( | ) |
Definition at line 159 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 159 of file HadrontherapyMatrix.cc
void HadrontherapyMatrix::StoreDoseData | ( | ) |
Definition at line 322 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 322 of file HadrontherapyMatrix.cc
References dose, ionStore, and StoreMatrix().
Definition at line 336 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 336 of file HadrontherapyMatrix.cc
References a, doseUnit, filename, G4cout, G4endl, Index(), ionStore, k, left, massOfVoxel, matrix, n, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, ofs, secondary, stdFile, and width.
void HadrontherapyMatrix::StoreFluenceData | ( | ) |
Definition at line 313 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 313 of file HadrontherapyMatrix.cc
References ionStore, and StoreMatrix().
Definition at line 275 of file HadrontherapyMatrix.cc.
View newest version in sPHENIX GitHub at line 275 of file HadrontherapyMatrix.cc
References G4endl, Index(), k, n, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, and ofs.
Referenced by StoreDoseData(), and StoreFluenceData().
|
private |
Definition at line 179 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 179 of file HadrontherapyMatrix.hh
Referenced by StoreDoseFluenceAscii().
|
private |
Definition at line 173 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 173 of file HadrontherapyMatrix.hh
Referenced by StoreDoseFluenceAscii().
|
private |
Definition at line 172 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 172 of file HadrontherapyMatrix.hh
Referenced by ClearHitTrack(), GetHitTrack(), HadrontherapyMatrix(), and ~HadrontherapyMatrix().
|
staticprivate |
Definition at line 165 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 165 of file HadrontherapyMatrix.hh
Referenced by GetInstance().
|
private |
Definition at line 177 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 177 of file HadrontherapyMatrix.hh
Referenced by Clear(), Fill(), PrintNuclides(), StoreDoseData(), StoreDoseFluenceAscii(), and StoreFluenceData().
|
private |
Definition at line 169 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 169 of file HadrontherapyMatrix.hh
Referenced by HadrontherapyMatrix(), and StoreDoseFluenceAscii().
|
private |
Definition at line 171 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 171 of file HadrontherapyMatrix.hh
Referenced by Fill(), GetMatrix(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), and ~HadrontherapyMatrix().
|
private |
Definition at line 166 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 166 of file HadrontherapyMatrix.hh
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongX(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), and StoreMatrix().
|
private |
Definition at line 167 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 167 of file HadrontherapyMatrix.hh
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongY(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), and StoreMatrix().
|
private |
Definition at line 168 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 168 of file HadrontherapyMatrix.hh
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongZ(), GetNvoxel(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), and StoreMatrix().
|
private |
Definition at line 174 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 174 of file HadrontherapyMatrix.hh
Referenced by StoreDoseFluenceAscii(), and StoreMatrix().
Definition at line 114 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 114 of file HadrontherapyMatrix.hh
Referenced by Fill(), and StoreDoseFluenceAscii().
|
private |
Definition at line 173 of file HadrontherapyMatrix.hh.
View newest version in sPHENIX GitHub at line 173 of file HadrontherapyMatrix.hh
Referenced by StoreDoseFluenceAscii().