ActarSimGroup / Actarsim

ACTARSIM, a simulation package developed to determine the response of the ACTAR-TPC Active Target and other similar Active Target projects, as well as their ancillary detectors.
http://igfae.usc.es/~genp/actarsim_doxygen/
2 stars 13 forks source link

Physics List #11

Open hapol opened 9 years ago

hapol commented 9 years ago

[NOTE: this is a copy of the original issue from Piotr, sent 25/11/14 and lost when moving the group]

I've made some tests of the physics libraries and compare the longitudinal range, straggling and radial range. As I was using ionGasModel combine to emstandardphysics_opt3 because it resolved the problem we had on the energy fluctuations in the elastic reaction 13Cpp13C, I wanted to see why this model works fine. Here are the physics libraries that I was comparing :

emstandard : the standard electromagnetic library in Geant4 emstandard_opt3 : G4IonParametrisedLossModel used for ion ionisation based on ICRU73 ion stopping data and G4NuclearStopping process added. emLivermore : based on the Livermore low-energy electromagnetic model. ionGasModel : only used in TestEm7 exemple. It was created specialy for low-density gas volume to disable the effective charge approach of the ion. In the example it used on top of emstandard library. Here are the range values of a 60MeV 12C beam :

in H2_STP (0.084 mg/cm3)

42a69b90-74d1-11e4-8dac-98c8aa6a9ac4

in D2_STP (0.167 mg/cm3)

573e2622-74d1-11e4-8ef9-bf6d5ac590eb

in iC4H10STP (2.67 mg/cm3)

6e0399fa-74d1-11e4-81b8-de05b840b16f

As the ActarSim physics libraries are based on Gamma therapy example, I noticed that in addition to the electromagnetic library one can add a specific ion library (ionstandard which load the HadrontherapyIonStandard library) and a stopping library (G4StoppingPhysics).

I tested these extentions with ionGasModel in iC4H10 and it seems that ionStandard library doesn't work fine.

1e150b3a-74d2-11e4-86cf-3496cfe65c07

hapol commented 9 years ago

[NOTE: this is a copy of the original issue response from Yassid, sent 26/11/14 and lost when moving the group]

Hi Piotr

Thank you very much for the nice report. I have a question about these plots. When you use IonGasModel, do you use it together with any other library? I understood from the email that the good results are obtained when you combine ionGasModel+emstandardphysics_opt3 but from the plots I infer that only one library at a time was used for each calculation.

Best regards Yassid

hapol commented 9 years ago

[NOTE: this is a copy of the original issue response from Piotr, sent 26/11/14 and lost when moving the group]

Hi Yassid, In TestEm7, ionGasModel is set as an emPhysiclibrary, combined with emstandardphysics(_opt0), that's why I used this way here. I am looking if there is no incompatibility with other emlibraries but I think it is ok. In the actual version of ActarSim, ionGasModel is set as a add-on to the emlibrary and maybe it is better to use it like this. I will have a look at the range of ionGasModel + emstandardphysics_opt3 how are the ranges of ions.

hapol commented 9 years ago

[NOTE: this is a copy of the original issue response from Piotr, sent 26/11/14 and lost when moving the group]

Ok so I updated the plots with the combination emstandard_opt3 + ionGasModel

For H2STP :

8e791e14-756a-11e4-93e2-8d21d571bccd

D2STP :

dbe1c174-756a-11e4-9dfb-68b213992f56

and iC4H10:

e6826e4e-756a-11e4-805f-7471c6fa98d5

hapol commented 9 years ago

[NOTE: this is a copy of the original issue response from Piotr, sent 26/11/14 and lost when moving the group]

Since ionGasModel set the ionisation model to BraggIonGas and BetheBlochGas Models, I will set it as an add-on to the emphysicslibrary, with a flag to be sure that we use it after defining the emlibrary.

emstandardphysics_opt3 seems more accurate since it use the nuclear stopping process but I noticed that there is no electron coulombScattering process included as in emstandard.

Now there is another library I didn't mentioned, it is emstandardphysics_opt4. Indeed I have a problem when I use it for H2 and D2_STP, it stop working after loading the msc process for electron. But it works for iC4H10 gas so maybe there is a problem for low density gas. Anyway opt3 should be enough (opt4 differs mainly for electron process).

hapol commented 9 years ago

[NOTE: this is a copy of the original issue response from Piotr, sent 27/11/14 and lost when moving the group]

I found a problem using the ionGasModel : the electron cut gives weird results. I wanted to cut off the delta electrons by putting a huge cut on them (/ActarSim/phys/setECut 10 km) but the track become very short. In fact above 2 mm cut the ion track is changing and there are less steps. You can see the track of a 80MeV Carbon12 in iC4H10 using ionGasModel + opt3 :

for a 1mm cut :

a78ec210-762c-11e4-92fc-cecd8d3dcf26

2mm :

ac6f9660-762c-11e4-9d8e-0b7e2dfad1ff

3mm :

b2cb3d7a-762c-11e4-9dd8-2dc217442338

10 km :

b70216ca-762c-11e4-886b-73d67fa0cd53

When I use only emstandardphysics_opt3, here are the tracks :

for 1 mm :

16a425b8-762e-11e4-9340-4cbae895a67b

3 mm :

1c3d308c-762e-11e4-80d1-1de4ff8b2b6f

10 km :

1fb3e03a-762e-11e4-8c62-8921ce452096

I don't know why it behave like that but if we can't turn off the delta electrons (or at least reduce there number) without changing the track length, maybe ionGasModel willl be not suitable for our simulations, despite it has the best agreement with TRIM. I will try to see if we can fix that and also we should compare ActarSim to the real datas to see which physics library we should use.