Geant4
10.01.p01
|
#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 | 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 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 61 of file HadrontherapyMatrix.hh.
|
private |
Definition at line 63 of file HadrontherapyMatrix.cc.
References ClearHitTrack(), FatalException, G4cout, G4endl, G4Exception(), hitTrack, massOfVoxel, matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by GetInstance().
HadrontherapyMatrix::~HadrontherapyMatrix | ( | ) |
Definition at line 91 of file HadrontherapyMatrix.cc.
References Clear(), hitTrack, and matrix.
void HadrontherapyMatrix::Clear | ( | ) |
Definition at line 100 of file HadrontherapyMatrix.cc.
References ionStore.
Referenced by Initialize(), and ~HadrontherapyMatrix().
void HadrontherapyMatrix::ClearHitTrack | ( | ) |
Definition at line 134 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 150 of file HadrontherapyMatrix.cc.
References A, ion::dose, ion::fluence, Index(), ionStore, name, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, and secondary.
Definition at line 379 of file HadrontherapyMatrix.cc.
References Index(), and matrix.
Definition at line 139 of file HadrontherapyMatrix.cc.
References hitTrack, and Index().
|
static |
Definition at line 50 of file HadrontherapyMatrix.cc.
References instance.
Referenced by HadrontherapyEventAction::EndOfEventAction(), HadrontherapyLet::HadrontherapyLet(), main(), HadrontherapyDetectorSD::ProcessHits(), HadrontherapyAnalysisFileMessenger::SetNewValue(), and HadrontherapyDetectorConstruction::UpdateGeometry().
|
static |
Definition at line 56 of file HadrontherapyMatrix.cc.
References HadrontherapyMatrix(), Initialize(), and instance.
|
inline |
Definition at line 120 of file HadrontherapyMatrix.hh.
References matrix.
|
inline |
Definition at line 124 of file HadrontherapyMatrix.hh.
References numberOfVoxelAlongX.
|
inline |
Definition at line 125 of file HadrontherapyMatrix.hh.
References numberOfVoxelAlongY.
|
inline |
Definition at line 126 of file HadrontherapyMatrix.hh.
References numberOfVoxelAlongZ.
|
inline |
Definition at line 122 of file HadrontherapyMatrix.hh.
References numberOfVoxelAlongZ.
Definition at line 117 of file HadrontherapyMatrix.hh.
Referenced by Fill(), GetHitTrack(), StoreDoseFluenceAscii(), StoreMatrix(), and TotalEnergyDeposit().
void HadrontherapyMatrix::Initialize | ( | ) |
Definition at line 112 of file HadrontherapyMatrix.cc.
References Clear(), matrix, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
Referenced by GetInstance().
void HadrontherapyMatrix::PrintNuclides | ( | ) |
Definition at line 125 of file HadrontherapyMatrix.cc.
void HadrontherapyMatrix::StoreDoseData | ( | ) |
Definition at line 269 of file HadrontherapyMatrix.cc.
References ionStore, name, and StoreMatrix().
void HadrontherapyMatrix::StoreDoseFluenceAscii | ( | G4String | filename = "" | ) |
Definition at line 280 of file HadrontherapyMatrix.cc.
References a, doseUnit, filename, G4cout, G4endl, Index(), ionStore, left, massOfVoxel, matrix, n, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, ofs, secondary, stdFile, and width.
void HadrontherapyMatrix::StoreFluenceData | ( | ) |
Definition at line 262 of file HadrontherapyMatrix.cc.
References ionStore, name, and StoreMatrix().
void HadrontherapyMatrix::StoreMatrix | ( | G4String | file, |
void * | data, | ||
size_t | psize | ||
) |
Definition at line 230 of file HadrontherapyMatrix.cc.
References G4endl, Index(), n, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ, and ofs.
Referenced by StoreDoseData(), and StoreFluenceData().
void HadrontherapyMatrix::TotalEnergyDeposit | ( | ) |
Definition at line 388 of file HadrontherapyMatrix.cc.
References doseUnit, HadrontherapyAnalysisManager::GetInstance(), Index(), massOfVoxel, matrix, n, numberOfVoxelAlongX, numberOfVoxelAlongY, and numberOfVoxelAlongZ.
|
private |
Definition at line 143 of file HadrontherapyMatrix.hh.
Referenced by StoreDoseFluenceAscii(), and TotalEnergyDeposit().
|
private |
Definition at line 137 of file HadrontherapyMatrix.hh.
Referenced by StoreDoseFluenceAscii().
|
private |
Definition at line 136 of file HadrontherapyMatrix.hh.
Referenced by ClearHitTrack(), GetHitTrack(), HadrontherapyMatrix(), and ~HadrontherapyMatrix().
|
staticprivate |
Definition at line 129 of file HadrontherapyMatrix.hh.
Referenced by GetInstance().
|
private |
Definition at line 141 of file HadrontherapyMatrix.hh.
Referenced by Clear(), Fill(), PrintNuclides(), StoreDoseData(), StoreDoseFluenceAscii(), and StoreFluenceData().
|
private |
Definition at line 133 of file HadrontherapyMatrix.hh.
Referenced by HadrontherapyMatrix(), StoreDoseFluenceAscii(), and TotalEnergyDeposit().
|
private |
Definition at line 135 of file HadrontherapyMatrix.hh.
Referenced by Fill(), GetMatrix(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), TotalEnergyDeposit(), and ~HadrontherapyMatrix().
|
private |
Definition at line 130 of file HadrontherapyMatrix.hh.
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongX(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), StoreMatrix(), and TotalEnergyDeposit().
|
private |
Definition at line 131 of file HadrontherapyMatrix.hh.
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongY(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), StoreMatrix(), and TotalEnergyDeposit().
|
private |
Definition at line 132 of file HadrontherapyMatrix.hh.
Referenced by ClearHitTrack(), Fill(), GetNumberOfVoxelAlongZ(), GetNvoxel(), HadrontherapyMatrix(), Initialize(), StoreDoseFluenceAscii(), StoreMatrix(), and TotalEnergyDeposit().
|
private |
Definition at line 138 of file HadrontherapyMatrix.hh.
Referenced by StoreDoseFluenceAscii(), and StoreMatrix().
|
static |
Definition at line 78 of file HadrontherapyMatrix.hh.
Referenced by Fill(), and StoreDoseFluenceAscii().
|
private |
Definition at line 137 of file HadrontherapyMatrix.hh.
Referenced by StoreDoseFluenceAscii().