|Message: Error when inactivating Cerenkov process with neutrons||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I would like to deactivate the Cerenkov process at runtime to perform certain validation tests. The Cerenkov process is constructed in my physics list with the default G4OpticalPhysics builder class in the standard way. I deactivate the Cerenkov process from the command line via:
and then run initial particles. If I use gammas as the initial particle interacting with my scintillator there is no problem; however, if I switch to neutrons on the command line with:
and then run particles, I get the error:
G4ProcessTable::Insert : arguments are 0 pointer
printed several time (for each initial neutron).
This problem is reproduceable by compiling and running the Geant4 example $G4INSTALL/examples/extended/optical/wls. Simply execute the program and type:
/process/inactivate Cerenkov /gps/particle neutron /run/beamOn 100
The error message will appear amidst the output.
Can anyone shed light on why this error is occuring? Presumably (if one traces the error to the G4ProcessTable class) the Cerenkov process or neutron process manager is not available...?
A similar (unresolved) post similar to this issue appears here: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/opticalphotons/291.html
I use geant4.9.4.p02 compiled on RHEL5 with gcc-4.1.2. Physics are built via the Geant4 builder methods in my derived G4ModularPhysicsList (QGSP_BIC, G4OpticalPhysics, etc).
Thank you in advance!