Skip to content

Epithermal and fast neutron interactions / sapphire filter #131

Answered by tkittel
9klaud asked this question in Q&A
Discussion options

You must be logged in to vote

Hi again.

So first of all, it seems to me from the numbers you quote above, that although you have created NCrystal-G4Materials in your Geant4 setup, you have not actually enabled the NCrystal process in the physics list. Have a look at the last lines in the example at https://github.com/mctools/ncrystal/blob/master/examples/ncrystal_example_g4sim.cc for how you must do this. Specifically, you must invoke G4NCrystal::installOnDemand() after runmanager initialize, and before the beamon. And once again, this will currently not work with Geant4 in MT mode.

Concerning the actual NCrystal settings for the sapphire filter, I thought it sounded interesting enough that I went and created a little…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@9klaud
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@tkittel
Comment options

Answer selected by tkittel
@9klaud
Comment options

@tkittel
Comment options

@9klaud
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python geant4 algorithms Issues related to physics algorithms
2 participants