Message: Re: G4ExtrudedSolid: What are the rules for Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: G4ExtrudedSolid: What are the rules for  

Forum: Geometry
Re: Question G4ExtrudedSolid: What are the rules for "legal" or "illegal" vectors of points? (Forrest Iandola)
Re: None Re: G4ExtrudedSolid: What are the rules for (Ivana Hrivnacova)
Re: Question Re: G4ExtrudedSolid: What are the rules for (Forrest Iandola)
Date: 24 May, 2012
From: Forrest Iandola <Forrest Iandola>

Also, one quick note to people who might read this thread in the future:

Experimentally, I've found that the tracking/navigation system gives many "track stuck" warnings if the the halfZ ("hz") parameter is negative in this constructor:

    G4ExtrudedSolid(const G4String& pName, std::vector polygon, G4double hz, G4TwoVector off1, G4double scale1, G4TwoVector	off2, G4double scale2)

Making hz positive (just take absolute value) fixes this issue. I'm mentioning this because "negative hz" was the cause of a track stuck bug in my code that took me a while to diagnose.

Forrest

P.S. when I say "track stuck" warning, this is the type of thing that I'm talking about:

          Track stuck, not moving for 10 steps
          in volume -World- at point (-6.41861,3.27125,18.2093)
          direction: (-0.00207597,-0.00480723,-0.999986).
          Potential geometry or navigation problem !
          Trying pushing it of 1e-07 mm ...

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

1 None: Re: G4ExtrudedSolid: What are the rules for   (Ivana Hrivnacova - 25 May, 2012)
 Add Message Add Message
to: "Re: G4ExtrudedSolid: What are the rules for "

 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 ]