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 #13411 is a reply to message #13403] Wed, 25 April 2012 11:42 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *
Raghav Kunnawalkam wrote on Wed, 25 April 2012 03:31

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


Probably it should be:

fMagField->SetFieldRegion(-5000.,5000.,-5000.,5000.,-5000.,5000.); // 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: Sat Jul 20 12:59:48 CEST 2024

Total time taken to generate the page: 0.00883 seconds