GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Implementing Magnetic field and Fast simulations in fairroot.
Re: Implementing Magnetic field and Fast simulations in fairroot. [message #13413 is a reply to message #13411] Wed, 25 April 2012 15:30 Go to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *
Hi Stefano

That was a typo when i when wrote it in the forum. Here is what actually is going on. I put the magnetic field over whole of my space (the size of my cave) and i just figured out that the particle is actually circling due to the magnetic field but it is doing it very very far away.

here is what i mean.

FairConstField* fMagField = new FairConstField();
fMagField->SetField(40.,0.,0.);//values are in kG, 1T = 10kG
fMagField->SetFieldRegion(-20000.,20000.,-20000.,20000.,-20000.,20000.); // in cm

Read Message
Read Message
Read Message
Previous Topic: Doing collisions and input information.
Next Topic: Getting Hits by detectors registered in the output root file
Goto Forum:

Current Time: Thu Jul 18 02:55:52 CEST 2024

Total time taken to generate the page: 0.00917 seconds