ROOT » GRAF3D » EVE » TEveMagField

class TEveMagField


 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.

Function Members (Methods)

public:
virtual~TEveMagField()
static TClass*Class()
virtual TEveVectorGetField(Float_t, Float_t, Float_t) const
TEveVectorDGetFieldD(const TEveVectorD& v) const
virtual TEveVectorDGetFieldD(Double_t x, Double_t y, Double_t z) const
virtual Float_tGetMaxFieldMag() const
virtual Double_tGetMaxFieldMagD() const
virtual TClass*IsA() const
virtual Bool_tIsConst() const
TEveMagField&operator=(const TEveMagField&)
virtual voidPrintField(Double_t x, Double_t y, Double_t z) const
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TEveMagField()
TEveMagField(const TEveMagField&)

Data Members

protected:
Bool_tfFieldConstant

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveMagField()
{}
virtual ~TEveMagField()
{}
Bool_t IsConst() const
{ return fFieldConstant; }
void PrintField(Double_t x, Double_t y, Double_t z) const
TEveVectorD GetFieldD(const TEveVectorD& v) const
{ return GetFieldD(v.fX, v.fY, v.fZ); }
TEveVectorD GetFieldD(Double_t x, Double_t y, Double_t z) const
 Track propgator uses only GetFieldD() and GetMaxFieldMagD(). Have to keep/reuse
 GetField() and GetMaxFieldMag() because of backward compatibility.
{ return GetField(x, y, z); }
Double_t GetMaxFieldMagD() const
{ return GetMaxFieldMag(); }
TEveVector GetField(Float_t , Float_t , Float_t ) const
{ return TEveVector(); }
Float_t GetMaxFieldMag() const
{ return 4; }
TEveMagField()
TEveTrackPropagator& operator=(const TEveMagField& )