Geant4
10.01.p02
|
#include <IORTMatrix.hh>
Public Member Functions | |
~IORTMatrix () | |
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 | TotalEnergyDeposit () |
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 IORTMatrix * | GetInstance () |
static IORTMatrix * | GetInstance (G4int nX, G4int nY, G4int nZ, G4double mass) |
Static Public Attributes | |
static G4bool | secondary = false |
Private Member Functions | |
IORTMatrix (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 IORTMatrix * | instance = NULL |
Definition at line 66 of file IORTMatrix.hh.
|
private |
Definition at line 74 of file IORTMatrix.cc.
References ClearHitTrack(), FatalException, G4cout, G4endl, G4Exception(), hitTrack, massOfVoxel, matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by GetInstance().
IORTMatrix::~IORTMatrix | ( | ) |
Definition at line 102 of file IORTMatrix.cc.
References Clear(), hitTrack, and matrix.
void IORTMatrix::Clear | ( | ) |
Definition at line 111 of file IORTMatrix.cc.
References ionStore.
Referenced by Initialize(), and ~IORTMatrix().
void IORTMatrix::ClearHitTrack | ( | ) |
Definition at line 145 of file IORTMatrix.cc.
References hitTrack, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by IORTMatrix().
G4bool IORTMatrix::Fill | ( | G4int | trackID, |
G4ParticleDefinition * | particleDef, | ||
G4int | i, | ||
G4int | j, | ||
G4int | k, | ||
G4double | energyDeposit, | ||
G4bool | fluence = false |
||
) |
Definition at line 161 of file IORTMatrix.cc.
References A, ion::dose, ion::fluence, Index(), ionStore, massOfVoxel, name, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, and secondary.
Definition at line 390 of file IORTMatrix.cc.
References Index(), and matrix.
Definition at line 150 of file IORTMatrix.cc.
References hitTrack, and Index().
|
static |
Definition at line 61 of file IORTMatrix.cc.
References instance.
Referenced by IORTEventAction::EndOfEventAction(), main(), IORTDetectorSD::ProcessHits(), IORTAnalysisFileMessenger::SetNewValue(), and IORTDetectorConstruction::UpdateGeometry().
|
static |
Definition at line 67 of file IORTMatrix.cc.
References Initialize(), instance, and IORTMatrix().
|
inline |
Definition at line 125 of file IORTMatrix.hh.
References matrix.
|
inline |
Definition at line 129 of file IORTMatrix.hh.
References numberOfVoxelAlongX.
|
inline |
Definition at line 130 of file IORTMatrix.hh.
References numberOfVoxelAlongY.
|
inline |
Definition at line 131 of file IORTMatrix.hh.
References numberOfVoxelAlongZ.
|
inline |
Definition at line 127 of file IORTMatrix.hh.
References numberOfVoxelAlongZ.
Definition at line 122 of file IORTMatrix.hh.
Referenced by Fill(), GetHitTrack(), StoreDoseFluenceAscii(), and StoreMatrix().
void IORTMatrix::Initialize | ( | ) |
Definition at line 123 of file IORTMatrix.cc.
References Clear(), matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by GetInstance().
void IORTMatrix::PrintNuclides | ( | ) |
Definition at line 136 of file IORTMatrix.cc.
void IORTMatrix::StoreDoseData | ( | ) |
Definition at line 280 of file IORTMatrix.cc.
References ionStore, name, and StoreMatrix().
void IORTMatrix::StoreDoseFluenceAscii | ( | G4String | filename = "" | ) |
Definition at line 291 of file IORTMatrix.cc.
References a, doseUnit, filename, G4cout, G4endl, Index(), ionStore, left, massOfVoxel, matrix, n, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, ofs, secondary, stdFile, and width.
void IORTMatrix::StoreFluenceData | ( | ) |
Definition at line 273 of file IORTMatrix.cc.
References ionStore, name, and StoreMatrix().
void IORTMatrix::StoreMatrix | ( | G4String | file, |
void * | data, | ||
size_t | psize | ||
) |
Definition at line 241 of file IORTMatrix.cc.
References G4endl, Index(), n, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, and ofs.
Referenced by StoreDoseData(), and StoreFluenceData().
void IORTMatrix::TotalEnergyDeposit | ( | ) |
Definition at line 399 of file IORTMatrix.cc.
|
private |
Definition at line 148 of file IORTMatrix.hh.
Referenced by StoreDoseFluenceAscii().
|
private |
Definition at line 142 of file IORTMatrix.hh.
Referenced by StoreDoseFluenceAscii().
|
private |
Definition at line 141 of file IORTMatrix.hh.
Referenced by ClearHitTrack(), GetHitTrack(), IORTMatrix(), and ~IORTMatrix().
|
staticprivate |
Definition at line 134 of file IORTMatrix.hh.
Referenced by GetInstance().
|
private |
Definition at line 146 of file IORTMatrix.hh.
Referenced by Clear(), Fill(), PrintNuclides(), StoreDoseData(), StoreDoseFluenceAscii(), and StoreFluenceData().
|
private |
Definition at line 138 of file IORTMatrix.hh.
Referenced by Fill(), IORTMatrix(), and StoreDoseFluenceAscii().
|
private |
Definition at line 140 of file IORTMatrix.hh.
Referenced by Fill(), GetMatrix(), Initialize(), IORTMatrix(), StoreDoseFluenceAscii(), and ~IORTMatrix().
|
private |
Definition at line 135 of file IORTMatrix.hh.
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongX(), Initialize(), IORTMatrix(), StoreDoseFluenceAscii(), and StoreMatrix().
|
private |
Definition at line 136 of file IORTMatrix.hh.
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongY(), Initialize(), IORTMatrix(), StoreDoseFluenceAscii(), and StoreMatrix().
|
private |
Definition at line 137 of file IORTMatrix.hh.
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongZ(), GetNvoxel(), Initialize(), IORTMatrix(), StoreDoseFluenceAscii(), and StoreMatrix().
|
private |
Definition at line 143 of file IORTMatrix.hh.
Referenced by StoreDoseFluenceAscii(), and StoreMatrix().
|
static |
Definition at line 83 of file IORTMatrix.hh.
Referenced by Fill(), and StoreDoseFluenceAscii().
|
private |
Definition at line 142 of file IORTMatrix.hh.
Referenced by StoreDoseFluenceAscii().