GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Magnetic Fields in Pandaroot
Magnetic Fields in Pandaroot [message #4421] Mon, 04 June 2007 16:21 Go to next message
EDownie is currently offline  EDownie
Messages: 8
Registered: January 2007
Location: University ofGlasgow
occasional visitor
From: *physics.gla.ac.uk
Hi,

I am new to Pandaroot & VMC and would like to use the field maps based on the final magnet designs in the simulation. I have several questions:-

1) Is the code already able to accept field maps, or does it simply do uniform fields?

2) If Pandaroot is already capable of loading field maps, which format should the map be in for Pandaroot use, and do conversion utilities exist?

3) What is the current status / capability of libField.so?

Thank you very much for your help!

Evie Downie
Re: Magnetic Fields in Pandaroot [message #4422 is a reply to message #4421] Mon, 04 June 2007 16:33 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hello,
we have already a realistic magnetic field map, updated to the January 07 design (so not yet the space inside the yoke for the muon detector).
In order to use it just see what is present in the macro/emc/sim_emc.C file. You have to use:

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);

And that is all. This comes from the offial drawings (before the last update). So you don't have to put some private field map.
Bye

Stefano
Re: Magnetic Fields in Pandaroot [message #4426 is a reply to message #4422] Mon, 04 June 2007 17:20 Go to previous messageGo to next message
EDownie is currently offline  EDownie
Messages: 8
Registered: January 2007
Location: University ofGlasgow
occasional visitor
From: *physics.gla.ac.uk
Hi Stefano,

We would like to be able to load in more recent maps that include things like the muon chambers (which are not yet created - but hopefully soon will be) and slightly altered field maps to look at the affect of magnet misalignments etc. on particle tracking, as part of the magnet studies.

Is there already a utility to convert TOSCA / text file output to the required format?

Thanks very much!

Evie Downie
Re: Magnetic Fields in Pandaroot [message #4427 is a reply to message #4426] Mon, 04 June 2007 17:28 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Hi,
Mohammed did from the TOSCA files and CATIA drawings. I think he has some sort of converter.

In each case magnet definition and magnetic field should go in parallel. If we have both the updates, that could be good.
Re: Magnetic Fields in Pandaroot [message #4428 is a reply to message #4427] Mon, 04 June 2007 17:47 Go to previous message
EDownie is currently offline  EDownie
Messages: 8
Registered: January 2007
Location: University ofGlasgow
occasional visitor
From: *physics.gla.ac.uk
Hi Stefano,

As soon as we have any updated magnetic fields, I'll pass them on.

Thanks very much!

Evie
Previous Topic: definition of new particle
Next Topic: Target/beam pipe geometry
Goto Forum:
  


Current Time: Tue Dec 10 19:09:06 CET 2024

Total time taken to generate the page: 0.01235 seconds