GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Panda Magnet Field Map
Panda Magnet Field Map [message #9796] Fri, 27 November 2009 13:03 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 all,

I have very academic question about Magnet Field used in Pandaroot.
In the MC simulation I can see three main pieces to allow Magnet Field.
First of all, some geometry are defined by Geant or by some special program like CAD(?) in advance.
What is the standard tool for designing of magnet structure?
Quote:


FairModule *Magnet= new PndMagnet("MAGNET");
Magnet->SetGeometryFileName("FullSolenoid.root");
fRun->AddModule(Magnet);

FairModule *Dipole= new PndMagnet("MAGNET");
Dipole->SetGeometryFileName("dipole.geo");
fRun->AddModule(Dipole);






Next question is for multi-field definition.
At below multiple magnet filed is defined by two PANDA Magents, namely Dipole and Solenoid, in addition Transition map is defined. What is the purpose and meaning of this components?

And are all those different Maps predefined in somewhere or is there some accessing process to get the field intensity via FullSolenoid.root and dipole.geo in the panda/field/*.
How is this worked?
Quote:


PndMultiField *fField= new PndMultiField();
PndTransMap *map= new PndTransMap("TransMap", "R");
PndDipoleMap *map1= new PndDipoleMap("DipoleMap", "R");
PndSolenoidMap *map2= new PndSolenoidMap("SolenoidMap", "R");
fField->AddField(map);
fField->AddField(map1);
fField->AddField(map2);
fRun->SetField(fField);




The defined multifield is now going to save into the database by means of field parametrization in rtdb.
Quote:


PndMultiFieldPar* Par = (PndMultiFieldPar*) rtdb->getContainer("PndMultiFieldPar");
if (fField) { Par->SetParameters(fField); }
Par->setInputVersion(fRun->GetRunId(),1);
Par->setChanged();



I assumed that solenoid field and dipole field in present setup doesn't overlap because they are located at some distance, or there is a duplication between them, and can be described by TransMap.

Let's imagine, if dipole magent move into very close to the solenoid magent, then the magnet would be overlaped. In this case, independent definition of field map from solenoid and dipole could not described overlaping region. How can I handle it?

Best wishes,
Donghee Kang
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: The way of set field in pandaroot
Next Topic: /macro/run is open for rw to all panda developer
Goto Forum:
  


Current Time: Fri Nov 29 02:09:54 CET 2024

Total time taken to generate the page: 0.00764 seconds