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

Constant Magnetic field. More...

#include <EicRoot/blob/master/genfit/GFConstField.h>

+ Inheritance diagram for GFConstField:
+ Collaboration diagram for GFConstField:

Public Member Functions

 GFConstField (double b1, double b2, double b3)
 define the constant field in this ctor
 
TVector3 get (const TVector3 &pos) const
 return value at position
 
- Public Member Functions inherited from GFAbsBField
 GFAbsBField ()
 
virtual ~GFAbsBField ()
 

Private Attributes

double fF1
 
double fF2
 
double fF3
 

Detailed Description

Constant Magnetic field.

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

Definition at line 35 of file GFConstField.h.

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

Constructor & Destructor Documentation

GFConstField::GFConstField ( double  b1,
double  b2,
double  b3 
)
inline

define the constant field in this ctor

Definition at line 38 of file GFConstField.h.

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

References fF1, fF2, and fF3.

Member Function Documentation

TVector3 GFConstField::get ( const TVector3 &  pos) const
virtual

return value at position

Implements GFAbsBField.

Definition at line 21 of file GFConstField.cxx.

View newest version in sPHENIX GitHub at line 21 of file GFConstField.cxx

References fF1, fF2, and fF3.

Member Data Documentation

double GFConstField::fF1
private

Definition at line 46 of file GFConstField.h.

View newest version in sPHENIX GitHub at line 46 of file GFConstField.h

Referenced by get(), and GFConstField().

double GFConstField::fF2
private

Definition at line 46 of file GFConstField.h.

View newest version in sPHENIX GitHub at line 46 of file GFConstField.h

Referenced by get(), and GFConstField().

double GFConstField::fF3
private

Definition at line 46 of file GFConstField.h.

View newest version in sPHENIX GitHub at line 46 of file GFConstField.h

Referenced by get(), and GFConstField().


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