AIDASoft / DD4hep

Detector Description Toolkit for High Energy Physics
http://dd4hep.cern.ch
GNU Lesser General Public License v3.0
49 stars 95 forks source link

Error in GFLash test #1153

Closed andresailer closed 1 year ago

andresailer commented 1 year ago
[snip]
Gun              INFO  Particle [0] e+           Mom:50.000 GeV vertex:( 0.000  0.000  0.000)[mm] direction:(-0.634  0.485 -0.603)
ParticleHandler  INFO  +++ Event 0 Begin event action. Access event related information.
Gun              INFO  Particle [0] e+           Mom:50.000 GeV vertex:( 0.000  0.000  0.000)[mm] direction:(-0.202  0.068  0.977)
ParticleHandler  INFO  +++ Event 1 Begin event action. Access event related information.
Geant4Kernel     FATAL +++ Exception while simulating: BitFieldElement 'x': out of range : -2147483648 for width 12
Geant4Kernel     INFO  ++ Terminate Geant4 and delete associated actions.
RootOutput       INFO  +++ Closing ROOT output file SiliconBlock_GFlash_2023-08-03_19-49.root
andresailer commented 1 year ago

Somewhere we get some NANs for the position of a hit

221: void dd4hep::sim::TrackerCombine::start(const dd4hep::sim::Geant4FastSimSpot*)
221: Spot  x=    22.0924 y=    2.24376 z=    249.554 energy 0
221: X ID-4
221: Y ID0
221: void dd4hep::sim::TrackerCombine::start(const dd4hep::sim::Geant4FastSimSpot*)
221: Spot  x=        nan y=        nan z=        nan energy 52.8525
221: X ID-2147483648
221: Y ID-2147483648