|Message: grid_test behaviour in geant4.9.0.p01||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I had a problem with the ILC simulation software Mokka, and I managed to reproduce it with novice example N04: My DetectorConstruction builds 2 nested G4Boxes that have borders in common, as follows:
============================================================= G4VSolid * calorimeter = new G4Box("calorimeter",100.0*mm,100.0*mm,100.0*mm); G4LogicalVolume * calorimeter_log = new G4LogicalVolume(calorimeter,Scinti,"calo_L",0,0,0);
G4VSolid * caloLayer = new G4Box("caloLayer",50.0*mm,50.0*mm,50.0*mm); G4LogicalVolume * caloLayer_log = new G4LogicalVolume(caloLayer,Lead,"caloR_L",0,0,0); G4ThreeVector layerPos(50.0*mm,-50.0*mm,-50.0*mm); new G4PVPlacement(0,layerPos,caloLayer_log,"caloL_P", calorimeter_log,false,0); =============================================================
With this geometry, when I run /geometry/test/grid_test true
I get a message saying that
GeomTest Error: Overshooting daughter volume The volume caloL_P appears to extend outside the mother volume caloM_P at the following points in global coordinates: (list truncated) length (cm) ---------- start position (cm) ----------- ----------- end position (cm) ------------ 10 0 -10 -10 0 0 -10 10 2 -10 -10 2 0 -10 10 ...
This happens while compiling with geant4.9.0.p01 but not with geant4.8.3.
While looking at the above code, we can see that caloL_P is not outside its mother volume.
Did I do anything wrong here?
Thank you for your help!
Gabriel Musat (firstname.lastname@example.org)
|Inline Depth:||Outline Depth:||Add message:|