Class Reference for E1039 Core & Analysis Software
Field.hh
Go to the documentation of this file.
1 #ifndef Field_H
2 #define Field_H 1
3 
4 #include <globals.hh>
5 #include <G4SystemOfUnits.hh>
6 #include <G4MagneticField.hh>
7 #include <fstream>
8 #include <cstdlib>
9 #include <unistd.h>
10 #include "TabulatedField3D.hh"
11 
12 class Field : public G4MagneticField
13 {
14  public:
15  Field(Settings*);
16  ~Field();
17 
18  void GetFieldValue(const double Point[3], double *Bfield) const;
19 
20  private:
21  Settings* mySettings;
22  G4double zValues[4];
23  G4MagneticField* Mag1Field;
24  G4MagneticField* Mag2Field;
25 };
26 
27 #endif
Definition: Field.hh:13
~Field()
Definition: Field.cc:58
Field(Settings *)
Definition: Field.cc:9
void GetFieldValue(const double Point[3], double *Bfield) const
Definition: Field.cc:62