Message: Placement works, Replica not? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Placement works, Replica not?  

Forum: Geometry
Date: 17 Aug, 2007
From: Holger Gottschlag <>


I do not know, what this Error message wants to tell me.. 
I placed a Replica "Absorber" into "Layer". (see code below)
/geometry/test/recursive_test leads to the following message:

Idle> /geometry/test/recursive_test
ERROR - G4SmartVoxelHeader::BuildReplicaVoxels()
        Replicated geometry, logical volume: Layer

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

*** G4Exception: Aborting execution ***

When i replace the G4Replica "Absorber" with a G4PVPlacement
it works fine... (but that can not be the solution..!?)

Does anyone know, what i did wrong or what the error message wants to tell me? 

Thanks in advance! 

PS: here my code: 
  // Layer
      solidLayer = new G4Box("Layer",			//its name
                       LayerThickness/2,CalorSizeYZ/2,CalorSizeYZ/2); //size
      logicLayer = new G4LogicalVolume(solidLayer,	//its solid
                                       GapMaterial,	//its material
                                       "Layer");	//its name
        physiLayer = new G4PVReplica("Layer",		//its name
      				     logicLayer,	//its logical volume
      				     logicCalor,	//its mother
                                     kXAxis,		//axis of replication
                                     8,	                //number of replica
                                     LayerThickness);	//witdth of replica
  // Absorber
  solidAbsorber=0; logicAbsorber=0; physiAbsorber=0;
  solidAbsorber = new G4Box("Absorber",	
  logicAbsorber = new G4LogicalVolume(solidAbsorber,    //its solid
    	                  	      AbsorberMaterial, //its material
   	                  	     AbsorberMaterial->GetName());       //its name
  physiAbsorber = new G4PVReplica("Absorber",          //name
				   logicAbsorber,      //logic Volume
				   logicLayer,        //mother
				   kXAxis,            //axis of replication
				   2,                 //numbers of replications
				   (AbsorberThickness+GapThickness));  	//width	

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

1 More: Re: Placement works, Replica not?   (Gabriele Cosmo - 28 Aug, 2007)
(_ Feedback: Re: Placement works, Replica not?   (Holger Gottschlag - 28 Aug, 2007)
 Add Message Add Message
to: "Placement works, Replica not? "

 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 ]