PandaRoot
PndGenfitField2 Class Reference

Magnetic field. More...

#include <PndGenfitField2.h>

Inheritance diagram for PndGenfitField2:
genfit::AbsBField

Public Member Functions

 PndGenfitField2 ()
 define the field in this ctor (?) More...
 
TVector3 get (const TVector3 &pos) const
 return value at position More...
 
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. More...
 
- Public Member Functions inherited from genfit::AbsBField
 AbsBField ()
 
virtual ~AbsBField ()
 

Detailed Description

Magnetic field.

Author
Promme (Prometeusz Jasinski) // modified by Elisabetta Prencipe 19/5/2014

Definition at line 12 of file PndGenfitField2.h.

Constructor & Destructor Documentation

◆ PndGenfitField2()

PndGenfitField2::PndGenfitField2 ( )

define the field in this ctor (?)

Member Function Documentation

◆ get() [1/2]

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

return value at position

Implements genfit::AbsBField.

◆ get() [2/2]

virtual void PndGenfitField2::get ( const double &  posX,
const double &  posY,
const double &  posZ,
double &  Bx,
double &  By,
double &  Bz 
) const
virtual

Get the magneticField [kGauss] at position.

Override this in your concrete implementation.

Reimplemented from genfit::AbsBField.


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