GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » The way of set field in pandaroot
The way of set field in pandaroot [message #9757] Mon, 23 November 2009 10:51 Go to previous message
donghee is currently offline  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



 
Read Message
Read Message
Previous Topic: Geometry modification
Next Topic: Panda Magnet Field Map
Goto Forum:
  


Current Time: Fri Nov 01 02:23:03 CET 2024

Total time taken to generate the page: 0.00955 seconds