11#ifndef CBMMAGFIELDMAPDISTORTED_H
12#define CBMMAGFIELDMAPDISTORTED_H 1
17#include <RtypesCore.h>
38 CbmFieldMapDistorted(
const char* mapName,
const char* pfDistortionFilename,
const char* parentName,
39 const char* fileTypeParent =
"R", Int_t pfTypeOfParent = 3);
48 CbmFieldMapDistorted(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax,
49 Double_t bX, Double_t bY, Double_t bZ,
const char* mapName,
const char* pfDistortionFilename,
50 const char* parentName =
"");
70 virtual Double_t
GetBx(Double_t
x, Double_t
y, Double_t z);
71 virtual Double_t
GetBy(Double_t
x, Double_t
y, Double_t z);
72 virtual Double_t
GetBz(Double_t
x, Double_t
y, Double_t z);
76 virtual void SetType(Int_t pfType = 0) { fType = pfType; }
87 const char* action_option =
"m");
88 virtual Bool_t
SetDistortionFormula(TFormula* parDistortionFormula,
const char* component_option =
"y",
89 const char* action_option =
"m");
90 virtual Bool_t
SetDistortionFormula(
const char* parDistortionFormulaText,
const char* component_option =
"y",
91 const char* action_option =
"m");
101 virtual void Print(Option_t* =
"")
const;
104 virtual void SetPosition(Double_t
x, Double_t
y, Double_t z);
107 virtual void SetScale(Double_t factor);
110 void PlotBy(Int_t n = 250, Double_t zmin = -50, Double_t zmax = 450);
TFormula * fBxDistortionFormulaMult
TFormula * fByDistortionFormulaMult
getter/setter options: ("x","m"), ("x","a")
virtual void SetFromParent(FairField *field)
virtual void SetType(Int_t pfType=0)
TFormula * fBxDistortionFormulaAdd
virtual void SetPosition(Double_t x, Double_t y, Double_t z)
virtual TFormula * GetDistortionFormula(const char *component_option="y", const char *action_option="m")
CbmFieldMapDistorted & operator=(const CbmFieldMapDistorted &)
TString fDistortionFilename
CbmFieldMapDistorted(const CbmFieldMapDistorted &)
getter/setter options: ("z","m"), ("z","a")
virtual FairField * GetParent()
void ReadDistortionInformation(const char *filename=0)
TFormula * fByDistortionFormulaAdd
virtual const char * GetDistortionFilename()
TFormula * fBzDistortionFormulaAdd
virtual ~CbmFieldMapDistorted()
void PlotBy(Int_t n=250, Double_t zmin=-50, Double_t zmax=450)
void WriteDistortionInformation(const char *filename=0)
virtual void SetScale(Double_t factor)
virtual Bool_t SetDistortionFormula(TFormula *parDistortionFormula, const char *component_option="y", const char *action_option="m")
TFormula * fBzDistortionFormulaMult
getter/setter options: ("y","m"), ("y","a")
virtual void Print(Option_t *="") const
virtual Bool_t SetDistortionFilename(const char *filename)