Re: Implementing Magnetic field and Fast simulations in fairroot. [message #13413 is a reply to message #13411] |
Wed, 25 April 2012 15:30 |
Raghav Kunnawalkam
Messages: 63 Registered: February 2012 Location: Stony Brook, New York
|
continuous participant |
From: *physics.sunysb.edu
|
|
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
run->SetField(fMagField);
|
|
|