GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » Some of LandFirstHits are empty - Neutrons simulation.
Some of LandFirstHits are empty - Neutrons simulation. [message #18523] Mon, 21 September 2015 11:18 Go to next message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
Dear Christiaan,

The answer to your problem with fraction of NeuLAND First Hits being not filled, when performing a neutron simulation.
I have also observed this issue.
The first thing I did - place only NeuLAND geometry inside of cave filled with vacuum. The fraction of empty data was reduced. Obviously, there are scattered neutrons on the way to NeuLAND, which are not considered as primaries.
Second - I made the wrapping volumes also active. This has shown that all FirstHits are recorded.
Explanation: stepping function is called only for active volumes (scintillators), and not for passive ones.

Best regards,
Dima
Re: Some of LandFirstHits are empty - Neutrons simulation. [message #18524 is a reply to message #18523] Mon, 21 September 2015 12:34 Go to previous messageGo to next message
C. A. Douma is currently offline  C. A. Douma
Messages: 88
Registered: September 2015
Location: Groningen
continuous participant
From: *kvi-cart.rug.nl
Thank you for checking this. Could you tell me how to make the wrapping volumes active?
Then I can adapt this according to my needs.

Christiaan.
Re: Some of LandFirstHits are empty - Neutrons simulation. [message #18525 is a reply to message #18524] Mon, 21 September 2015 13:09 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
It is defined in function CheckIfSensitive() - file R3BLand.cxx, line number 451. You have to implement the check whether string volName contains "wrapping", and return kTRUE in this case.

NOTE: this will produce LandPoints also for wrapping volumes, which does not really make sense. To avoid it: implement at line 151 (after call to StepHistory()) check whether volume name contains "wrapping". If yes - make return kTRUE. This will store FirstHits but not the points.

Best regards,
Dima
Previous Topic: [NeuLAND] New Neuland Digitizer
Next Topic: Info about NeuLAND simulations
Goto Forum:
  


Current Time: Fri Dec 06 16:03:40 CET 2024

Total time taken to generate the page: 0.00640 seconds