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

Field Wrapper. More...

#include <coresoftware/blob/master/offline/packages/PHGenFitPkg/GenFitExp/Field.h>

+ Inheritance diagram for genfit::Field:
+ Collaboration diagram for genfit::Field:

Public Member Functions

 Field (const PHField *field)
 
 ~Field () override
 
TVector3 get (const TVector3 &pos) const override
 return value at position
 
void get (const double &posX, const double &posY, const double &posZ, double &Bx, double &By, double &Bz) const override
 Get the magneticField [kGauss] at position.
 
const PHFieldget_field () const
 
void set_field (const PHField *field)
 
- Public Member Functions inherited from genfit::AbsBField
 AbsBField ()
 
virtual ~AbsBField ()
 

Private Attributes

const PHFieldfield_
 

Detailed Description

Field Wrapper.

Author
Haiwang Yu (New Mexico State University)

Definition at line 24 of file Field.h.

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

Constructor & Destructor Documentation

genfit::Field::Field ( const PHField field)

Definition at line 17 of file Field.cc.

View newest version in sPHENIX GitHub at line 17 of file Field.cc

References assert, and field_.

genfit::Field::~Field ( )
inlineoverride

Definition at line 29 of file Field.h.

View newest version in sPHENIX GitHub at line 29 of file Field.h

Member Function Documentation

TVector3 genfit::Field::get ( const TVector3 &  pos) const
overridevirtual

return value at position

Implements genfit::AbsBField.

Definition at line 121 of file Field.cc.

View newest version in sPHENIX GitHub at line 121 of file Field.cc

References Acts::IntegrationTest::Bz, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.

void genfit::Field::get ( const double posX,
const double posY,
const double posZ,
double Bx,
double By,
double Bz 
) const
overridevirtual

Get the magneticField [kGauss] at position.

Override this in your concrete implementation.

Reimplemented from genfit::AbsBField.

Definition at line 133 of file Field.cc.

View newest version in sPHENIX GitHub at line 133 of file Field.cc

References assert, Acts::UnitConstants::cm, field_, and PHField::GetFieldValue().

+ Here is the call graph for this function:

const PHField* genfit::Field::get_field ( ) const
inline

Definition at line 37 of file Field.h.

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

References field_.

void genfit::Field::set_field ( const PHField field)
inline

Definition at line 42 of file Field.h.

View newest version in sPHENIX GitHub at line 42 of file Field.h

References ckf::field, and field_.

Member Data Documentation

const PHField* genfit::Field::field_
private

Definition at line 48 of file Field.h.

View newest version in sPHENIX GitHub at line 48 of file Field.h

Referenced by Field(), get(), get_field(), and set_field().


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