Class Reference for E1039 Core & Analysis Software
PHFieldRegionalConst.h
Go to the documentation of this file.
1 
2 #ifndef __PHFieldRegionalConst_H__
3 #define __PHFieldRegionalConst_H__
4 
5 #include "PHField.h"
6 
7 #include <boost/tuple/tuple.hpp>
8 #include <boost/tuple/tuple_comparison.hpp>
9 
10 #include <map>
11 #include <string>
12 #include <vector>
13 
15 {
16  typedef boost::tuple<float, float> trio;
17 
18  public:
19  PHFieldRegionalConst(const double field = 5.0, const double magfield_rescale = 1.0, const int verb = 0);
20  virtual ~PHFieldRegionalConst() {}
25  void GetFieldValue(const double Point[4], double *Bfield) const;
26 
27  void identify(std::ostream& os = std::cout) const;
28 
29  double get_field_val() const {
30  return _field_val;
31  }
32 
33  void set_field_val(double fieldVal) {
34  _field_val = fieldVal;
35  }
36 
37  double get_maxr() const {
38  return _maxr;
39  }
40 
41  void set_maxr(double maxr) {
42  _maxr = maxr;
43  }
44 
45  double get_maxy() const {
46  return _maxy;
47  }
48 
49  void set_maxy(double maxy) {
50  _maxy = maxy;
51  }
52 
53  double get_mean_x() const {
54  return _mean_x;
55  }
56 
57  void set_mean_x(double meanX) {
58  _mean_x = meanX;
59  }
60 
61  double get_mean_y() const {
62  return _mean_y;
63  }
64 
65  void set_mean_y(double meanY) {
66  _mean_y = meanY;
67  }
68 
69  double get_mean_z() const {
70  return _mean_z;
71  }
72 
73  void set_mean_z(double meanZ) {
74  _mean_z = meanZ;
75  }
76 
77  double get_minr() const {
78  return _minr;
79  }
80 
81  void set_minr(double minr) {
82  _minr = minr;
83  }
84 
85  double get_miny() const {
86  return _miny;
87  }
88 
89  void set_miny(double miny) {
90  _miny = miny;
91  }
92 
93  protected:
94 
96  double _maxy, _miny;
97  double _maxr, _minr;
98  double _field_val;
99 };
100 
101 #endif // __PHFieldRegionalConst_H
void set_mean_y(double meanY)
void set_field_val(double fieldVal)
void set_miny(double miny)
double get_field_val() const
void set_maxr(double maxr)
void set_mean_z(double meanZ)
void set_mean_x(double meanX)
PHFieldRegionalConst(const double field=5.0, const double magfield_rescale=1.0, const int verb=0)
void set_minr(double minr)
void identify(std::ostream &os=std::cout) const
void GetFieldValue(const double Point[4], double *Bfield) const
void set_maxy(double maxy)
transient DST object for field storage and access
Definition: PHField.h:14