EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Go to the source code of this file.
Classes | |
class | TVirtualMagField |
Macros | |
#define | ROOT_TVirtualMagField |
Functions | |
ClassImp (TVirtualMagField) class FairField | |
#define ROOT_TVirtualMagField |
Abstract base class for magnetic fields in FAIR Concrete field should implement the pure virtual methods GetBx, GetBy and GetBz and/or GetBxyz
Note: Field values should be returned in kG (thanks to GEANT3)
Definition at line 37 of file FairField.h.
View newest version in sPHENIX GitHub at line 37 of file FairField.h
ClassImp | ( | TVirtualMagField | ) |
Default constructor
Constructor with name and title
Destructor
Intialisation. E.g. read in the field map. If needed, to be implemented in the concrete class.
Test whether field type is Constant
Test whether field typ is Map
Field type ( 0=constant, 1=map, 2=map sym2, 3 = map sym3 )
Get x component of magnetic field [kG]
x,y,z | Position [cm] |
Get y component of magnetic field [kG]
x,y,z | Position [cm] |
Get z component of magnetic field [kG]
x,y,z | Position [cm] |
Get magnetic field. For use of GEANT3
point | Coordinates [cm] |
bField | (return) Field components [kG] |
Screen output. To be implemented in the concrete class.
Fill Paramater
Field type. 1 = constant field, 2 = field map.
Fair Logger
Definition at line 50 of file FairField.h.
View newest version in sPHENIX GitHub at line 50 of file FairField.h
References Acts::IntegrationTest::bField, TVirtualMagField::Field(), name, Print(), printf(), title(), x, y, and z.