GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » genfit tracking with GEANE not working since geometry update
Re: genfit tracking with GEANE not working since geometry update [message #9494 is a reply to message #9458] Thu, 01 October 2009 11:41 Go to previous messageGo to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *to.infn.it
Hello Felix.

Quote:

#0 0xb647bcfa in TGeoManager::GetListOfVolumes (this=0x0) at include/TGeoManager.h:432

The gGeoManager is not present.

The geometry moved. It is no longer in the simulation file, but rather in the root parameter file. You need to load it as well as you need to initialize the run. E.g:

  FairRunAna *fRun= new FairRunAna();
  fRun->SetInputFile(inSimuFile);
  fRun->AddFriend(inDigiFile);
  fRun->AddFriend(inRecoFile);
  fRun->SetOutputFile(outFile.Data());

  FairGeane *Geane = new FairGeane();
  fRun->AddTask(Geane);
  FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
  FairParRootFileIo* parIO = new FairParRootFileIo();
  parIO->open(parFile.Data());
  
  rtdb->setFirstInput(parIO);
  rtdb->setOutput(parIO);

//... 
  
  fRun->Init();
  PndEmcMapper *emcMap = PndEmcMapper::Instance(2,inSimuFile);
  Geane->SetField(fRun->GetField());

  fRun->Run(0,nEvents);
 


Cheers, Ralf.

[Updated on: Thu, 01 October 2009 11:44]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ParamFirst vs. ParamLast
Next Topic: SPU problem explanation.
Goto Forum:
  


Current Time: Sat Apr 27 14:35:26 CEST 2024

Total time taken to generate the page: 0.00875 seconds