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

Abstract Interface to magnetic fields in GENFIT. More...

#include <GenFit/blob/master/core/include/AbsBField.h>

+ Inheritance diagram for genfit::AbsBField:

Public Member Functions

 AbsBField ()
 
virtual ~AbsBField ()
 
virtual TVector3 get (const TVector3 &position) const =0
 Get the magneticField [kGauss] at position.
 
virtual void get (const double &posX, const double &posY, const double &posZ, double &Bx, double &By, double &Bz) const
 Get the magneticField [kGauss] at position.
 

Detailed Description

Abstract Interface to magnetic fields in GENFIT.

Author
Christian Höppner (Technische Universität München, original author)
Sebastian Neubert (Technische Universität München, original author)

Definition at line 36 of file AbsBField.h.

View newest version in sPHENIX GitHub at line 36 of file AbsBField.h

Constructor & Destructor Documentation

genfit::AbsBField::AbsBField ( )
inline

Definition at line 39 of file AbsBField.h.

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

virtual genfit::AbsBField::~AbsBField ( )
inlinevirtual

Definition at line 40 of file AbsBField.h.

View newest version in sPHENIX GitHub at line 40 of file AbsBField.h

Member Function Documentation

virtual TVector3 genfit::AbsBField::get ( const TVector3 &  position) const
pure virtual

Get the magneticField [kGauss] at position.

Override this in your concrete implementation. Provided for compatibility with old genfit. Use the other interface to avoid unnecessary TVector3 instantiations.

Implemented in genfit::ConstField, and genfit::Field.

Referenced by genfit::FieldManager::getFieldVal().

+ Here is the caller graph for this function:

virtual void genfit::AbsBField::get ( const double posX,
const double posY,
const double posZ,
double Bx,
double By,
double Bz 
) const
inlinevirtual

Get the magneticField [kGauss] at position.

Override this in your concrete implementation.

Reimplemented in genfit::ConstField, and genfit::Field.

Definition at line 56 of file AbsBField.h.

View newest version in sPHENIX GitHub at line 56 of file AbsBField.h

References Acts::IntegrationTest::Bz.


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