GSI Helmholtzzentrum für Schwerionenforschung
Dear Collegues, I have a simple question for setting of magnet field at reconstruction level with GEANE. In reconstruction macro, I put Geane with setfield function like below, and get a suspious message // ----- Intialise and run -------------------------------------------- fRun->Init(); Geane->SetField(fRun->GetField()); PndEmcMapper *emcMap = PndEmcMapper::Instance(2); fRun->Run(0,nEvents); rtdb->saveOutput(); rtdb->print(); Quote: -W- FairGeane::SetField This method is not used anymore, use FairRunAna::SetField instead Do I write in the macro only fRun->GetField(); Could you explain how both the SetField of FairRunAna and Geane are related? and actually worked? Best wishes, Donghee Kang
Hallo, This change was done with moving the geometry to the parameters, in case you need the same fields as in the simulation you do not need to do anything, Geane will get the field from the parameters file. Only if you want to use a field other than the one used in the simulation session you can set it to the FairRunAna, and Geane will use it. The Geane::SetField method will be removed in near future bit now we kept it with the warning so that everybody migrate his macros slowly without crashes. I hope it is clear now. regards Mohammad