Message: Range cuts and hit generation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Range cuts and hit generation 

Keywords: cuts, hits
Forum: Hits, Digitization and Pileup
Date: 11 Jun, 2003
From: Kate Ross <jezzebel_kr@yahoo.com>

Hello,

I have created a detector that has many small spheres (droplets with radii<1*mm) as the sensitive detectors. I wanted to put a max step value on these spheres, in order to monitor carefully the energy that is deposited in each one.

I have used the following code to set a specific cut value, in my DetectorConstruction.cc:

G4double maxStep = 0.1*mm; droplet_log->SetUserLimits(new G4UserLimits(maxStep));

The problem is that when any specific cut is set, there is an error message and an abortion after only a few hits are generated! The error message is:

-----------------------------------------------------------
    *** Dump for solid - droplet ***
    ===================================================
 Solid type: G4Sphere
 Parameters:
    inner radius: 0 mm
    outer radius: 0.0850065 mm
    starting phi of segment  : 0 degrees
    delta phi of segment     : 360 degrees
    starting theta of segment: 0 degrees
    delta theta of segment   : 180 degrees
-----------------------------------------------------------
Position:

p.x() = -0.0006890730625936925 mm p.y() = -0.002898995338824761 mm p.z() = 0.09993094979978423 mm

Direction:

v.x() = -0.02301604325057479 v.y() = 0.03179745399227318 v.z() = 0.9992292948431291

Proposed distance :

snxt = 9e+99 mm

G4Sphere::DistanceToOut() - Invalid enum

*** G4Exception: Aborting execution *** Abort (core dumped)

-----------------------------------------------------------

When the cut value is left as the default (ie, 1 mm), everything is fine. Does anyone know what could be the remedy to this situation?

Thanks so much!

-Kate

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

1 None: Re: Range cuts and hit generation   (Vladimir Grichine - 17 Jun, 2003)
1 More: Re: Range cuts and hit generation   (Kate Ross - 19 Jun, 2003)
2 None: Re: Range cuts and hit generation   (Jo User - 18 Aug, 2003)
 Add Message Add Message
to: "Range cuts and hit generation"

 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 ]