GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems with FairRootManager
Re: Problems with FairRootManager [message #11643 is a reply to message #11642] Fri, 08 April 2011 15:43 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Felix

I don't know what you want to do here (runDigiFOPI.C), but I think it does not make sense to define an input file and add the same file as friend. Anyway I think for the
digitization you only need to define the MC file as input.

// -----   Digitization run   -------------------------------------------
  FairRunAna *fRun= new FairRunAna();
  fRun->SetInputFile(inFile);

  fRun->AddFriend(inFile);
  
  fRun->SetOutputFile(outFile);
  // ------------------------------------------------------------------------


For the reconstruction please define the mc file as input and add the digi file as friend. In principle there should be no difference but this was the way I did the tests. Before running the reconstruction please rerun the digitization without adding the input file also as friend.

Ciao

Florian

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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: Warnings from TPC libraries
Next Topic: Bug in LHE (fixed) and MC propagation for tracks
Goto Forum:
  


Current Time: Mon Jul 04 08:33:34 CEST 2022

Total time taken to generate the page: 0.01219 seconds