Message: G4Exception issued by G4GDMLWriteParamvol::ParametersWrite() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4Exception issued by G4GDMLWriteParamvol::ParametersWrite() 

Forum: Persistency
Date: 09 May, 2017
From: Neal Gauvin <Neal Gauvin>

Hi,

I am trying to export the geometry of a detector in GDML following the examples/extended/persistency/gdml/G01 example. Thus simply adding :

       std::string GDML_export_file = "Geometry.gdml";
        parser.SetRegionExport(true);
        parser.Write(GDML_export_file,
G4TransportationManager::GetTransportationManager()
                         ->GetNavigatorForTracking()
                         ->GetWorldVolume()
                         ->GetLogicalVolume());

after setting the run manager, as described in the example.

When running the application, I get the following error :


-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : InvalidSetup
      issued by : G4GDMLWriteParamvol::ParametersWrite()
Solid 'Bump' cannot be used in parameterised volume!
*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***
Aborted (core dumped)

'Bump' is a G4UnionSolid between a Sphere and a Tube, placed a different position through parametrization (G4VPVParameterisation). According to the GDML manual, parametrization in space is handled properly.

Can somebody explain me this error ?

Thanks,

Neal 

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

1 More: Re: G4Exception issued by G4GDMLWriteParamvol::ParametersWrite()   (Gabriele Cosmo - 11 May, 2017)
 Add Message Add Message
to: "G4Exception issued by G4GDMLWriteParamvol::ParametersWrite()"

 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 ]