GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Magnetic Fields in Pandaroot
Re: Magnetic Fields in Pandaroot [message #4422 is a reply to message #4421] Mon, 04 June 2007 16:33 Go to previous messageGo to previous 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: definition of new particle
Next Topic: Target/beam pipe geometry
Goto Forum:
  


Current Time: Mon Apr 29 07:41:20 CEST 2024

Total time taken to generate the page: 0.01029 seconds