Message: Daughter Physical Volume is entirely outside mother logical Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Daughter Physical Volume is entirely outside mother logical 

Forum: Geometry
Date: 08 Feb, 2010
From: Amanda Leung <Amanda Leung>

I am trying to create two box and put them right next to each other. (No gaps in between the two box.

G4Box* box = new G4Box("outBox", 1, 13, 13); G4LogicalVolume* outLog = new G4LogicalVolume(box, Si, outLog, 0, 0, 0);

G4Box* inBox = new G4Box(inBox", 1, 13, 13); G4LogicalVolume* inLog = new G4LogicalVolume(inBox, Si, inLog", 0, 0, 0);

G4LogicalVolume* phys = new G4PVPlacement(0, G4ThreeVector(1,0,0), inLog, "Sensor",outLog,false,0);

But it is giving an error saying "Daughter Physical Volume Sensor is entirely outside mother logical outLog".

My question is, Can you put the daughter entirely outside the mother volume? If not, In this case, if I want to put both box right next to each other. I will have to create a third box, and place these two boxes inside it, so they become next to each other?

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

1 None: Re: Daughter Physical Volume is entirely outside mother logical   (Vladimir Grichine - 08 Feb, 2010)
2 None: Re: Daughter Physical Volume is entirely outside mother logical   (Marc Verderi - 09 Feb, 2010)
 Add Message Add Message
to: "Daughter Physical Volume is entirely outside mother logical"

 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 ]