Open hervasa2 opened 1 month ago
Looks like G4EmStandardPhysics_option4
works well and only causes a modest slowdown ~ 1.5-2 times slower
window = 0.002
bw = 0.00025
plot(stephist(sum.(events.edep), bins = 1593.002-window:bw:1593.002+window),
stephist(sum.(events.edep), bins = 2104.001-window:bw:2104.001+window),
size = (1500,500)
)
Double and single escape peaks with with G4EmStandardPhysics_option4
Double and single escape peaks with with G4EmStandardPhysics
Having doppler broadening in would be very useful when simulating calibration spectra, for example.
As for the electrical field effects on particle propagation, can you estimate if this will result in non-negligible corrections?
We should also be able it easy for the user to select the physics model with an option, right?
As for the electrical field effects on particle propagation, can you estimate if this will result in non-negligible corrections?
Yes I was wondering about this. We know that the shift of the single escape peak is about 0.1keV (source) which is definitely observable. However I think we can ignore it for practical purposes. As for any other effects (i.e. shift of positron annihilation position due to drift, charged particle tracks...) its hard to say a priori.
Let's split this - user selectable physics lists should be easy to do, while incorporating the electrical field will be more involved (are you interested in pursuing this @hervasa2 ?).
Yes, I will work on selectable physics lists next week! See you at volleyball!
@hervasa2 don't worry about the physics lists, @fhagemann will do this over the weekend or so, it's quick thing.
Incorporating the electrical field seems like a different best though, someone will need to contribute this.
Full integration of SSD and geant4 could include the use of the electric field calculated by SSD. Particle propagation in Geant4 can then occur in the presence of this field. Field dependent spectrum effects (i.e. shift of single escape peak) could thus be simulated. This would also require switching to
G4EmStandardPhysics_option4
https://github.com/JuliaPhysics/SolidStateDetectors.jl/blob/30584dc6abab01085e47bcb21ad6672a7fe3896c/ext/Geant4/g4jl_application.jl#L5 which should then also include doppler broadening effects (not captured by StandardPhysics). We would need some speed tests for this change.I see two possible ways of passing the field to Geant4.
fFieldManager = GetGlobalFieldManager();
UpdateIntegrator(); fFieldMessenger = new F02FieldMessenger(this); }