Message: [SOVLED] Parallel World, Sensitive Detector and Standard Physics Lists Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok [SOVLED] Parallel World, Sensitive Detector and Standard Physics Lists 

Forum: Geometry
Re: Question Parallel World, Sensitive Detector and Standard Physics Lists (Patrik Eschle)
Date: 24 Jun, 2014
From: Patrik Eschle <Patrik Eschle>

The registration of parallel worlds with standard pyhsics lists is solved in examples/extended/runAndEvent/RE04:

 RE04DetectorConstruction* realWorld = new RE04DetectorConstruction;
 RE04ParallelWorldConstruction* parallelWorld
   = new RE04ParallelWorldConstruction(paraWorldName);
 realWorld->RegisterParallelWorld(parallelWorld);
 runManager->SetUserInitialization(realWorld);
 //
 G4VModularPhysicsList* physicsList = new FTFP_BERT;
 physicsList->RegisterPhysics
       (new G4ParallelWorldPhysics(paraWorldName,true));
 runManager->SetUserInitialization(physicsList);

Thanks to Susanna Guatelli for pointing me to this example.

  Patrik

 Add Message Add Message
to: "[SOVLED] Parallel World, Sensitive Detector and Standard Physics Lists"

 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 ]