Message: Modified simulation of example2, G4Box::DistanceToOut() - Invalid enum error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Modified simulation of example2, G4Box::DistanceToOut() - Invalid enum error 

Keywords: G4Box::DistanceToOut() error
Forum: Documentation and Examples
Date: 08 Mar, 2005
From: Joel <Joel>

Hello Geant users.

I have a problem when I run my modified simulation of example2, I have changed the experiment setup to 6 sensitive detectors and 2 targets of Pb and U, and the beam is a muon beam with different energy and angle distrubution. I have Geant 4.5.1 and gcc 3.2.2. When running in tracking/verbose 1 mode I get this message after about 10000-200000 beams. How can I get more information to identify the problem?

*********************************************************************************************************
* G4Track Information:   Particle = e-,   Track ID = 1652,   Parent ID = 330
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0   22.8 cm   1.39 cm   9.64 mm   52.4 keV     0 eV      0 fm      0 fm      Target2    initStep
    1   22.8 cm   1.39 cm   9.64 mm 6.94e-12 eV   52.4 keV  9.12 mum  9.12 mum     Target2       eIoni

*********************************************************************************************************
* G4Track Information:   Particle = e-,   Track ID = 1651,   Parent ID = 330
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0   22.1 cm    1.5 cm   1.29 cm   79.1 keV     0 eV      0 fm      0 fm       Target    initStep
    1   22.1 cm    1.5 cm   1.29 cm 1.39e-11 eV   79.1 keV  18.3 mum  18.3 mum      Target       eIoni

*********************************************************************************************************
* G4Track Information:   Particle = e-,   Track ID = 1650,   Parent ID = 330
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0   22.4 cm   2.01 cm   1.64 cm   16.4 keV     0 eV      0 fm      0 fm       Target    initStep
    1   22.4 cm   2.01 cm   1.64 cm 1.04e-11 eV   16.4 keV  1.27 mum  1.27 mum      Target       eIoni

*********************************************************************************************************
* G4Track Information:   Particle = e-,   Track ID = 1649,   Parent ID = 330
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
    0   22.5 cm   2.11 cm   1.86 cm   1.75 MeV     0 eV      0 fm      0 fm       Target    initStep
    1   22.5 cm   2.11 cm   1.87 cm   1.32 MeV   336 keV   160 mum   160 mum      Target       eBrem
    :----- List of 2ndaries - #SpawnInStep=  1(Rest= 0,Along= 0,Post= 1), #SpawnTotal=  1 ---------------
    :   22.5 cm   2.11 cm   1.87 cm   97.1 keV     gamma
    :----------------------------------------------------------------- EndOf2ndaries Info ---------------
    2   22.5 cm   2.11 cm   1.86 cm    749 keV   570 keV   591 mum   751 mum      Target  Transportation

-----------------------------------------------------------
    *** Dump for solid - target2 ***
    ===================================================
 Solid type: G4Box
 Parameters:
    half length X: 25 mm
    half length Y: 50 mm
    half length Z: 100 mm
-----------------------------------------------------------
Position:

p.x() = -25 mm p.y() = 21.07725639596608 mm p.z() = 18.56755754589639 mm

Direction: 

v.x() = 0 v.y() = 0 v.z() = 0

Proposed distance :

snxt = 9e+99 mm

G4Box::DistanceToOut() - Invalid enum

*** G4Exception: Aborting execution ***

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Modified simulation of example2, G4Box::DistanceToOut() - Invalid enum error   (Makoto Asai - 09 Mar, 2005)
 Add Message Add Message
to: "Modified simulation of example2, G4Box::DistanceToOut() - Invalid enum error"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]