Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
TEveMagField Class Reference

Abstract base-class for interfacing to magnetic field needed by the TEveTrackPropagator.

See sub-classes for two simple implementations.

NOTE: Magnetic field direction convention is inverted.

Definition at line 30 of file TEveTrackPropagator.h.

Public Member Functions

 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

Bool_t fFieldConstant
 

#include <TEveTrackPropagator.h>

Inheritance diagram for TEveMagField:
[legend]

Constructor & Destructor Documentation

◆ TEveMagField()

TEveMagField::TEveMagField ( )
inline

Definition at line 36 of file TEveTrackPropagator.h.

◆ ~TEveMagField()

virtual TEveMagField::~TEveMagField ( )
inlinevirtual

Definition at line 37 of file TEveTrackPropagator.h.

Member Function Documentation

◆ GetField()

virtual TEveVector TEveMagField::GetField ( Float_t  ,
Float_t  ,
Float_t   
) const
inlinevirtual

Definition at line 55 of file TEveTrackPropagator.h.

◆ GetFieldD() [1/2]

TEveVectorD TEveMagField::GetFieldD ( const TEveVectorD v) const
inline

Definition at line 47 of file TEveTrackPropagator.h.

◆ GetFieldD() [2/2]

virtual TEveVectorD TEveMagField::GetFieldD ( Double_t  x,
Double_t  y,
Double_t  z 
) const
inlinevirtual

Reimplemented in TEveMagFieldDuo, and TEveMagFieldConst.

Definition at line 52 of file TEveTrackPropagator.h.

◆ GetMaxFieldMag()

virtual Float_t TEveMagField::GetMaxFieldMag ( ) const
inlinevirtual

Definition at line 56 of file TEveTrackPropagator.h.

◆ GetMaxFieldMagD()

virtual Double_t TEveMagField::GetMaxFieldMagD ( ) const
inlinevirtual

Reimplemented in TEveMagFieldDuo, and TEveMagFieldConst.

Definition at line 53 of file TEveTrackPropagator.h.

◆ IsConst()

virtual Bool_t TEveMagField::IsConst ( ) const
inlinevirtual

Definition at line 39 of file TEveTrackPropagator.h.

◆ PrintField()

virtual void TEveMagField::PrintField ( Double_t  x,
Double_t  y,
Double_t  z 
) const
inlinevirtual

Definition at line 41 of file TEveTrackPropagator.h.

Member Data Documentation

◆ fFieldConstant

Bool_t TEveMagField::fFieldConstant
protected

Definition at line 33 of file TEveTrackPropagator.h.


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