Re: Geometry Debugging, RPP, and RCC

From: Stefan Roesler (sroesler@mail.cern.ch)
Date: Sat Nov 03 2007 - 19:57:18 CET

  • Next message: Chris Theis: "RE: Geometry Debugging, RPP, and RCC"

    Hi Gabriel

    Be careful, RCC are defined by the coordinates of the center of one
    circular face (first three parameters) and a vector *starting at that
    face* and pointing to the other face (parameters 4-6).

    In your case, e.g.

    RCC CC00W00 0.0 0.0 0.55 0.0 0.0 1.55 5.0

    is a cylinder along z from z=0.55 to z=2.1 (and not from z=0.55 to z=1.55
    as for the equivalent RPP).

    Regards
    Stefan

    On Fri, 2 Nov 2007, Gabriel Perdue wrote:

    > Hello,
    >
    > I have the following geometry defined in free form. The alignment may look a
    > tad funny, but that is just the font of my mail program. I believe everything
    > that needs to be aligned is aligned correctly. (I have attached my .inp file
    > just in case.)
    >
    >
    > *...+....1....+....2....+....3....+....4....+....5....+....6....+....
    > 7....+....8
    > GEOBEGIN COMBINAT
    > 0 0 A simple detector
    > *...+....1....+....2....+....3....+....4....+....5....+....6....+....
    > 7....+....8
    > SPH BlakHole 0.000 0.000 0.000 5000.000
    > SPH World 0.000 0.000 0.000 3000.000
    > *RPP CC00 -5.000 5.000 -5.000 5.000 0.000 1.550
    > *RPP CC00S00 -5.000 5.000 -5.000 5.000 0.050 0.550
    > *RPP CC00W00 -5.000 5.000 -5.000 5.000 0.550 1.550
    > *RPP CC00VS00 -0.500 0.500 -0.500 0.500 0.050 0.550
    > RCC CC00 0.0 0.0 0.00 0.0 0.0 1.55 5.0
    > RCC CC00S00 0.0 0.0 0.05 0.0 0.0 0.55 5.0
    > RCC CC00W00 0.0 0.0 0.55 0.0 0.0 1.55 5.0
    > RCC CC00VS00 0.0 0.0 0.05 0.0 0.0 0.55 0.5
    > END
    > *...+....1....+....2....+....3....+....4....+....5....+....6....+....
    > 7....+....8
    > R01bh 2 +BlakHole -World
    > R02World 2 +World -CC00
    > R03CC00 3 +CC00 -( | +CC00S00 | +CC00W00 )
    > R04CC00S 3 +CC00S00 -CC00VS00
    > R05CC00W 3 +CC00W00
    > R06CC00V 3 +CC00VS00
    > END
    > *...+....1....+....2....+....3....+....4....+....5....+....6....+....
    > 7....+....8
    > *GEOEND
    > GEOEND 25.0 25.0 4.0 -25.0 -25.0 -1.0DEBUG
    > GEOEND 100.0 100.0 10000.0 &
    > *...+....1....+....2....+....3....+....4....+....5....+....6....+....
    > 7....+....8
    >
    > When I run with this geometry, I get many copies of this sort of error message
    > from the geometry de-bugger:
    >
    > **** Lookdb: Geometry error found ****
    > **** The point: 1.E-10 -5. 0.55 ****
    > **** is contained in more than 1 region ****
    > **** (regions: 4 R04CC00S 5 R05CC00W ) ****
    >
    > However, when I uncomment the RPP shapes above, and comment out the RCC
    > shapes, everything appears to work well, and the geometry debugger provides no
    > error messages. I believe the (free form) definitions of the RCC shapes I am
    > using is correct. I could maybe understand if there were an error in both
    > cases here, but only seeing this error for the RCC shapes has me puzzled.
    >
    > Does anyone know what might be causing this sort of error? Thanks!
    >
    > pax
    > Gabe Perdue
    >
    >

    -- 
    ___________________________________
    Stefan Roesler
    CERN, SC/RP
    CH-1211 Geneva 23
    Switzerland
    Phone:  +41-22-7679891
    Fax:    +41-22-7669639
    E-mail: Stefan.Roesler@cern.ch
    

  • Next message: Chris Theis: "RE: Geometry Debugging, RPP, and RCC"

    This archive was generated by hypermail 2.1.6 : Sun Nov 04 2007 - 11:04:41 CET