PandaRoot
GFConstField Class Reference

Constant Magnetic field. More...

#include <GFConstField.h>

Inheritance diagram for GFConstField:
GFAbsBField

Public Member Functions

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

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.

Constructor & Destructor Documentation

◆ GFConstField()

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

define the constant field in this ctor

Definition at line 38 of file GFConstField.h.

39  {
40  fF1 = b1;
41  fF2 = b2;
42  fF3 = b3;
43  }

Member Function Documentation

◆ get()

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

return value at position

Implements GFAbsBField.


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