27 #ifndef HadrontherapyLet_h
28 #define HadrontherapyLet_h 1
93 std::ofstream stopFile;
95 G4int nVoxels, numberOfVoxelAlongX, numberOfVoxelAlongY, numberOfVoxelAlongZ ;
96 G4double primaryEnergy, energyLimit, binWidth;
99 G4double nSecondaryT, nSecondaryD, dSecondaryT, dSecondaryD;
100 G4double nPrimaryT, nPrimaryD, dPrimaryT, dPrimaryD ;
102 G4double *secondaryLetT, *secondaryLetD, *totalLetT, *DtotalLetD, *totalLetD;
105 std::vector<ionLet> ionLetStore;
static G4bool doCalculation
void FillEnergySpectrum(G4int trackID, G4ParticleDefinition *particleDef, G4double DE, G4double DX, G4int i, G4int j, G4int k)
static HadrontherapyLet * GetInstance()
void Fill(G4int i, G4int j, G4int k, G4double DE, G4double DX)
G4bool operator<(const ionLet &a) const