The way of set field in pandaroot [message #9757] |
Mon, 23 November 2009 10:51 |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *kph.uni-mainz.de
|
|
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
|
|
|