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

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

+ Inheritance diagram for PHFieldCleo:
+ Collaboration diagram for PHFieldCleo:

Public Member Functions

 PHFieldCleo (const std::string &filename, const int verb=0, const float magfield_rescale=1.0)
 
 ~PHFieldCleo () 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

std::vector< std::vector
< std::vector< double > > > 
xField
 
std::vector< std::vector
< std::vector< double > > > 
yField
 
std::vector< std::vector
< std::vector< double > > > 
zField
 
int nx
 
int ny
 
int nz
 
double minx
 
double maxx
 
double miny
 
double maxy
 
double minz
 
double maxz
 
double dx
 
double dy
 
double dz
 
float m_MagFieldScale
 

Additional Inherited Members

- Protected Attributes inherited from PHField
int m_Verbosity
 

Detailed Description

Definition at line 9 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 9 of file PHFieldCleo.h

Constructor & Destructor Documentation

PHFieldCleo::PHFieldCleo ( const std::string &  filename,
const int  verb = 0,
const float  magfield_rescale = 1.0 
)

Definition at line 15 of file PHFieldCleo.cc.

View newest version in sPHENIX GitHub at line 15 of file PHFieldCleo.cc

References Acts::UnitConstants::cm, dx, dy, dz, exit(), eicpy.qaplots::file, Acts::Test::gauss(), m_MagFieldScale, maxx, maxy, maxz, minx, miny, minz, nx, ny, nz, xField, yField, and zField.

+ Here is the call graph for this function:

PHFieldCleo::~PHFieldCleo ( )
inlineoverride

Definition at line 13 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 13 of file PHFieldCleo.h

Member Function Documentation

void PHFieldCleo::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 115 of file PHFieldCleo.cc.

View newest version in sPHENIX GitHub at line 115 of file PHFieldCleo.cc

References dx, dy, dz, maxz, minx, miny, minz, nx, ny, nz, x, xField, y, yField, z, and zField.

Member Data Documentation

double PHFieldCleo::dx
private

Definition at line 37 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 37 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

double PHFieldCleo::dy
private

Definition at line 38 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 38 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

double PHFieldCleo::dz
private

Definition at line 39 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 39 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

float PHFieldCleo::m_MagFieldScale
private

Definition at line 41 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 41 of file PHFieldCleo.h

Referenced by PHFieldCleo().

double PHFieldCleo::maxx
private

Definition at line 31 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 31 of file PHFieldCleo.h

Referenced by PHFieldCleo().

double PHFieldCleo::maxy
private

Definition at line 33 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 33 of file PHFieldCleo.h

Referenced by PHFieldCleo().

double PHFieldCleo::maxz
private

Definition at line 35 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 35 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

double PHFieldCleo::minx
private

Definition at line 30 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 30 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

double PHFieldCleo::miny
private

Definition at line 32 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 32 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

double PHFieldCleo::minz
private

Definition at line 34 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 34 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

int PHFieldCleo::nx
private

Definition at line 26 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 26 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

int PHFieldCleo::ny
private

Definition at line 27 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 27 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

int PHFieldCleo::nz
private

Definition at line 28 of file PHFieldCleo.h.

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

Referenced by GetFieldValue(), and PHFieldCleo().

std::vector<std::vector<std::vector<double> > > PHFieldCleo::xField
private

Definition at line 21 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 21 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

std::vector<std::vector<std::vector<double> > > PHFieldCleo::yField
private

Definition at line 22 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 22 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().

std::vector<std::vector<std::vector<double> > > PHFieldCleo::zField
private

Definition at line 23 of file PHFieldCleo.h.

View newest version in sPHENIX GitHub at line 23 of file PHFieldCleo.h

Referenced by GetFieldValue(), and PHFieldCleo().


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