Open piotrkon opened 9 years ago
For 15 MeV alphas in 1bar iC4H10 with standard cut on Delta electron (1mm)
...and for infinite cut on Delta electrons (10km)
We can see that the contribution of non ionizing energy is negligible (1/1000) and also if we make an infinite cut GetDeltaEnergy() and GetTotalEnergyDeposit() are the same.
The same thing with 12C, in standard cut (1mm)
And 10km cut
Once again NonIonizingEnergy is negligible. However the Delta electrons produced have a bigger contribution to the energy deposit in the gas. That's why it is preferable to use GetDeltaEnergyDeposit().
If we have a closer look to the electrons produce we see that some have enough energy to travel further of the track. Using GetDeltaEnergyDeposit() we take into account their contribution to the energy deposit but we consider they are produce from the track. So it can somehow biased the pad charge profile making the track looks thinner.
So the ideal solution would be to track not only the scattered particle, but also the electron produce in GEANT4 and use the GetTotalEnergyDeposit(). Another good reason to do this is because when we use GetDeltaEnergy() we have this warning message :
-------- WWWW ------- G4Exception-START -------- WWWW ------- * G4Exception : Warning issued by : G4Step::GetDeltaEnergy() This method is obsolete and will be removed soon * This is just a warning message. *** -------- WWWW -------- G4Exception-END --------- WWWW -------
So maybe in the future version of GEANT4 this will be removed.
For the time being we continue using the equivalent to GetDeltaEnergy() but to avoid the warning we define directly G4double edep = -(aStep->GetPostStepPoint()->GetKineticEnergy() - aStep->GetPreStepPoint()->GetKineticEnergy())/MeV; which is exactly the same, without calling the (close to be deprecated) function.
For getting the energy deposit in the gas we use now the function GetDeltaEnergyDeposit(). It is indeed the energy difference between the two step point. The function called before was GetTotalEnergyDeposit() which gives the total energy deposit in the gas for the tracked particle. The problem of this previous function is that it doesn't take into account the contribution of the delta electrons produce to the energy deposit in the gas.
Since we use this energy to calculate the number of electrons drifting to the pad plane, I'm wondering is it a good method to estimate the energy deposit in the gas?
Actually there is another function called GetNonIonizingEnergyDeposit() which gives the energy deposit in the gas not by ionization. So what is recommended to get the energy deposit by ionization is GetTotalEnergyDeposit()-GetNonIonizingEnergyDeposit().
I looked at the contribution of the NonIonizingEnergyDeposit and also the difference between total and delta energy deposit.