Message: Problem defining FastSimulationModel with Logical World Volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problem defining FastSimulationModel with Logical World Volume 

Keywords: Problem FastSimulationModel World Volume
Forum: Fast Simulation, Transportation & Others
Date: 24 Feb, 2006
From: Apostolos Tsirigotis <Apostolos Tsirigotis>


I want to implement a Fast Simulation Model in the World Logical Volume with Geant 4.8. I have the following code in the Detector Construction:


G4VPhysicalVolume* MyDetector::Construct( )
  G4Region* detectorRegion = new G4Region("EM_Detector_Region");
  MyEMShowerModel* myShowerModel =
    new MyEMShowerModel("emShowerModel",detectorRegion);


MyEMShowerModel class inherits from the Abstract Class G4VFastSimulationModel

But, when I run the program I get the following error:


......... ......... .........

The world volume has a user-defined region <EM_Detector_Region>.

*** G4Exception : RUN:WorldHasUserDefinedRegion
      issued by : G4RunManager::DefineWorldVolume
World would have a default region assigned by RunManagerKernel.
*** Fatal Exception *** core dump ***

*** G4Exception: Aborting execution *** Aborted


I have done this , and is working properly with Geant 4.7.

How can I do this in Geant 4.8 without having to change the detector geometry?


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

1 None: Re: Problem defining FastSimulationModel with Logical World Volume   (Makoto Asai - 27 Feb, 2006)
 Add Message Add Message
to: "Problem defining FastSimulationModel with Logical World Volume"

 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 ]