Go to the documentation of this file.
7 #ifndef CBMMAGFIELDMAPDISTORTED_H
8 #define CBMMAGFIELDMAPDISTORTED_H 1
11 #include <RtypesCore.h>
35 const char* pfDistortionFilename,
36 const char* parentName,
37 const char* fileTypeParent =
"R",
38 Int_t pfTypeOfParent = 3);
57 const char* pfDistortionFilename,
58 const char* parentName =
"");
78 virtual Double_t
GetBx(Double_t
x, Double_t
y, Double_t z);
79 virtual Double_t
GetBy(Double_t
x, Double_t
y, Double_t z);
80 virtual Double_t
GetBz(Double_t
x, Double_t
y, Double_t z);
84 virtual void SetType(Int_t pfType = 0) { fType = pfType; }
96 const char* action_option =
99 const char* component_option =
"y",
100 const char* action_option =
"m");
102 const char* component_option =
"y",
103 const char* action_option =
"m");
113 virtual void Print(Option_t* =
"")
const;
116 virtual void SetPosition(Double_t
x, Double_t
y, Double_t z);
119 virtual void SetScale(Double_t factor);
122 void PlotBy(Int_t n = 250, Double_t zmin = -50, Double_t zmax = 450);
virtual Bool_t SetDistortionFormula(TFormula *parDistortionFormula, const char *component_option="y", const char *action_option="m")
virtual void SetType(Int_t pfType=0)
TFormula * fBxDistortionFormulaMult
CbmFieldMapDistorted & operator=(const CbmFieldMapDistorted &)
TFormula * fByDistortionFormulaAdd
TFormula * fBzDistortionFormulaAdd
virtual void SetFromParent(FairField *field)
virtual TFormula * GetDistortionFormula(const char *component_option="y", const char *action_option="m")
virtual void SetScale(Double_t factor)
TFormula * fBxDistortionFormulaAdd
TString fDistortionFilename
void PlotBy(Int_t n=250, Double_t zmin=-50, Double_t zmax=450)
virtual void Print(Option_t *="") const
CbmFieldMapDistorted(const CbmFieldMapDistorted &)
getter/setter options: ("z","m"), ("z","a")
TFormula * fByDistortionFormulaMult
getter/setter options: ("x","m"), ("x","a")
virtual const char * GetDistortionFilename()
virtual void SetPosition(Double_t x, Double_t y, Double_t z)
void WriteDistortionInformation(const char *filename=0)
TFormula * fBzDistortionFormulaMult
getter/setter options: ("y","m"), ("y","a")
virtual ~CbmFieldMapDistorted()
virtual Bool_t SetDistortionFilename(const char *filename)
virtual FairField * GetParent()
void ReadDistortionInformation(const char *filename=0)