GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Saving geometry inside FairBaseParSet
Re: Saving geometry inside FairBaseParSet [message #13739 is a reply to message #13691] Wed, 11 July 2012 19:18 Go to previous messageGo to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *dip.t-dialin.net
Hallo Stefano,

You need to modify your function to:

  
  FairRuntimeDb* rtdb=ana->GetRuntimeDb(); 
  FairBaseParSet* par=(FairBaseParSet*)(rtdb->getContainer("FairBaseParSet"));
  par->SetGeometry(gGeoManager);
  par->setChanged();
  par->setInputVersion(ana->GetRunId(),1);




In fact we could also automate the saving of geometry from the FairRunAna if this is needed by all, in any case please test the above stuff and let me know.

regards,

Mohammad
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Previous Topic: Cherenkov photons. Accuracy problem with Geant3
Next Topic: config.sh and LD_LIBRARY_PATH, PATH
Goto Forum:
  


Current Time: Thu Dec 26 20:59:25 CET 2024

Total time taken to generate the page: 0.00613 seconds