Abstract base-class for interfacing to magnetic field needed by the TEveTrackPropagator.
To implement your own version, redefine the following virtual functions: virtual Double_t GetMaxFieldMagD() const; virtual TEveVectorD GetFieldD(Double_t x, Double_t y, Double_t z) const;
See sub-classes TEveMagFieldConst and TEveMagFieldDuo for two simple implementations.
NOTE: For backward compatibility float versions are the primary sources of field information in this base-class. The float versions are not used in TEve and can be ignored in sub-classes.
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 TClass * | IsA () const |
virtual Bool_t | IsConst () const |
virtual void | PrintField (Double_t x, Double_t y, Double_t z) const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
Bool_t | fFieldConstant |
#include <TEveTrackPropagator.h>
|
inline |
Definition at line 36 of file TEveTrackPropagator.h.
|
inlinevirtual |
Definition at line 37 of file TEveTrackPropagator.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 62 of file TEveTrackPropagator.h.
|
inlinestatic |
Definition at line 62 of file TEveTrackPropagator.h.
|
inlinevirtual |
Definition at line 60 of file TEveTrackPropagator.h.
|
inline |
Definition at line 57 of file TEveTrackPropagator.h.
|
inlinevirtual |
Reimplemented in TEveMagFieldDuo, and TEveMagFieldConst.
Definition at line 55 of file TEveTrackPropagator.h.
|
inlinevirtual |
Definition at line 59 of file TEveTrackPropagator.h.
|
inlinevirtual |
Reimplemented in TEveMagFieldConst, and TEveMagFieldDuo.
Definition at line 54 of file TEveTrackPropagator.h.
|
inlinevirtual |
Reimplemented in TEveMagFieldConst, and TEveMagFieldDuo.
Definition at line 62 of file TEveTrackPropagator.h.
|
inlinevirtual |
Definition at line 39 of file TEveTrackPropagator.h.
Definition at line 41 of file TEveTrackPropagator.h.
|
virtual |
Reimplemented in TEveMagFieldConst, and TEveMagFieldDuo.
|
inline |
Definition at line 62 of file TEveTrackPropagator.h.
|
protected |
Definition at line 33 of file TEveTrackPropagator.h.