35 #ifndef HadrontherapyMatrix_H
36 #define HadrontherapyMatrix_H 1
52 std::string::size_type
len;
65 G4int numberOfVoxelAlongY,
66 G4int numberOfVoxelAlongZ,
113 #ifdef G4ANALYSIS_USE_ROOT
114 void StoreDoseFluenceRoot();
122 G4int GetNvoxel(){
return numberOfVoxelAlongX*numberOfVoxelAlongY*numberOfVoxelAlongZ;}
130 G4int numberOfVoxelAlongX;
131 G4int numberOfVoxelAlongY;
132 G4int numberOfVoxelAlongZ;
141 std::vector <ion> ionStore;
std::string::size_type len
G4bool operator<(const ion &a) const
G4int Index(G4int i, G4int j, G4int k)
G4int GetNumberOfVoxelAlongX()
void StoreDoseFluenceAscii(G4String filename="")
G4int GetNumberOfVoxelAlongY()
static HadrontherapyMatrix * GetInstance()
void StoreMatrix(G4String file, void *data, size_t psize)
G4int GetNumberOfVoxelAlongZ()
G4int * GetHitTrack(G4int i, G4int j, G4int k)
G4bool Fill(G4int, G4ParticleDefinition *particleDef, G4int i, G4int j, G4int k, G4double energyDeposit, G4bool fluence=false)
void TotalEnergyDeposit()
const XML_Char const XML_Char * data