Message: Problem with G4PVReplica Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem with G4PVReplica 

Forum: Geometry
Date: 28 Oct, 2010
From: Chaw <Chaw>


Can you help me? I have an error:

ERROR - G4SmartVoxelHeader::BuildReplicaVoxels() Illegal axis !

*** G4Exception : FatalError issued by : G4SmartVoxelHeader::BuildReplicaVoxels() Illegal axis. *** Fatal Exception *** core dump ***

My programming:

//Experimental hall (world volume)

G4double expHall_x = 3*m; G4double expHall_y = 1.*m; G4double expHall_z = 1.*m; G4Box* experimentalHall_box = new G4Box("expHall_box",expHall_x,expHall_y,expHall_z); experimentalHall_log = new G4LogicalVolume(experimentalHall_box,Air,"expHall_log",0,0,0); experimentalHall_log->SetVisAttributes(G4VisAttributes::Invisible); // for visualisation experimentalHall_phys = new G4PVPlacement(0,G4ThreeVector(),experimentalHall_log,"expHall",0,false,0);


G4double inter_x=0.; G4double inter_y=0.; G4double inter_z = 10.*mm;

//pixel size G4double x_x=6.66*mm; G4double y_y=6.66*mm;

G4Box* inter_box = new G4Box("inter_box",x_x,y_y,inter_z); inter_log=new G4LogicalVolume(inter_box,Germanium,"inter_log",0,0,0);

G4VisAttributes* inter_vis = new G4VisAttributes(G4Colour(1.0,1.0,1.0)); inter_log->SetVisAttributes(inter_vis); //inter_phys = new G4PVPlacement(0,0,inter_log,"inter",experimentalHall_log,false,0);

pixels_phys= new G4PVReplica("pixels_phys",inter_log,experimentalHall_log,kXAxis,6,x_x,0);

Another question, i would like to add another axis but i don't know...


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

1 None: Re: Problem with G4PVReplica   (michel maire - 31 Oct, 2010)
 Add Message Add Message
to: "Problem with G4PVReplica"

 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 ]