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: *57-82-r.retail.telecomitalia.it
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

run->SetField(fMagField);



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 Dec 03 19:53:17 CET 2022

Total time taken to generate the page: 0.01062 seconds