EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/PHField/PHFieldBeast.h>
Public Member Functions | |
PHFieldBeast (const std::string &filename, const int verb=0, const float magfield_rescale=1.0) | |
~PHFieldBeast () override | |
void | GetFieldValue (const double Point[4], double *Bfield) const override |
Public Member Functions inherited from PHField | |
PHField (const int verb=0) | |
constructor | |
virtual | ~PHField () |
void | Verbosity (const int i) |
int | Verbosity () const |
Private Attributes | |
BeastMagneticField * | m_BeastMagneticField |
float | m_MagFieldScale |
Additional Inherited Members | |
Protected Attributes inherited from PHField | |
int | m_Verbosity |
Definition at line 10 of file PHFieldBeast.h.
View newest version in sPHENIX GitHub at line 10 of file PHFieldBeast.h
PHFieldBeast::PHFieldBeast | ( | const std::string & | filename, |
const int | verb = 0 , |
||
const float | magfield_rescale = 1.0 |
||
) |
Definition at line 13 of file PHFieldBeast.cc.
View newest version in sPHENIX GitHub at line 13 of file PHFieldBeast.cc
References m_BeastMagneticField, BeastMagneticField::UseInterpolation(), and BeastMagneticField::ValidMapImported().
|
inlineoverride |
Definition at line 14 of file PHFieldBeast.h.
View newest version in sPHENIX GitHub at line 14 of file PHFieldBeast.h
|
overridevirtual |
access field value Follow the convention of G4ElectroMagneticField
[in] | Point | space time coordinate. x, y, z, t in Geant4/CLHEP units |
[out] | Bfield | field value. In the case of magnetic field, the order is Bx, By, Bz in in Geant4/CLHEP units |
Implements PHField.
Definition at line 30 of file PHFieldBeast.cc.
View newest version in sPHENIX GitHub at line 30 of file PHFieldBeast.cc
References Acts::UnitConstants::cm, BeastMagneticField::GetFieldValue(), m_BeastMagneticField, m_MagFieldScale, PHField::Verbosity(), x, y, and z.
|
private |
Definition at line 22 of file PHFieldBeast.h.
View newest version in sPHENIX GitHub at line 22 of file PHFieldBeast.h
Referenced by GetFieldValue(), and PHFieldBeast().
|
private |
Definition at line 23 of file PHFieldBeast.h.
View newest version in sPHENIX GitHub at line 23 of file PHFieldBeast.h
Referenced by GetFieldValue().