Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHField Class Referenceabstract

transient object for field storage and access More...

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

+ Inheritance diagram for PHField:

Public Member Functions

 PHField (const int verb=0)
 constructor
 
virtual ~PHField ()
 
virtual void GetFieldValue (const double Point[4], double *Bfield) const =0
 
void Verbosity (const int i)
 
int Verbosity () const
 

Protected Attributes

int m_Verbosity
 

Detailed Description

transient object for field storage and access

Definition at line 7 of file PHField.h.

View newest version in sPHENIX GitHub at line 7 of file PHField.h

Constructor & Destructor Documentation

PHField::PHField ( const int  verb = 0)
inlineexplicit

constructor

Definition at line 11 of file PHField.h.

View newest version in sPHENIX GitHub at line 11 of file PHField.h

virtual PHField::~PHField ( )
inlinevirtual

Definition at line 15 of file PHField.h.

View newest version in sPHENIX GitHub at line 15 of file PHField.h

Member Function Documentation

virtual void PHField::GetFieldValue ( const double  Point[4],
double Bfield 
) const
pure virtual

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

Implemented in PHField3DCylindrical, PHField2D, PHField3DCartesian, and PHFieldUniform.

Referenced by genfit::Field::get(), ALICEKF::get_Bz(), PHG4MagneticField::GetFieldValue(), FieldMapReadBack::PrintField(), and FieldMapReadBack::process_event().

+ Here is the caller graph for this function:

void PHField::Verbosity ( const int  i)
inline

Definition at line 24 of file PHField.h.

View newest version in sPHENIX GitHub at line 24 of file PHField.h

References i, and m_Verbosity.

Referenced by FieldMapReadBack::Verbosity().

+ Here is the caller graph for this function:

int PHField::Verbosity ( ) const
inline

Definition at line 25 of file PHField.h.

View newest version in sPHENIX GitHub at line 25 of file PHField.h

References m_Verbosity.

Referenced by PHField2D::GetFieldCyl(), PHField3DCylindrical::GetFieldCyl(), PHField3DCartesian::GetFieldValue(), PHField2D::GetFieldValue(), PHField3DCylindrical::GetFieldValue(), PHField2D::PHField2D(), PHField3DCylindrical::PHField3DCylindrical(), and PHField3DCartesian::~PHField3DCartesian().

+ Here is the caller graph for this function:

Member Data Documentation

int PHField::m_Verbosity
protected

Definition at line 28 of file PHField.h.

View newest version in sPHENIX GitHub at line 28 of file PHField.h

Referenced by Verbosity().


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