GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » GLAD magnetic field (When GLAD is added to the simulation, the magnetic field deforms)
Re: GLAD magnetic field [message #19021 is a reply to message #18999] Thu, 11 February 2016 10:52 Go to previous messageGo to previous message
Ralf Plag is currently offline  Ralf Plag
Messages: 25
Registered: September 2015
continuous participant
From: 140.181.8*
How do you actual set the field value?

When I successfully ran Glad, I used a negative field value. In the root macro, I had something like:

Float_t fieldScale = -0.68; // 15O +1p @ 1GeV
[...]
R3BGladFieldMap* magField = new R3BGladFieldMap("R3BGladMap");
magField->SetScale(fieldScale);

Cheers,
Ralf
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Event display weird behaviour
Next Topic: TrackID changes
Goto Forum:
  


Current Time: Thu Jul 25 19:15:16 CEST 2024

Total time taken to generate the page: 0.00743 seconds