GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Access to clusters properties (bis)
Re: Access to clusters properties (bis) [message #12628 is a reply to message #12627] Tue, 06 September 2011 13:18 Go to previous messageGo to previous message
Ronald Kunne is currently offline  Ronald Kunne
Messages: 32
Registered: October 2009
continuous participant
From: *in2p3.fr
Well, I do have something similar already in the macro which looks like your code, using "params_tpccombi.root" instead of "simparams.root". So there must be more to it.
  TString sysFile = gSystem->Getenv("VMCWORKDIR");
  TString allDigiFile = sysFile+"/macro/params/all.par";
  TString parFile = Directory+"params_tpccombi.root"; 

  FairRunAna *fRun= new FairRunAna();
  FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
  FairParRootFileIo* parInput1 = new FairParRootFileIo();
  parInput1->open(parFile.Data());
  rtdb->setFirstInput(parInput1);

  FairParAsciiFileIo* parIo1 = new FairParAsciiFileIo();
  parIo1->open(allDigiFile.Data(),"in");

  PndGeoHandling* geoH = PndGeoHandling::Instance();
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New FwEndCap geometry implemented
Next Topic: update EMC geometry
Goto Forum:
  


Current Time: Tue Nov 19 12:04:28 CET 2024

Total time taken to generate the page: 0.00767 seconds