Message: Error when inactivating Cerenkov process with neutrons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Error when inactivating Cerenkov process with neutrons 

Forum: Processes Involving Optical Photons
Date: 05 Jul, 2011
From: Zach Hartwig <Zach Hartwig>

Hi all,

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:

  /process/inactivate Cerenkov

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:

  /gps/particle neutron

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!

~ZSH

 Add Message Add Message
to: "Error when inactivating Cerenkov process with neutrons"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews