System : Linux, MacOs, Windows? linux
REST version : v2.2.8
hi everyone .
recently I have use the REST to simlute 50MeV eletron in a detector.
I have simlute the 3000 Event. but the program need too much time to execution. It almost spend me one day to do that. and then I have add some process to extract the information of hits. like TRestG4ToHits and so on. the program has finished but the root file is 54GB .this spend me one day also. when I open the root to see the Hits Event the program is broken down.
REST ERROR (OpenInputFile) : AnalysisTree was not found
In summary first I need to know is there any way to accelerate the speed of simlution process?
the second is weather can I simlute the high energy eletron ?like 100Mev, 500Mev etc.
thanks for your help in advance!
yours lujian
The number of hits you produce is probably quite high. You may try to use a larger step using maxTargetStepSize
, it depends on your application and the medium you are using.
<parameter name="maxTargetStepSize" value="200" units="um" />
Try to change that parameter by 1cm
, for example.
You may also increase the values at which secondary tracks are produced.
<parameter name="cutForGamma" value="1" units="um" />
<parameter name="cutForElectron" value="1" units="um" />
<parameter name="cutForPositron" value="1" units="mm" />
Try to change those by 1mm
, for example.
Those tricks should reduce the number of hits.