GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Microcandidates writing fails for large simulation file
Re: Microcandidates writing fails for large simulation file [message #8813 is a reply to message #8189] Fri, 05 June 2009 17:50 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
Dear all,
it is not so clear to me why this procedure does not work in my case.
I have run the simulation, which produces two files: points_tpccombi.root and points_tpcombi_1.root.
Then digitization, one output file: digi_tpccombi.root.

At the end reconstruction, but I need also the MC information.
I have written:

FairRunAna *fRun= new FairRunAna();
fRun->SetInputFile("points_tpccombi.root");
fRun->AddFriend("digi_tpccombi.root");
fRun->AddFile("points_tpccombi_1.root");
fRun->AddFriend("digi_tpccombi.root");
fRun->SetOutputFile(outFile);


The first file is processed normally, but when the second file starts:


-I FairRootManager: switching to chained file: points_tpccombi_1.root
connected friends: digi_tpccombi.root


after few events I have a segmentation violation, related to the wrong coupling of the initial file and his friend.

Has somebody managed to handle different friend files in a reconstruction macro? And how? It seems Alicia's method is not working for me (no idea why)
Thanks in advance.
 
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: trunk doesnt compile
Next Topic: trunk doesnt compile
Goto Forum:
  


Current Time: Fri Dec 06 04:45:34 CET 2024

Total time taken to generate the page: 0.01116 seconds