Message: some help with this geometry? It's driving me crazy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None some help with this geometry? It's driving me crazy 

Forum: Geometry
Date: 23 Feb, 2008
From: haori <haori@umich.edu>

it's a very simple replica.

the error I get is:

ERROR - G4SmartVoxelHeader::BuildReplicaVoxels()
        Replicated geometry, logical volume: Container

*** G4Exception : FatalError
      issued by : G4SmartVoxelHeader::BuildReplicaVoxels
Sanity check: wrong solid extent.
*** Fatal Exception *** core dump ***

*** G4Exception: Aborting execution ***


The code:

   //Container
    G4Box* container_solid=new G4Box("Container",NUMOFR*BAR_WIDTHX/2*cm, BAR_WIDTHY/2*cm, BAR_THICKNESS/2*cm); // Geometry
	G4LogicalVolume* container_logic=new G4LogicalVolume(container_solid, Air, "Container", 0, 0, 0); // Materiales	
	G4VPhysicalVolume* container_physics=new G4PVPlacement(0,               	// Sin rotacion
						  G4ThreeVector(0.*cm, 0.*cm, -DISTANCE*cm), 								// En 0 0 0
						  container_logic,      								// Mi volumen logico
						  "Container",  										// Name
						  room_logic,               								// Mother
						  false,           								// Sin op. bool.
						  0);              								// Copy number


    //Bar
	G4Box* bar_solid=new G4Box("Bar",BAR_WIDTHX/2*cm, BAR_WIDTHY/2*cm, BAR_THICKNESS/2*cm); // Geometry
	G4LogicalVolume* bar_logic=new G4LogicalVolume(bar_solid, NaI, "Bar", 0, 0, 0); // Materiales	
    G4VPhysicalVolume* bar_physics=new G4PVReplica("Bar",		//its name
      											bar_logic,	//its logical volume
      											container_logic,	//its mother
												kXAxis,		//axis of replication
												NUMOFR,	//number of replica
												BAR_WIDTHX);	//witdth of replica

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

1 Question: Re: some help with this geometry? It's driving me crazy   (Gabriele Cosmo - 27 Feb, 2008)
 Add Message Add Message
to: "some help with this geometry? It's driving me crazy"

 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 ]