29 #ifndef HadrontherapyMatrix_H
30 #define HadrontherapyMatrix_H 1
46 std::string::size_type
len;
59 G4int numberOfVoxelAlongY,
60 G4int numberOfVoxelAlongZ,
107 #ifdef G4ANALYSIS_USE_ROOT
108 void StoreDoseFluenceRoot();
116 G4int GetNvoxel(){
return numberOfVoxelAlongX*numberOfVoxelAlongY*numberOfVoxelAlongZ;}
124 G4int numberOfVoxelAlongX;
125 G4int numberOfVoxelAlongY;
126 G4int numberOfVoxelAlongZ;
135 std::vector <ion> ionStore;
std::string::size_type len
G4bool operator<(const ion &a) const
std::vector< ExP01TrackerHit * > a
G4int Index(G4int i, G4int j, G4int k)
G4int GetNumberOfVoxelAlongX()
void StoreDoseFluenceAscii(G4String filename="")
const XML_Char const XML_Char * data
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()