Message: Re: Parallel World Sensitive Detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Parallel World Sensitive Detector 

Forum: Geometry
Re: Question Parallel World Sensitive Detector (Nicholas Kinnaird)
Date: 23 Oct, 2015
From: Makoto Asai <Makoto Asai>

Hello,

Could you please let us know which version you are using and whether you use multithreaded mode or sequential mode.

One thing that draws my attention is you instantiate "Vacuum" twice. I'm not sure this is "the" origin of the issue, but in your MyParallelWorld.cc

   //Vacuum
   G4double a = 1.*g/mole;
   G4double density = 1.E-9*g/cm3;
   G4double z;
   G4Material* Vacuum = new G4Material("Vacuum", z=1., a, density);

should read

   G4Material* Vacuum = G4Material::GetMaterial("Vacuum");

If you have vis.mac or similar visualization macro file to visualize your geometry, I would suggest you to add
 
  /vis/drawVolume worlds

command before any "/vis/scene" command to see your parallel world volumes.

Hope this helps,
Makoto

 Add Message Add Message
to: "Re: Parallel World Sensitive Detector"

 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 ]