Message: more info: geometry definition Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None more info: geometry definition 

Forum: Geometry
Re: Question bug in tracking through concentric spherical layers? (Scott Nutter)
Date: 15 Jan, 2009
From: Scott Nutter <Scott Nutter>

I forgot to include the definitions of my sphere sections. All the relevant stuff is included (I hope):

G4VPhysicalVolume* sphere_phys[1000]; 
for (G4int i = 1; i <= sizeofAtmosphere ; i++) {
  G4Sphere* sphere = new G4Sphere(spherenum,RMin, RMax, 0.*deg, 360.*deg, 0.*deg, 90.*deg );
 sphere_log[i-1]= new G4LogicalVolume(sphere,Air[i-1],spherelognum,0,0,0);
 sphere_phys[i-1] = new G4PVPlacement(0, G4ThreeVector(0., 0., 0.), sphere_log[i-1], atmlayer,experimentalHall_log, false, 0);
}

Scott

 Add Message Add Message
to: "more info: geometry definition"

 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 ]