FairRoot/PandaRoot
PndConstField.h
Go to the documentation of this file.
1 
9 #ifndef PNDCONSTFIELD_H
10 #define PNDCONSTFIELD_H 1
11 
12 
13 #include "FairField.h"
14 
15 
16 class PndConstPar;
17 
18 
19 class PndConstField : public FairField
20 {
21 
22  public:
23 
25  PndConstField();
26 
27 
35  PndConstField(const char* name, Double_t xMin, Double_t xMax,
36  Double_t yMin, Double_t yMax, Double_t zMin,
37  Double_t zMax, Double_t bX, Double_t bY, Double_t bZ);
38 
39 
42 
43 
45  virtual ~PndConstField();
46 
47 
48  void FillParContainer();
49 
50 
51 
57  void SetFieldRegion(Double_t xMin, Double_t xMax, Double_t yMin,
58  Double_t yMax, Double_t zMin, Double_t zMax);
59 
60 
64  void SetField(Double_t bX, Double_t bY, Double_t bZ);
65 
66 
74  virtual Double_t GetBy(Double_t x, Double_t y, Double_t z);
78  virtual Double_t GetBz(Double_t x, Double_t y, Double_t z);
82  virtual void GetBxyz(const Double_t point[3], Double_t* bField);
83 
84 
86  Double_t GetXmin() const { return fXmin; }
87  Double_t GetXmax() const { return fXmax; }
88  Double_t GetYmin() const { return fYmin; }
89  Double_t GetYmax() const { return fYmax; }
90  Double_t GetZmin() const { return fZmin; }
91  Double_t GetZmax() const { return fZmax; }
92 
93 
95  Double_t GetBx() const { return fBx; }
96  Double_t GetBy() const { return fBy; }
97  Double_t GetBz() const { return fBz; }
98 
99 
101  virtual void Print();
102 
104 
105  private:
106 
114 
119 
120 
121 
122 };
123 
124 
125 #endif
Double_t fYmin
Double_t fXmax
Double_t GetYmin() const
Definition: PndConstField.h:88
Double_t GetXmin() const
Definition: PndConstField.h:86
virtual void Print()
void SetFieldRegion(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax)
Double_t GetBx() const
Definition: PndConstField.h:95
Double_t GetZmax() const
Definition: PndConstField.h:91
ClassDef(PndConstField, 1)
Double_t GetZmin() const
Definition: PndConstField.h:90
Double_t
void SetField(Double_t bX, Double_t bY, Double_t bZ)
PndMultiFieldPar * fieldPar
Definition: sim_ftof.C:102
Double_t fZmin
Double_t GetBz() const
Definition: PndConstField.h:97
Double_t z
void FillParContainer()
TString name
virtual ~PndConstField()
Double_t x
Double_t fXmin
Double_t fYmax
Double_t GetYmax() const
Definition: PndConstField.h:89
Double_t fZmax
Double_t y
virtual void GetBxyz(const Double_t point[3], Double_t *bField)
Double_t GetBy() const
Definition: PndConstField.h:96
Double_t GetXmax() const
Definition: PndConstField.h:87
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72