Logo ROOT  
Reference Guide
TEveMagFieldConst Class Reference

Implements constant magnetic field, given by a vector fB.

NOTE: Magnetic field direction convention is inverted.

Definition at line 70 of file TEveTrackPropagator.h.

Public Member Functions

 TEveMagFieldConst (Double_t x, Double_t y, Double_t z)
virtual ~TEveMagFieldConst ()
virtual TEveVectorD GetFieldD (Double_t, Double_t, Double_t) const
virtual Double_t GetMaxFieldMagD () const
- Public Member Functions inherited from TEveMagField
 TEveMagField ()
virtual ~TEveMagField ()
virtual TEveVector GetField (Float_t, Float_t, Float_t) const
TEveVectorD GetFieldD (const TEveVectorD &v) const
virtual TEveVectorD GetFieldD (Double_t x, Double_t y, Double_t z) const
virtual Float_t GetMaxFieldMag () const
virtual Double_t GetMaxFieldMagD () const
virtual Bool_t IsConst () const
virtual void PrintField (Double_t x, Double_t y, Double_t z) const

Protected Attributes

TEveVectorD fB
- Protected Attributes inherited from TEveMagField
Bool_t fFieldConstant

#include <TEveTrackPropagator.h>

Inheritance diagram for TEveMagFieldConst:

Constructor & Destructor Documentation

◆ TEveMagFieldConst()

TEveMagFieldConst::TEveMagFieldConst ( Double_t  x,
Double_t  y,
Double_t  z 

Definition at line 76 of file TEveTrackPropagator.h.

◆ ~TEveMagFieldConst()

virtual TEveMagFieldConst::~TEveMagFieldConst ( )

Definition at line 79 of file TEveTrackPropagator.h.

Member Function Documentation

◆ GetFieldD()

virtual TEveVectorD TEveMagFieldConst::GetFieldD ( Double_t  ,
Double_t  ,
) const

Reimplemented from TEveMagField.

Definition at line 82 of file TEveTrackPropagator.h.

◆ GetMaxFieldMagD()

virtual Double_t TEveMagFieldConst::GetMaxFieldMagD ( ) const

Reimplemented from TEveMagField.

Definition at line 81 of file TEveTrackPropagator.h.

Member Data Documentation

◆ fB

TEveVectorD TEveMagFieldConst::fB

Definition at line 73 of file TEveTrackPropagator.h.

Libraries for TEveMagFieldConst:

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