ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHFieldBeast Class Reference

#include <coresoftware/blob/master/offline/packages/PHField/PHFieldBeast.h>

+ Inheritance diagram for PHFieldBeast:
+ Collaboration diagram for PHFieldBeast:

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
 

Detailed Description

Definition at line 10 of file PHFieldBeast.h.

View newest version in sPHENIX GitHub at line 10 of file PHFieldBeast.h

Constructor & Destructor Documentation

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.

PHFieldBeast::~PHFieldBeast ( )
inlineoverride

Definition at line 14 of file PHFieldBeast.h.

View newest version in sPHENIX GitHub at line 14 of file PHFieldBeast.h

Member Function Documentation

void PHFieldBeast::GetFieldValue ( const double  Point[4],
double *  Bfield 
) const
overridevirtual

access field value Follow the convention of G4ElectroMagneticField

Parameters
[in]Pointspace time coordinate. x, y, z, t in Geant4/CLHEP units
[out]Bfieldfield 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 cm, m_BeastMagneticField, m_MagFieldScale, tesla, PHField::Verbosity(), x, y, and z.

+ Here is the call graph for this function:

Member Data Documentation

BeastMagneticField* PHFieldBeast::m_BeastMagneticField
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().

float PHFieldBeast::m_MagFieldScale
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().


The documentation for this class was generated from the following files: