AWAKE example broken after merge with fieldmaps

Issue #160 resolved
Jochem Snuverink created an issue

The AWAKE examples "Component-AwakeSpectrometer" and "AWAKE" are broken. I believe these used to work before the awake branch was merged into fieldmaps.

AWAKE fails with (http://abp-cdash.web.cern.ch/abp-cdash/testDetails.php?test=138332&build=30081):

Error: parser> unknown option "prodCutPhotonsP" with value 1e-05

"Component-AwakeSpectrometer" fails with (http://abp-cdash.web.cern.ch/abp-cdash/testDetails.php?test=138333&build=30081):

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : GeomSolids0002
      issued by : G4Box::G4Box()
Dimensions too small for Solid: binderLayer_1_solid!
     hX, hY, hZ = 500, 40, 0
*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***

Comments (2)

  1. Laurie Nevay

    I've fixed the region syntax error from the parser but the component fails due to various parameters being inf, nan and 0. There's clearly a bug somewhere in the initialisation of parameters - I'll look at this tomorrow.

  2. Laurie Nevay

    This was fixed with commit #3957b06. The screenPSize parameter was not specified and therefore a screen layer - 'binder layer' - in the BDSAwakeSpectrometer was created with 0 length, causing G4Box to throw an exception.

  3. Log in to comment