Class Reference for E1039 Core & Analysis Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PHFieldSeaQuest.h
Go to the documentation of this file.
1 #ifndef __PHFieldSeaQuest_H__
2 #define __PHFieldSeaQuest_H__
3 
4 #include "PHField.h"
5 #include "SQField3DCartesian.h"
6 #include "PHFieldRegionalConst.h"
7 
8 #include <map>
9 #include <set>
10 
12 class PHFieldSeaQuest : public PHField
13 {
14  public:
16  const std::string &fmag_name,
17  const std::string &kmag_name,
18  const double fmag_scale = 1.0,
19  const double kmag_scale = 1.0,
20  const double targermag_y = 5.0);
21  virtual ~PHFieldSeaQuest();
22 
27  void GetFieldValue(const double Point[4], double *Bfield) const;
28 
29  void identify(std::ostream& os = std::cout) const;
30 
31  protected:
32  float zValues[4];
33  float kmagZOffset;
34 
38 };
39 
40 #endif // __SQField3D_H
untested code - I don't know if this is being used, drop me a line (with the field) and I test this -...
void GetFieldValue(const double Point[4], double *Bfield) const
virtual ~PHFieldSeaQuest()
void identify(std::ostream &os=std::cout) const
SQField3DCartesian fmag
PHFieldRegionalConst targetmag
SQField3DCartesian kmag
PHFieldSeaQuest(const std::string &fmag_name, const std::string &kmag_name, const double fmag_scale=1.0, const double kmag_scale=1.0, const double targermag_y=5.0)
transient DST object for field storage and access
Definition: PHField.h:14