GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Moving the Geometry from data file to the parameters
Re: Moving the Geometry from data file to the parameters [message #9529 is a reply to message #9528] Wed, 07 October 2009 18:51 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi Dima,
I think that after your:

FairBaseParSet* par=(FairBaseParSet*) (rtdb->getContainer("FairBaseParSet"));


you access to the geometry with gGeoManager, without geom = par->GetGeometry();

Try to use gGeoManager and let me know. This global object should be created automatically just after the parameter call, and then you can use it without creating it.
 
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New version of DPM
Next Topic: GENFIT restructuring in development branch is done - merge needed
Goto Forum:
  


Current Time: Fri Apr 19 18:40:50 CEST 2024

Total time taken to generate the page: 0.01155 seconds