Message: Re: G4EllipticalCone understanding problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4EllipticalCone understanding problem 

Forum: Geometry
Re: Question G4EllipticalCone understanding problem (Matthew Szydagis)
Re: None Re: G4EllipticalCone understanding problem (Tatiana Nikitina)
Date: 22 Nov, 2011
From: Matthew Szydagis <Matthew Szydagis>

ok, so I did:

G4double coneRadiusTop = 3.1877*cm; G4double coneRadiusBot = 2.54*cm; G4double semiAxis = (coneRadiusTop-coneRadiusBot)/reflectorHeight; G4double zHeight = (coneRadiusTop+coneRadiusBot)/(2.*semiAxis);

G4EllipticalCone *space_solid = new G4EllipticalCone("space_solid", semiAxis,semiAxis,zHeight,reflectorHeight/2.); space_log = new G4LogicalVolume(space_solid,spaceMaterial,"space_log");

And I get a volume overlap error when trying to make these cones the daughter volume of an object (the "reflector") of height of reflector (0.599*cm). The volume overlap goes away if I shrink zHeight by a mysterious 1.7342 mm but messes the cone dimensions up completely. Any ideas?

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

1 None: Re: G4EllipticalCone understanding problem   (Tatiana Nikitina - 24 Nov, 2011)
(_ None: Re: G4EllipticalCone understanding problem   (Matthew Szydagis - 24 Nov, 2011)
 Add Message Add Message
to: "Re: G4EllipticalCone understanding problem"

 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 ]