Class Reference for E1039 Core & Analysis Software
PHFieldUniform.h
Go to the documentation of this file.
1 
2 #ifndef __PHFieldUniform_H__
3 #define __PHFieldUniform_H__
4 
5 #include "PHField.h"
6 
7 #include <map>
8 #include <string>
9 #include <vector>
10 
11 class PHFieldUniform : public PHField
12 {
13  public:
16  double field_mag_x,
17  double field_mag_y,
18  double field_mag_z);
19  virtual ~PHFieldUniform() {}
24  void GetFieldValue(const double Point[4], double *Bfield) const;
25 
26  double get_field_mag_x() const
27  {
28  return field_mag_x_;
29  }
30 
31  void set_field_mag_x(double fieldMagX)
32  {
33  field_mag_x_ = fieldMagX;
34  }
35 
36  double get_field_mag_y() const
37  {
38  return field_mag_y_;
39  }
40 
41  void set_field_mag_y(double fieldMagY)
42  {
43  field_mag_y_ = fieldMagY;
44  }
45 
46  double get_field_mag_z() const
47  {
48  return field_mag_z_;
49  }
50 
51  void set_field_mag_z(double fieldMagZ)
52  {
53  field_mag_z_ = fieldMagZ;
54  }
55 
56  protected:
57  double field_mag_x_;
58  double field_mag_y_;
59  double field_mag_z_;
60 
61  private:
62 };
63 
64 #endif // __PHFieldUniform_H
void set_field_mag_y(double fieldMagY)
void set_field_mag_x(double fieldMagX)
double get_field_mag_y() const
PHFieldUniform(double field_mag_x, double field_mag_y, double field_mag_z)
construct field map in constant in units of Tesla
virtual ~PHFieldUniform()
void set_field_mag_z(double fieldMagZ)
double get_field_mag_z() const
void GetFieldValue(const double Point[4], double *Bfield) const
double get_field_mag_x() const
transient DST object for field storage and access
Definition: PHField.h:14